JusDB
Free DB Audit
MySQL

MySQL High CPU Usage: Find the Cause and Fix It

Trace MySQL 8.4 and 8.0 high CPU usage from top -H to the exact statement, using performance_schema thread IDs, sys views and digest deltas, then fix it with a runbook.

JusDB Team
Published September 15, 2026
21 min read

The CPU graph for your MySQL 8.4 primary sits at 95 percent, queries that took 20 milliseconds now take two seconds, and the application team wants to know which query did it. Restarting mysqld clears the symptom and destroys the evidence, because the Performance Schema counters you need live in memory. High CPU in MySQL almost always comes from one of a short list of causes: a query that reads far more rows than it returns, sorts and temporary tables, InnoDB threads spinning on a contended latch, too many sessions running at once, or a replica's applier threads. This guide walks the triage in a fixed order, from the operating system down to the statement digest, with the query to run at each step and what its output means.

TL;DR
  • Confirm the CPU belongs to mysqld, then use top -H to find the hottest OS threads and map them to sessions through performance_schema.threads.THREAD_OS_ID.
  • Read what is running now from sys.processlist, and what has used the most time from events_statements_summary_by_digest, ideally as a 60-second delta.
  • A high ratio of rows examined to rows sent points to full scans and missing indexes: check sys.statements_with_full_table_scans and run EXPLAIN.
  • If CPU is high but no query looks expensive, check the SEMAPHORES section of SHOW ENGINE INNODB STATUS and Threads_running for latch contention and oversubscription.
  • Fix the top digest first. Variable changes such as innodb_spin_wait_delay come after the query work, not before.

Scope and review date: November 2026. Covers self-managed MySQL 8.4 LTS and MySQL 8.0, which Oracle moved to Sustaining Support on April 21, 2026, so plan the upgrade alongside the fix. Column names, defaults and views were checked against the MySQL 8.4 reference manual and the 8.0.28 release notes. The commands were not run in a lab, so try them on a staging copy first. Amazon RDS has its own CPU tooling and is not covered here.


Is mysqld really the process using the CPU?

Start at the operating system. A backup job, a log shipper, or a noisy neighbor on a virtual machine can push the host to 100 percent while MySQL is only a victim. Check which process owns the CPU and how that time splits between user, system, I/O wait, and steal.

bash
# Which processes use the CPU, and how the time splits
top -b -n 1 -o %CPU | head -15

# Per-core breakdown every 5 seconds: %usr, %sys, %iowait, %steal
mpstat -P ALL 5 3

Interpretation: if mysqld is the top process and most of the time is %usr, MySQL is doing real work: parsing, scanning rows, sorting, or spinning. High %sys suggests context switching from too many threads or memory pressure. High %iowait is a disk problem that shows up on the CPU graph, and high %steal means the hypervisor is giving your cycles to someone else. Only the first two belong in the rest of this guide.

A mysqld reading above 100 percent in top is normal: it counts every core, so 800 percent on a 16-core host is half the machine.

Which MySQL thread is burning the CPU?

MySQL runs one process with many threads: one per client connection by default, plus InnoDB background threads, purge threads, and replication threads. top -H shows them one by one. The number in the PID column of that view is the Linux thread ID. Since MySQL 8.0.27, mysqld also exports its thread names to the operating system (8.0.27 release notes), so client threads show up as connection and InnoDB threads with an ib_ prefix.

bash
# Thread view of mysqld only, sorted by CPU
top -H -b -n 1 -p "$(pidof mysqld)" | head -20

# Same data with ps, if top is not available
ps -L -o tid,pcpu,comm -p "$(pidof mysqld)" --sort=-pcpu | head -15

top -H on a busy mysqld

Illustrative output: the thread IDs and percentages are examples, not a measurement

dba@db-01:~
$ top -H -b -n 1 -p "$(pidof mysqld)" | head -12 PID USER PR NI RES S %CPU %MEM TIME+ COMMAND 41872 mysql 20 0 52.1g R 98.7 81.2 12:41.07 connection 41903 mysql 20 0 52.1g R 97.9 81.2 11:58.33 connection 41911 mysql 20 0 52.1g R 96.4 81.2 9:12.80 connection 2214 mysql 20 0 52.1g S 12.3 81.2 301:15.22 ib_pg_flush_co 2230 mysql 20 0 52.1g S 4.1 81.2 88:02.47 ib_srv_purge

Read it this way: three client threads each hold a full core, and InnoDB background threads are low. That pattern points at queries, so map the three IDs to sessions in the next step.

