Merge pull request #4225 from influxdata/dom/column_name-table_id-index

refactor: add table_id index on column_name
pull/24376/head
kodiakhq[bot] 2022-04-04 12:22:49 +00:00 committed by GitHub
commit e10e63403b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- Avoid seqscan when filtering columns by their table ID.
CREATE INDEX IF NOT EXISTS column_name_table_idx ON column_name (table_id);