How to Choose Column Order in a MySQL Composite Index
When a MySQL query filters on several columns, the order of those columns in an index determines how MySQL can use it. A composite…
Read postCategory archive
Posts filed under Databases, newest first.
Everything in this archive, newest first.
When a MySQL query filters on several columns, the order of those columns in an index determines how MySQL can use it. A composite…
Read postFor a database-backed API that splits a large list into pages, the pagination method affects query cost and which records users see as the…
Read postWhen a PostgreSQL query runs slowly, EXPLAIN ANALYZE shows how PostgreSQL planned and executed it. The output is a tree of operations, such as…
Read postOn a PostgreSQL table serving a live web application, a regular index build can cause an outage because it holds a lock while PostgreSQL…
Read post