You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we skip the pg_toast% schema in the invalid index detection service.
One of our customers performs REINDEX SCHEMA maintenance, which rebuilds toast indexes.
As a result, the service missed several invalid indexes in their database.
SELECT current_database(), nsp.nspnameAS schemaname, cls.relname, idx.indisvalidFROM pg_class cls
join pg_namespace nsp onnsp.oid=cls.relnamespacejoin pg_index idx onidx.indexrelid=cls.oidWHEREcls.relkind='i'ANDnsp.nspname not like'pg_toast%'ANDnsp.nspname NOT IN ('information_schema', 'pg_catalog');
};
Hi,
Currently, we skip the pg_toast% schema in the invalid index detection service.
One of our customers performs REINDEX SCHEMA maintenance, which rebuilds toast indexes.
As a result, the service missed several invalid indexes in their database.
Can we remove the toast filter?
check_pgactivity/check_pgactivity
Line 4781 in a8ccfee
The text was updated successfully, but these errors were encountered: