influxdb/iox_catalog/migrations/20220404120116_column_name-...

3 lines
135 B
SQL

-- Avoid seqscan when filtering columns by their table ID.
CREATE INDEX IF NOT EXISTS column_name_table_idx ON column_name (table_id);