Now map the Linux thread IDs to MySQL. The performance_schema.threads table has a THREAD_OS_ID column, which on Linux "corresponds to the value of the gettid() function", the same ID top -H and ps -L print.

sql
SELECT t.THREAD_OS_ID, t.THREAD_ID, t.NAME,
       t.PROCESSLIST_ID, t.PROCESSLIST_USER, t.PROCESSLIST_HOST,
       t.PROCESSLIST_COMMAND, t.PROCESSLIST_TIME,
       LEFT(t.PROCESSLIST_INFO, 120) AS current_sql
FROM performance_schema.threads AS t
WHERE t.THREAD_OS_ID IN (41872, 41903, 41911);

Interpretation: a NAME of thread/sql/one_connection is a client session, and PROCESSLIST_ID is the connection ID you would pass to KILL. A name under thread/innodb/ is a background thread, and its PROCESSLIST_ID is NULL. If THREAD_OS_ID is NULL for client sessions, you are probably running a thread pool, where a session does not keep one OS thread for its lifetime.

What is running on MySQL right now?

Next, look at every active session, not only the three hottest threads. The sys.processlist view gives more than SHOW PROCESSLIST: rows examined, full scans, temporary tables and CPU time per statement. The manual describes it as nonblocking.

sql
SELECT conn_id, user, db, command, state, time,
       statement_latency, cpu_latency, rows_examined, rows_sent,
       full_scan, tmp_disk_tables,
       LEFT(current_statement, 100) AS current_statement
FROM sys.processlist
WHERE command <> 'Sleep' AND conn_id IS NOT NULL
ORDER BY time DESC
LIMIT 20;

Interpretation: look for the same normalized statement repeated across many rows. Twenty copies of one query, each examining millions of rows, is the classic CPU spike. A single long statement with a huge rows_examined is a runaway report or a bad plan. If most rows show short statements and no single query stands out, the cause is concurrency or contention, covered further down.

Pair it with the server-wide counters, sampled as deltas so you see the rate during the spike rather than totals since startup.

bash
# Relative values (-r) every 10 seconds (-i 10)
mysqladmin -r -i 10 extended-status | grep -E \
  'Threads_running|Questions |Select_scan|Select_full_join|Handler_read_rnd_next|Created_tmp_disk_tables|Sort_merge_passes'

Interpretation: the first sample is the total since startup, so ignore it. A jump in Handler_read_rnd_next (rows read in table-scan order) or Select_full_join during the spike points to scans. A rising Threads_running with a flat Questions rate means sessions are piling up rather than finishing. Definitions are in the server status variables reference.

Which queries use the most CPU over time?

The processlist shows a moment. The statement digest table shows history: events_statements_summary_by_digest groups statements by normalized text and adds up their time, rows, scans, sorts and temporary tables. Timer columns are in picoseconds, so divide by 1012 for seconds.

sql
SELECT SCHEMA_NAME,
       LEFT(DIGEST_TEXT, 90) AS query,
       COUNT_STAR AS calls,
       ROUND(SUM_TIMER_WAIT / 1e12, 1) AS total_s,
       ROUND(SUM_CPU_TIME / 1e12, 1) AS cpu_s,
       SUM_ROWS_EXAMINED AS rows_examined,
       SUM_ROWS_SENT AS rows_sent,
       ROUND(SUM_ROWS_EXAMINED / NULLIF(SUM_ROWS_SENT, 0)) AS examined_per_sent,
       SUM_NO_INDEX_USED AS no_index
FROM performance_schema.events_statements_summary_by_digest
WHERE SCHEMA_NAME IS NOT NULL
ORDER BY SUM_TIMER_WAIT DESC
LIMIT 10;

Interpretation: the top rows by total time are your candidates. An examined_per_sent in the thousands means the query reads far more than it returns, which is CPU spent on rows nobody wanted. SUM_CPU_TIME was added in MySQL 8.0.28, and the 8.0.28 release notes say the events_statements_cpu consumer that feeds it is disabled by default. If cpu_s reads zero, enable it and sort by total time in the meantime.

sql
UPDATE performance_schema.setup_consumers
SET ENABLED = 'YES'
WHERE NAME = 'events_statements_cpu';

The digest counters are cumulative since startup or the last TRUNCATE, so a query that ran all month can outrank the one causing today's spike. Take a 60-second delta instead of truncating, which would wipe history other people may need.

sql
CREATE TEMPORARY TABLE digest_t0 AS
SELECT SCHEMA_NAME, DIGEST, COUNT_STAR, SUM_TIMER_WAIT, SUM_ROWS_EXAMINED
FROM performance_schema.events_statements_summary_by_digest;

DO SLEEP(60);

SELECT d.SCHEMA_NAME, LEFT(d.DIGEST_TEXT, 90) AS query,
       d.COUNT_STAR - t0.COUNT_STAR AS calls_60s,
       ROUND((d.SUM_TIMER_WAIT - t0.SUM_TIMER_WAIT) / 1e12, 1) AS time_s_60s,
       d.SUM_ROWS_EXAMINED - t0.SUM_ROWS_EXAMINED AS rows_examined_60s
FROM performance_schema.events_statements_summary_by_digest AS d
JOIN digest_t0 AS t0
  ON t0.DIGEST = d.DIGEST AND t0.SCHEMA_NAME <=> d.SCHEMA_NAME
ORDER BY time_s_60s DESC
LIMIT 10;

Interpretation: this is the CPU budget of the last minute, ranked. If one digest owns most of time_s_60s, you have found the spike. For a quick view of the slowest outliers, sys.statements_with_runtimes_in_95th_percentile lists statements whose average latency is in the top 5 percent, sorted by average latency, with full_scan and rows_examined_avg columns alongside.

From a CPU graph to the statement that caused it

Each step narrows the search; stop at the first one that names a cause

MySQL high CPU triage path Step 1: top and mpstat confirm that mysqld owns the CPU and in which mode. Step 2: top -H finds the hottest threads, which performance_schema.threads maps to sessions through THREAD_OS_ID. Step 3: sys.processlist shows what those sessions are running now. Step 4: the statement digest table ranks queries by time over a 60-second delta, which leads to EXPLAIN and the fix. Host CPU top, mpstat Hot threads THREAD_OS_ID Live sessions sys.processlist Digest delta top statements 1 2 3 4 usr or sys? which session? what SQL now? what SQL overall? no expensive query found: check latch contention and Threads_running

Order matters: collect steps 1 to 4 before you kill or restart anything, because a restart resets the Performance Schema counters that steps 2 to 4 read.

Are full table scans and missing indexes the cause?

The most common reason a MySQL server runs hot is a query that scans a table or a large index range to return a few rows. Every row read costs CPU even when the data is in the buffer pool, so a scan that needed no disk can still pin a core. The sys.statements_with_full_table_scans view lists statements that ran without an index, sorted by the percentage of executions that did so and then by total latency.

sql
SELECT db, LEFT(query, 90) AS query, exec_count, total_latency,
       no_index_used_count, no_good_index_used_count,
       no_index_used_pct, rows_examined_avg, rows_sent_avg
FROM sys.statements_with_full_table_scans
WHERE db NOT IN ('mysql', 'sys', 'performance_schema')
LIMIT 15;

Interpretation: a statement with a high exec_count, no_index_used_pct near 100, and rows_examined_avg far above rows_sent_avg is the target. A scan of a 50-row lookup table is harmless, so weigh the percentage against total_latency. no_good_index_used_count means MySQL found no suitable index and fell back to checking ranges row by row.

Take the full text of the worst statement and look at its plan. EXPLAIN ANALYZE runs the query, so use plain EXPLAIN on the primary during an incident and save ANALYZE for a replica.

sql
EXPLAIN FORMAT=TREE
SELECT id, status, total
FROM shop.orders
WHERE customer_id = 48213 AND created_at >= '2026-09-01'
ORDER BY created_at DESC
LIMIT 20;

Interpretation: "Table scan on orders" or a large row estimate in front of a filter means no usable index. A composite index on (customer_id, created_at) would let MySQL read only the matching rows in order and skip the sort. Our guide to reading EXPLAIN plans covers the plan nodes in detail.

Build the index without a second incident

Adding a secondary index on InnoDB is an online operation, but it reads the whole table and competes for the same CPU. On a saturated server, kill or throttle the bad query first, then build the index during a quieter period or with a tool that copies in small chunks.

Are sorts and temporary tables burning CPU?

ORDER BY on an unindexed column, GROUP BY, DISTINCT and UNION make MySQL sort rows or build internal temporary tables. Small ones stay in memory and are cheap. Large ones spill to disk, and sorts that do not fit the sort buffer run multiple merge passes. Two sys views pick these statements out of the digest table.

sql
-- Statements that sort the most rows
SELECT db, LEFT(query, 90) AS query, exec_count, total_latency,
       rows_sorted, sort_merge_passes, sorts_using_scans
