MySQL: Guides and Practical Know-how | Page 7 | mironsoft Blog
MySQL
-
Jul 18, 2025
The sys schema translates the cryptic raw data of the Performance Schema into readable views with plain names, formatted time and byte figures, and sensibly pre-filtered results. Anyone who does not want to write a new JOIN query against performance_schema every single day finds the faster path to the same insight here.
-
Jul 18, 2025
A Galera Cluster allows writes on multiple nodes at the same time and replicates synchronously instead of catching up asynchronously like classic MySQL replication. That makes failover almost invisible, but comes with certification-based replication, flow control and quorum rules that must be understood before going to production.
-
Jul 11, 2025
Without consistent table archiving, quote and sales_order accumulate millions of orphaned cart rows and years of order history that slow down every query and inflate backups. A well designed archiving strategy separates active transactional data from historical data without endangering referential integrity or compliance requirements.
-
Jul 11, 2025
MySQL and MariaDB are often treated as interchangeable because MariaDB started as a fork of MySQL. For years now, window functions, the JSON implementation, replication mechanisms and optimizer behavior have been visibly drifting apart, and anyone who makes the wrong assumptions during deployment ends up facing incompatible SQL syntax or unexpected replication behavior in production.
-
Jul 1, 2025
The disk I/O scheduler on Linux decides in what order read and write requests get passed to the block device, long before MySQL itself notices anything. On NVMe storage, the wrong choice can cost more latency than any MySQL configuration change could ever save.
-
Jun 29, 2025
PhpStorm ships with a full database client, complete with SQL autocompletion, EXPLAIN PLAN visualization, schema diff and query analysis. Anyone who knows these tools no longer needs to open TablePlus, DBeaver or Sequel Pro.
-
Jun 23, 2025
MySQL replication determines how many transactions can be lost in a failure and how stale the data an application reads can become. Understanding the difference between asynchronous and semi-synchronous replication, binlog processing and replication lag lets you tune a topology for actual consistency requirements instead of relying on defaults.
-
Jun 20, 2025
Read replicas promise more read capacity without bigger hardware, but blindly distributing reads across replicas earns you stale data and hard-to-reproduce bugs. Only a deliberate read/write splitting strategy with a clear consistency approach makes MySQL read replicas a reliable building block for scaling.
-
Jun 20, 2025
Poorly sized connection pooling leads either to too many connections errors under load or to wasted resources from thousands of unused idle connections. This article shows how to correctly size max_connections, how wait_timeout and interactive_timeout work together, how to align PHP-FPM pool size with the MySQL connection limit, and when an external connection pooler such as ProxySQL makes sense.
-
May 31, 2025
A MySQL failover that loses data or blocks the application for minutes when it matters is not a safety net, it is an added risk. Distinguishing planned from unplanned failover, consistently using GTID, and testing failover regularly turns an abstract emergency plan into a reliable operational process.