How to Check Database Size and Largest Tables in MySQL 8.0
Diagnostic SELECT queries against INFORMATION_SCHEMA to estimate database, data, and index sizes in MySQL 8.0, with an explanation of InnoDB limitations.
Аккаунт в General iT
Войдите или создайте аккаунт для управления услугами в личном кабинете.
Страны не найдены. Попробуйте другое название или код.
Practical tips and verified solutions for Linux, servers and websites.
Diagnostic SELECT queries against INFORMATION_SCHEMA to estimate database, data, and index sizes in MySQL 8.0, with an explanation of InnoDB limitations.
Check available memory and swap usage with free and vmstat to avoid mistaking useful file cache for a leak.
We separately verify the local certificate and what the server actually serves: validity period, hostname, and chain trust require distinct checks.
We verify the package using dpkg-query and apt-cache policy, distinguishing between the installed version, the candidate for update, and the actual source of the running process.
Check TCP and UDP via ss, analyze the binding address, and distinguish a local listening socket from service availability from the internet.
How to find an open deleted file using lsof and verify space reclamation. A real test with two file descriptors: why du decreases immediately, but available space reported by df only grows after the last FD is closed.
We examine latency, queue depth, and I/O operations, accounting for SSDs, virtual disks, and the difference between the first report and subsequent intervals.
We test connection, login, and table reading separately. A real MySQL 8.0.46 testbed demonstrates the differences between errors 2003, 1045, and 1142, as well as a successful ping.
We compare the checksum of a downloaded archive against a trusted value and explain what this verification proves and what it does not confirm.
Use namei and stat to check the entire file path, owner, and access mode before changing the site directory permissions.
How to use timedatectl to distinguish between a time zone error and clock desynchronization, and gather data before manually adjusting the time.
A quick HTTP check with a timeout: distinguish connection errors from server responses and do not treat cumulative timings as independent stages.
Page 4 of 6