FROM sys.statements_with_sorting
LIMIT 10;

-- Statements that create temporary tables, and how many go to disk
SELECT db, LEFT(query, 90) AS query, exec_count, total_latency,
       memory_tmp_tables, disk_tmp_tables, tmp_tables_to_disk_pct
FROM sys.statements_with_temp_tables
LIMIT 10;

Interpretation: a statement that sorts millions of rows to return 20 wants an index that already delivers rows in the right order. A high tmp_tables_to_disk_pct means temporary tables outgrow memory. Raising tmp_table_size or sort_buffer_size globally treats the symptom and multiplies memory per session, so fix the query or the index first, and raise a buffer only for the session that needs it.

Is the CPU spent spinning on InnoDB latches?

Sometimes the CPU is pinned at high %usr, many sessions are running, and yet no single query examines many rows. That pattern often means threads are spinning while they wait for an InnoDB mutex or rw-lock. A spinning thread burns CPU doing no useful work, so throughput falls as CPU rises. The evidence is in the SEMAPHORES section of the InnoDB monitor.

sql
SHOW ENGINE INNODB STATUS\G
-- Read the SEMAPHORES block; run it twice, 30 seconds apart

SHOW ENGINE INNODB MUTEX;

Interpretation: the standard monitor documentation says this section reports threads waiting for a semaphore and how often threads needed a spin or an OS wait, and that "a large number of threads waiting for semaphores may be a result of disk I/O, or contention problems inside InnoDB". Compare the OS waits counters between the two samples, and look for lines saying a thread has waited a long time at a named source file. Those file names tell you which structure is contended.

The OS view confirms it. perf top -p "$(pidof mysqld)" showing a large share of time in ut_delay, InnoDB's spin-wait loop, means threads are polling locks rather than running queries.

Two InnoDB variables control the spin. innodb_spin_wait_delay (default 6) sets the maximum delay between polls, and innodb_spin_wait_pause_multiplier (default 50) scales the PAUSE instructions in each loop. The spin lock polling page suggests a lower delay on systems where all cores share a fast cache, a higher delay on multi-socket systems, and a lower multiplier on processors with a comparatively long PAUSE instruction. Both are dynamic.

sql
SELECT @@innodb_spin_wait_delay, @@innodb_spin_wait_pause_multiplier,
       @@innodb_thread_concurrency, @@innodb_adaptive_hash_index;

-- Test one change at a time, then compare throughput and OS waits
SET GLOBAL innodb_spin_wait_delay = 12;

Interpretation: treat these as experiments with a rollback value written down. The adaptive hash index is a common contention point on read-heavy 8.0 servers: it is OFF by default in 8.4 but was on by default before 8.4, so a server upgraded with an old config file may still run it. If the semaphore waits name the adaptive hash index, test with it off.

Three CPU signatures and where each one shows up

Switch between causes to compare what the same checks return

Scans and bad plans

CheckWhat you see
top -HA few client threads near 100 percent each
sys.processlistSame statement repeated, high rows_examined
Digest deltaOne or two digests own most of the time
SEMAPHORESQuiet
Threads_runningModerate, rising as queries slow down
First fixIndex or rewrite the top digest

Latch contention

CheckWhat you see
top -HMany client threads at similar, partial CPU
sys.processlistShort statements, low rows_examined
Digest deltaTime spread across many cheap digests
SEMAPHORESOS waits climbing, long waits at one source file
Threads_runningHigh, often above the core count
First fixFind the hot structure; test spin and AHI settings

Too many sessions

CheckWhat you see
top -HHundreds of threads, high %sys share
sys.processlistHundreds of active rows, many waiting
Digest deltaNormal per-call cost, very high call counts
SEMAPHORESSome waits, rising with session count
Threads_runningSeveral times the core count
First fixPool connections and cap concurrency

Rule of thumb: if one digest dominates the delta, it is a query problem whatever else you see. Contention and session tuning come after the expensive query is ruled out.

Are too many connections or threads the problem?

By default MySQL gives every connection its own thread. When far more threads are running than there are cores, the kernel spends time switching between them and InnoDB spends time on contended latches. The thread pool chapter lists exactly these costs: CPU caches lose effect, "context switching overhead is high", and more parallel transactions hold central InnoDB mutexes longer.

sql
SHOW GLOBAL STATUS
WHERE Variable_name IN ('Threads_connected', 'Threads_running',
                        'Threads_created', 'Connections',
                        'Max_used_connections');

