@@ -1510,7 +1510,7 @@ metrics:
15101510 quote_ident(schemaname)||'.'||quote_ident(indexrelname) as index_full_name,
15111511 quote_ident(schemaname)||'.'||quote_ident(relname) as table_full_name,
15121512 pg_relation_size(indexrelid) as index_size_b,
1513- null::int as duplicate_count ,
1513+ 1 as affected_count ,
15141514 array[indexrelid] as oids,
15151515 null::text as index_def
15161516 from pg_index
@@ -1526,7 +1526,7 @@ metrics:
15261526 quote_ident(schemaname)||'.'||quote_ident(indexrelname) as index_full_name,
15271527 quote_ident(schemaname)||'.'||quote_ident(relname) as table_full_name,
15281528 pg_relation_size(indexrelid) as index_size_b,
1529- null::int as duplicate_count ,
1529+ 1 as affected_count ,
15301530 array[indexrelid] as oids,
15311531 null::text as index_def
15321532 from pg_stat_user_indexes
@@ -1574,7 +1574,7 @@ metrics:
15741574 null::text as index_full_name,
15751575 quote_ident(schemaname)||'.'||quote_ident(relid::regclass::text) as table_full_name,
15761576 dg.max_size_b as index_size_b,
1577- dg.dup_count::int as duplicate_count ,
1577+ dg.dup_count::int as affected_count ,
15781578 dg.oids,
15791579 normalized_def::text as index_def
15801580 from duplicate_groups dg
@@ -1593,15 +1593,15 @@ metrics:
15931593 table_full_name as tag_table_full_name,
15941594 index_full_name as tag_object_name,
15951595 index_size_b,
1596- duplicate_count ,
1596+ affected_count ,
15971597 oids,
15981598 index_def
15991599 from all_recommendations
16001600 order by index_size_b desc, tag_issue_type
16011601 limit 100;
16021602 node_status : primary
16031603 gauges :
1604- - " duplicate_count "
1604+ - " affected_count "
16051605 - " index_size_b"
16061606 storage_name : " recommendations"
16071607 reco_nested_views :
0 commit comments