mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 07:56:01 +00:00
postgre sql indexes analysis - partialy working
This commit is contained in:
@@ -6,6 +6,6 @@ module.exports = `
|
||||
INDEX_TYPE AS indexType,
|
||||
NON_UNIQUE AS nonUnique
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = '#DATABASE#' AND TABLE_NAME =OBJECT_ID_CONDITION AND INDEX_NAME != 'PRIMARY' AND INDEX_NAME NOT LIKE 'IFK_%'
|
||||
WHERE TABLE_SCHEMA = '#DATABASE#' AND TABLE_NAME =OBJECT_ID_CONDITION AND INDEX_NAME != 'PRIMARY'
|
||||
ORDER BY SEQ_IN_INDEX
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user