SELECT user, host, COUNT(*) AS sessions,
       SUM(command <> 'Sleep') AS active
FROM sys.processlist
WHERE conn_id IS NOT NULL
GROUP BY user, host
ORDER BY active DESC
LIMIT 10;

Interpretation: Threads_running is the number that matters, not Threads_connected. Hundreds of idle connections cost memory but little CPU, while Threads_running several times the core count during the spike means sessions are competing for CPU. The second query shows which application host or user opened them. A fast-rising Threads_created means connections are opened and closed constantly, which costs CPU on its own.

The fixes, roughly in order of effort:

  • Pool connections in the application or a proxy, and cap the pool so it cannot open more sessions than the server can run.
  • Lower innodb_thread_concurrency from its default of 0 (no limit). The InnoDB monitor documentation names this as a possible help when parallelism causes contention. Change it in small steps and watch throughput.
  • Use a thread pool. In Oracle's builds it is MySQL Enterprise Thread Pool, part of the commercial Enterprise Edition. Percona Server for MySQL 8.4 builds a thread pool into the server, enabled with thread_handling=pool-of-threads and a restart, with thread_pool_size defaulting to the number of processors.

Connection limits themselves are covered in our max_connections tuning guide.

Can the replication applier cause high CPU on a replica?

Yes. On a replica, top -H may show the hottest threads are applier workers rather than client sessions. In MySQL 8.4, replica_parallel_workers defaults to 4, so a replica applies changes on several threads by default, per the replica options reference. Map the workers to OS threads with the same THREAD_OS_ID technique.

sql
SELECT w.WORKER_ID, t.THREAD_OS_ID, w.SERVICE_STATE,
       w.APPLYING_TRANSACTION,
       w.APPLYING_TRANSACTION_START_APPLY_TIMESTAMP
FROM performance_schema.replication_applier_status_by_worker AS w
JOIN performance_schema.threads AS t ON t.THREAD_ID = w.THREAD_ID;

Interpretation: a worker whose OS thread is hot and whose APPLYING_TRANSACTION_START_APPLY_TIMESTAMP is minutes old is stuck on one large transaction. With row-based replication, a bulk UPDATE or DELETE on a table without a primary key or unique index makes the applier search the table for every row change, which can keep a core busy for a long time. Find those tables before they cause the next incident.

sql
SELECT t.TABLE_SCHEMA, t.TABLE_NAME, t.TABLE_ROWS
FROM information_schema.TABLES AS t
LEFT JOIN information_schema.TABLE_CONSTRAINTS AS c
  ON c.TABLE_SCHEMA = t.TABLE_SCHEMA
 AND c.TABLE_NAME = t.TABLE_NAME
 AND c.CONSTRAINT_TYPE IN ('PRIMARY KEY', 'UNIQUE')
WHERE t.TABLE_TYPE = 'BASE TABLE'
  AND t.TABLE_SCHEMA NOT IN ('mysql', 'sys', 'performance_schema', 'information_schema')
  AND c.CONSTRAINT_NAME IS NULL
ORDER BY t.TABLE_ROWS DESC;

Interpretation: every table in this list is a replication risk in proportion to its size. Adding a primary key is the fix. Replicas also run read traffic, so run the digest checks above on each replica, not only on the primary. Lag that follows a CPU spike is covered in our replication lag guide.

What is the step-by-step runbook for a MySQL CPU spike?

Under pressure, the order is what matters: gather evidence before you change anything, then relieve the server, then fix the cause. This runbook fits on one screen during an incident. If the same spike keeps coming back, our MySQL consultants can do a read-only review of the digests and settings behind it.

MySQL high CPU runbook

Eight steps; steps 1 to 4 only read, step 5 is the first change

  1. Confirm mysqld owns the CPU

    Check user, system, I/O wait and steal time. Steal or I/O wait is not a query problem.

    mpstat -P ALL 5 3
  2. Find and map the hottest threads

    Note the top thread IDs, then look them up by THREAD_OS_ID in performance_schema.threads.

    top -H -b -n 1 -p "$(pidof mysqld)" \ | head -20
  3. Capture the live sessions

    Save sys.processlist and SHOW ENGINE INNODB STATUS to a file before anything changes.

    mysql -e "SELECT * FROM sys.processlist \ WHERE command <> 'Sleep'" > plist.txt
  4. Rank statements over 60 seconds

    Run the digest delta query. One digest owning most of the time is your cause.

  5. Relieve the server

    Kill the runaway statements by connection ID, or pause the job that sends them. KILL QUERY stops the statement and keeps the connection.

    KILL QUERY 1842;
  6. Fix the top digest

    EXPLAIN it, add the missing index or rewrite it. Test on a replica first.

  7. If no query dominates, check contention

    Read SEMAPHORES and Threads_running. Cap connection pools before touching spin variables.

  8. Keep a baseline

    Record the digest top 10 on a normal day so the next spike has something to compare against.

