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.
Create a unique index so the database rejects duplicate values in one or more columns.
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.