MySQL Replication Lag and Read-After-Write Consistency in Applications
Quick answer: MySQL replication is asynchronous by default, so a replica can lag behind the source and return stale data. Measure lag with a heartbeat rather...
Category
Fixes for connection limits, query performance, and encoding issues in MySQL.
Quick answer: MySQL replication is asynchronous by default, so a replica can lag behind the source and return stale data. Measure lag with a heartbeat rather...
Quick answer: InnoDB supports many schema changes online, meaning reads and writes continue during the operation, but the exact behavior depends on the...
Quick answer: the InnoDB buffer pool caches table and index pages in memory and is the most important memory setting on a MySQL server. On a dedicated database...
Direct answer: Binary logs can replay changes after a consistent backup to a selected point. The correct decision about mysql binary log recovery requires...
Direct answer: Cascade actions can affect many dependent rows in one logical statement. The correct decision about mysql foreign key cascades requires clear...
Direct answer: EXPLAIN describes optimizer estimates without necessarily executing the query. The correct decision about mysql explain analyze comparison...
Direct answer: A report may execute several reads while transactional data changes. Select an approach based on the service's required behavior and a realistic...
Direct answer: Invisible indexes are maintained but generally excluded from optimizer plans. Select an approach based on the service's required behavior and a...
Direct answer: Generated columns keep derived values tied to database expressions. Select an approach based on the service's required behavior and a realistic...