Main risk: restarting mysqld in step 1 clears the Performance Schema and the buffer pool. The spike usually returns when traffic does, and you no longer have the data to explain it.

For slow queries that build up gradually rather than all at once, the slow query log gives a longer record than the digest table. Our slow query log and pt-query-digest guide shows how to turn it into a ranked report.

Frequently asked questions

Why is MySQL using 100 percent CPU?

Usually because one or a few queries read far more rows than they return, often through a full table scan or a missing index. Less often the cause is large sorts, InnoDB latch contention, too many sessions running at once, or a replica applying a large transaction. Rank statements with the Performance Schema digest table to see which applies before changing any settings.

How do I find which query is causing high CPU in MySQL?

Run top -H on the mysqld process to find the hottest thread IDs, then match them to the THREAD_OS_ID column of performance_schema.threads, which gives the connection ID and current statement. For a wider view, rank performance_schema.events_statements_summary_by_digest by SUM_TIMER_WAIT over a 60-second delta.

Does MySQL Community Edition have a thread pool?

Oracle's thread pool, MySQL Enterprise Thread Pool, ships with the commercial MySQL Enterprise Edition. Percona Server for MySQL 8.4 includes a built-in thread pool enabled with thread_handling=pool-of-threads. On Community Edition, the usual alternatives are connection pooling in the application or a proxy, and limiting innodb_thread_concurrency.

Should I change innodb_spin_wait_delay to reduce CPU?

Only after you have ruled out expensive queries and confirmed latch contention in the SEMAPHORES section of SHOW ENGINE INNODB STATUS. The default is 6. The MySQL manual suggests lower values where all cores share a fast cache and higher values on multi-socket systems. Change one value at a time and measure throughput.

Is it safe to restart MySQL to fix high CPU?

It relieves the symptom but rarely fixes the cause. A restart clears the Performance Schema statistics and empties the buffer pool, so the server runs slower while it warms up and the query that caused the spike usually returns with traffic. Capture the processlist, InnoDB status and digest data first, and kill the specific statements instead.

Key takeaways

  • Triage in order: host CPU, hot threads mapped through THREAD_OS_ID, live sessions in sys.processlist, then a 60-second digest delta.
  • A high ratio of rows examined to rows sent is the most common cause. Fix it with an index or a rewrite, confirmed by EXPLAIN.
  • Sorts and disk temporary tables show up in sys.statements_with_sorting and sys.statements_with_temp_tables; fix the query before raising buffers.
  • High CPU with cheap queries points to latch contention or too many running threads: read SEMAPHORES, cap connection pools, then test spin settings.
  • Capture evidence before a restart, and plan the move off MySQL 8.0, which left Oracle's regular support in April 2026.

Bring MySQL CPU back under control with JusDB

JusDB's MySQL performance tuning team can review your statement digests, query plans, indexes and InnoDB settings, and set up a baseline so the next CPU spike can be traced in minutes rather than guessed at.

Bring your slow query log, a Performance Schema snapshot and your configuration file. Your team approves every production change.

Share this article

Database engineering notes

Articles like this one, in your inbox. No spam, unsubscribe anytime.

JusDB Team

Official JusDB content team

Keep reading

MySQL Backup Tools in 2026: What to Use on 8.4, 9.7 and RDS

Compare MySQL backup tools for 8.4, 9.7 and RDS: mysqldump, MySQL Shell, mydumper, XtraBackup, Enterprise Backup, clone and binlog streaming, with commands and a restore test.

MySQL20 minNov 11, 2026
Read

MySQL Shell Dump and Load Utilities vs mydumper

Compare MySQL Shell 26.10 dump and load with mydumper 1.0 on locking, chunking, managed targets, deferred indexes, resume, and GTIDs, with commands for each step.

MySQL17 minNov 7, 2026
Read

MySQL 26.7 and Calendar Versioning: Which MySQL Should You Run Now?

Learn how MySQL 26.7 and 26.10 calendar versions work, how LTS and Innovation tracks differ, which upgrade paths are allowed, and which MySQL version to run in 2026.

MySQL18 minOct 30, 2026
Read