Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Index only the rows that satisfy a `WHERE` condition using `CREATE INDEX ... WHERE condition`, shrinking the index and speeding up queries that always filter on the same predicate.
Ask the database how it plans to execute a SELECT so you can understand scans, joins, and index usage.
Drop an index that is no longer useful so writes no longer have to maintain it.
Create an index on one or more columns to make lookups and joins faster.