What does a MySQL consultant do?
A MySQL consultant diagnoses and fixes the database your application runs on: slow queries, high CPU, connection errors, deadlocks, replication lag, failover and backups. They also plan version upgrades, scale the database as data grows, and move MySQL to a managed service, to MariaDB or to PostgreSQL. DharmOps also stays on to support the database after the work is done.
What is the difference between MySQL LTS and Innovation releases?
LTS (long-term support) releases only receive necessary fixes, and features are added or removed only in the first release of a new LTS series. Each LTS gets five years of Premier support and three years of Extended support. Innovation releases bring new features and behaviour changes, including removals, and are supported only until the next Innovation release. Both are production quality.
What breaks when upgrading to a new MySQL LTS version?
Anything that relied on features removed in that series. In MySQL 8.4, for example, the old replication statements such as CHANGE MASTER TO, START SLAVE and SHOW SLAVE STATUS were removed, mysql_native_password stopped being enabled by default, and several InnoDB defaults changed. Old drivers and scripts are the usual casualties. Running MySQL Shell's upgrade checker and comparing slow query logs on a rehearsal copy finds them first.
Can we skip MySQL versions when upgrading?
In-place upgrades are supported from one LTS series to the next, so an older version may need a stop at each LTS on the way. A logical dump and reload, or replication to a new instance on the target version, can cross more versions in one move, but needs more testing. The upgrade checker shows what has to change at each step.
What happens to MySQL on Amazon RDS after end of standard support?
RDS moves the major version to Extended Support automatically. You keep getting critical fixes for a limited time, but you pay an extra charge per vCPU per hour on every instance still on that version, replicas included, and the rate rises after the second year. Upgrading to a supported version stops the charge.
Why is my MySQL database slow?
The usual causes are queries that can't use an index (functions on indexed columns, leading-wildcard LIKE, mismatched data types or collations), indexes that don't match the filters and sort order, an InnoDB buffer pool too small for the working set, long transactions holding locks, and too many connections. The slow query log, Performance Schema and EXPLAIN ANALYZE show which one applies.
How do I fix "too many connections" in MySQL?
Find out why connections pile up before raising the limit. max_connections defaults to 151, and each connection uses memory and a thread. Common causes are slow queries holding connections, application pools sized larger than the database can serve, and connections that are never closed. Connection pooling in the application or with ProxySQL, plus faster queries, usually fixes it for good.
What causes "Deadlock found when trying to get lock" in MySQL?
Error 1213 means two transactions each hold a lock the other needs, so InnoDB rolls one back. It usually comes from transactions that touch the same rows in different orders, missing indexes that make InnoDB lock more rows than needed, or long transactions. SHOW ENGINE INNODB STATUS shows the latest deadlock. Consistent access order, shorter transactions and the right indexes reduce it.
Group Replication, InnoDB Cluster or Galera: which should we use?
Group Replication is MySQL's built-in replication with automatic failover, and it needs a primary key on every table. InnoDB Cluster packages Group Replication with MySQL Shell for setup and MySQL Router to send traffic to the right node. Galera is the synchronous cluster used by MariaDB and Percona XtraDB Cluster. Which fits depends on your MySQL flavour, write pattern and tolerance for latency.
Should we switch from MySQL to MariaDB or PostgreSQL?
Sometimes. MariaDB started as a MySQL fork, but the two have drifted apart, so moving still means testing SQL behaviour, replication and tools. PostgreSQL is a different engine, with different SQL, data types and operations. We measure your workload, list what depends on MySQL-specific behaviour, and cost each path before you decide.
Is MySQL free for commercial use?
MySQL Community Edition is open source under the GPL version 2 and can be used commercially, with obligations if you distribute it inside your own software. MySQL Enterprise Edition is a paid Oracle subscription that adds tools such as Enterprise Backup, monitoring and support. Managed services such as RDS and Cloud SQL include the licence in their price.
When does MySQL need sharding?
Later than most teams think. Tuning queries and indexes, adding read replicas, partitioning large tables and archiving old data carry a single primary a long way. Sharding with a tool like Vitess makes sense once write volume or data size is beyond what one primary can serve, because it adds routing, schema and operations work to every change.
Can MySQL be used for vector search?
Recent MySQL releases include a VECTOR data type for storing embeddings, and MySQL HeatWave on OCI, AWS and Azure adds in-database vector search for AI applications. For large vector workloads, index type, memory and the load on the primary need planning, and a dedicated replica or service may suit better.
How is MySQL consulting priced?
Scope is quoted after the diagnostic, once we have looked at your database, and before you commit. Cost depends on the number of instances and environments, data size, the version gap for upgrades, replicas and clusters, hosting, compliance requirements and whether support continues afterward.
What happens after the work is done?
The same engineers stay on. They fix breaks, run planned minor updates and LTS upgrades, plan capacity as data and traffic grow, and review queries and schema changes for new features. The runbooks and documentation stay current, so your database doesn't depend on one person.