ottertune/client/controller/sample_output/rds_postgres/metrics_after.json

626 lines
16 KiB
JSON

{
"global": {
"pg_stat_archiver": {
"archived_count": "0",
"failed_count": "0",
"stats_reset": "2019-01-23 19:10:00.1363+00"
},
"pg_stat_bgwriter": {
"buffers_alloc": "101251951",
"buffers_backend": "63398097",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "158221360",
"buffers_clean": "14109895",
"checkpoint_sync_time": "568376",
"checkpoint_write_time": "39980106",
"checkpoints_req": "296",
"checkpoints_timed": "245",
"maxwritten_clean": "130847",
"stats_reset": "2019-01-23 19:10:00.1363+00"
},
"aws_rds": {
"CPUUtilization": "0.6",
"ReadIOPS": "600",
"WriteIOPS": "700"
}
},
"local": {
"table": {
"pg_stat_user_tables": {
"district": {
"analyze_count": "0",
"autoanalyze_count": "1078",
"autovacuum_count": "1061",
"idx_scan": "191780265",
"idx_tup_fetch": "191780265",
"last_autoanalyze": "2020-09-17 20:14:07.144507+00",
"last_autovacuum": "2020-09-17 20:14:05.276582+00",
"n_dead_tup": "1711",
"n_live_tup": "2000",
"n_mod_since_analyze": "11688",
"n_tup_del": "0",
"n_tup_hot_upd": "68117363",
"n_tup_ins": "2000",
"n_tup_upd": "71477858",
"relid": "16444",
"relname": "district",
"schemaname": "public",
"seq_scan": "1349818",
"seq_tup_read": "192522363",
"vacuum_count": "0"
},
"oorder": {
"analyze_count": "0",
"autoanalyze_count": "76",
"autovacuum_count": "4",
"idx_scan": "528342140",
"idx_tup_fetch": "528342140",
"last_autoanalyze": "2020-09-17 20:09:07.150018+00",
"last_autovacuum": "2020-09-17 17:32:07.700898+00",
"n_dead_tup": "1889624",
"n_live_tup": "41907562",
"n_mod_since_analyze": "388314",
"n_tup_del": "0",
"n_tup_hot_upd": "24810174",
"n_tup_ins": "42552281",
"n_tup_upd": "32491368",
"relid": "16423",
"relname": "oorder",
"schemaname": "public",
"seq_scan": "4",
"seq_tup_read": "0",
"vacuum_count": "0"
},
"customer": {
"analyze_count": "0",
"autoanalyze_count": "110",
"autovacuum_count": "14",
"idx_scan": "229115914",
"idx_tup_fetch": "382406124",
"last_autoanalyze": "2020-09-17 20:13:08.972446+00",
"last_autovacuum": "2020-09-17 20:03:26.571301+00",
"n_dead_tup": "460573",
"n_live_tup": "5992578",
"n_mod_since_analyze": "95291",
"n_tup_del": "0",
"n_tup_hot_upd": "61717645",
"n_tup_ins": "6000000",
"n_tup_upd": "67416913",
"relid": "16435",
"relname": "customer",
"schemaname": "public",
"seq_scan": "3",
"seq_tup_read": "0",
"vacuum_count": "0"
},
"history": {
"analyze_count": "0",
"autoanalyze_count": "55",
"autovacuum_count": "0",
"last_autoanalyze": "2020-09-17 20:08:05.833018+00",
"n_dead_tup": "15",
"n_live_tup": "40779718",
"n_mod_since_analyze": "241043",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "40925564",
"n_tup_upd": "0",
"relid": "16431",
"relname": "history",
"schemaname": "public",
"seq_scan": "2",
"seq_tup_read": "0",
"vacuum_count": "0"
},
"warehouse": {
"analyze_count": "0",
"autoanalyze_count": "1064",
"autovacuum_count": "1063",
"idx_scan": "126721140",
"idx_tup_fetch": "126721140",
"last_autoanalyze": "2020-09-17 20:14:00.109575+00",
"last_autovacuum": "2020-09-17 20:14:14.357883+00",
"n_dead_tup": "0",
"n_live_tup": "247",
"n_mod_since_analyze": "12862",
"n_tup_del": "0",
"n_tup_hot_upd": "34752156",
"n_tup_ins": "200",
"n_tup_upd": "34925580",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public",
"seq_scan": "1",
"seq_tup_read": "0",
"vacuum_count": "0"
},
"order_line": {
"analyze_count": "0",
"autoanalyze_count": "54",
"autovacuum_count": "5",
"idx_scan": "71483860",
"idx_tup_fetch": "1332104366",
"last_autoanalyze": "2020-09-17 16:30:38.172558+00",
"last_autovacuum": "2020-09-17 03:59:23.885371+00",
"n_dead_tup": "77474362",
"n_live_tup": "419306473",
"n_mod_since_analyze": "212559299",
"n_tup_del": "0",
"n_tup_hot_upd": "188190018",
"n_tup_ins": "421861353",
"n_tup_upd": "324908669",
"relid": "16408",
"relname": "order_line",
"schemaname": "public",
"seq_scan": "21",
"seq_tup_read": "72002632",
"vacuum_count": "0"
},
"stock": {
"analyze_count": "0",
"autoanalyze_count": "83",
"autovacuum_count": "13",
"idx_scan": "1798613847",
"idx_tup_fetch": "1798613847",
"last_autoanalyze": "2020-09-17 19:24:42.314986+00",
"last_autovacuum": "2020-09-17 20:04:11.909321+00",
"n_dead_tup": "1755419",
"n_live_tup": "19986334",
"n_mod_since_analyze": "25348177",
"n_tup_del": "0",
"n_tup_hot_upd": "345043050",
"n_tup_ins": "20000000",
"n_tup_upd": "361853497",
"relid": "16418",
"relname": "stock",
"schemaname": "public",
"seq_scan": "12",
"seq_tup_read": "4800000",
"vacuum_count": "0"
},
"new_order": {
"analyze_count": "0",
"autoanalyze_count": "190",
"autovacuum_count": "60",
"idx_scan": "64982753",
"idx_tup_fetch": "64784948",
"last_autoanalyze": "2020-09-17 20:12:15.875296+00",
"last_autovacuum": "2020-09-17 20:11:58.199273+00",
"n_dead_tup": "327678",
"n_live_tup": "5368913",
"n_mod_since_analyze": "163399",
"n_tup_del": "32491375",
"n_tup_hot_upd": "0",
"n_tup_ins": "38245711",
"n_tup_upd": "0",
"relid": "16413",
"relname": "new_order",
"schemaname": "public",
"seq_scan": "9",
"seq_tup_read": "767834",
"vacuum_count": "0"
},
"item": {
"analyze_count": "0",
"autoanalyze_count": "2",
"autovacuum_count": "0",
"idx_scan": "385826878",
"idx_tup_fetch": "385460887",
"last_autoanalyze": "2020-09-16 16:24:55.829029+00",
"n_dead_tup": "0",
"n_live_tup": "100000",
"n_mod_since_analyze": "0",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "100000",
"n_tup_upd": "0",
"relid": "16449",
"relname": "item",
"schemaname": "public",
"seq_scan": "1",
"seq_tup_read": "0",
"vacuum_count": "0"
}
},
"pg_statio_user_tables": {
"item": {
"heap_blks_hit": "405876793",
"heap_blks_read": "6274",
"idx_blks_hit": "773663974",
"idx_blks_read": "1366",
"relid": "16449",
"relname": "item",
"schemaname": "public"
},
"order_line": {
"heap_blks_hit": "2640195062",
"heap_blks_read": "36574411",
"idx_blks_hit": "2486763056",
"idx_blks_read": "13484610",
"relid": "16408",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "1164033431",
"heap_blks_read": "5064792",
"idx_blks_hit": "2566096419",
"idx_blks_read": "26134786",
"relid": "16423",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "621585515",
"heap_blks_read": "28028219",
"idx_blks_hit": "791583860",
"idx_blks_read": "4670478",
"relid": "16435",
"relname": "customer",
"schemaname": "public",
"tidx_blks_hit": "0",
"tidx_blks_read": "0",
"toast_blks_hit": "0",
"toast_blks_read": "0"
},
"warehouse": {
"heap_blks_hit": "816879627",
"heap_blks_read": "318664",
"idx_blks_hit": "257377857",
"idx_blks_read": "94",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "3729310376",
"heap_blks_read": "27323785",
"idx_blks_hit": "5517135577",
"idx_blks_read": "2415348",
"relid": "16418",
"relname": "stock",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "278715591",
"heap_blks_read": "3944748",
"idx_blks_hit": "617880675",
"idx_blks_read": "2020398",
"relid": "16413",
"relname": "new_order",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "125129201",
"heap_blks_read": "1317250",
"relid": "16431",
"relname": "history",
"schemaname": "public"
},
"district": {
"heap_blks_hit": "2689946801",
"heap_blks_read": "836499",
"idx_blks_hit": "447422082",
"idx_blks_read": "884",
"relid": "16444",
"relname": "district",
"schemaname": "public"
}
}
},
"database": {
"pg_stat_database": {
"template0": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "0",
"blks_read": "0",
"conflicts": "0",
"datid": "14006",
"datname": "template0",
"deadlocks": "0",
"numbackends": "0",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "0",
"tup_fetched": "0",
"tup_inserted": "0",
"tup_returned": "0",
"tup_updated": "0",
"xact_commit": "0",
"xact_rollback": "0"
},
"rdsadmin": {
"blk_read_time": "117.429000000000002",
"blk_write_time": "12.1630000000000003",
"blks_hit": "916974",
"blks_read": "5848",
"conflicts": "0",
"datid": "16384",
"datname": "rdsadmin",
"deadlocks": "0",
"numbackends": "2",
"stats_reset": "2019-01-23 19:10:11.708222+00",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "3",
"tup_fetched": "72231",
"tup_inserted": "75",
"tup_returned": "23654037",
"tup_updated": "369",
"xact_commit": "198742",
"xact_rollback": "0"
},
"template1": {
"blk_read_time": "6.08999999999999986",
"blk_write_time": "3.00999999999999979",
"blks_hit": "386398",
"blks_read": "1373",
"conflicts": "0",
"datid": "1",
"datname": "template1",
"deadlocks": "0",
"numbackends": "0",
"stats_reset": "2020-09-16 15:01:54.044413+00",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "0",
"tup_fetched": "60888",
"tup_inserted": "0",
"tup_returned": "5521392",
"tup_updated": "1",
"xact_commit": "10455",
"xact_rollback": "0"
},
"postgres": {
"blk_read_time": "7.36000000000000032",
"blk_write_time": "3.70400000000000018",
"blks_hit": "404963",
"blks_read": "1875",
"conflicts": "0",
"datid": "14007",
"datname": "postgres",
"deadlocks": "0",
"numbackends": "0",
"stats_reset": "2019-01-23 19:10:10.497522+00",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "0",
"tup_fetched": "69558",
"tup_inserted": "0",
"tup_returned": "5533294",
"tup_updated": "1",
"xact_commit": "10507",
"xact_rollback": "4"
},
"tpcc": {
"blk_read_time": "155814139.738999993",
"blk_write_time": "451775.764000000025",
"blks_hit": "25941083055",
"blks_read": "152158081",
"conflicts": "0",
"datid": "16395",
"datname": "tpcc",
"deadlocks": "0",
"numbackends": "54",
"stats_reset": "2020-09-16 16:03:18.758907+00",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "32504963",
"tup_fetched": "4818270282",
"tup_inserted": "569701325",
"tup_returned": "9042340600",
"tup_updated": "893101105",
"xact_commit": "80978246",
"xact_rollback": "366198"
}
},
"pg_stat_database_conflicts": {
"template0": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "14006",
"datname": "template0"
},
"rdsadmin": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "16384",
"datname": "rdsadmin"
},
"template1": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "1",
"datname": "template1"
},
"postgres": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "14007",
"datname": "postgres"
},
"tpcc": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "16395",
"datname": "tpcc"
}
}
},
"indexes": {
"pg_stat_user_indexes": {
"order_line": {
"idx_scan": "71483860",
"idx_tup_fetch": "1332104366",
"idx_tup_read": "1470381755",
"indexrelid": "16411",
"indexrelname": "order_line_pkey",
"relid": "16408",
"relname": "order_line",
"schemaname": "public"
},
"new_order": {
"idx_scan": "64982753",
"idx_tup_fetch": "64784948",
"idx_tup_read": "808760330",
"indexrelid": "16416",
"indexrelname": "new_order_pkey",
"relid": "16413",
"relname": "new_order",
"schemaname": "public"
},
"stock": {
"idx_scan": "1798613847",
"idx_tup_fetch": "1798613847",
"idx_tup_read": "2053109994",
"indexrelid": "16421",
"indexrelname": "stock_pkey",
"relid": "16418",
"relname": "stock",
"schemaname": "public"
},
"oorder": {
"idx_scan": "3946023",
"idx_tup_fetch": "3946023",
"idx_tup_read": "4054082",
"indexrelid": "16460",
"indexrelname": "idx_order",
"relid": "16423",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"idx_scan": "23022453",
"idx_tup_fetch": "176312663",
"idx_tup_read": "180321032",
"indexrelid": "16459",
"indexrelname": "idx_customer_name",
"relid": "16435",
"relname": "customer",
"schemaname": "public"
},
"district": {
"idx_scan": "191780265",
"idx_tup_fetch": "22913495",
"idx_tup_read": "2395304146",
"indexrelid": "16447",
"indexrelname": "district_pkey",
"relid": "16444",
"relname": "district",
"schemaname": "public"
},
"item": {
"idx_scan": "385826878",
"idx_tup_fetch": "385460887",
"idx_tup_read": "385460887",
"indexrelid": "16452",
"indexrelname": "item_pkey",
"relid": "16449",
"relname": "item",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "126721140",
"idx_tup_fetch": "60290045",
"idx_tup_read": "722402139",
"indexrelid": "16457",
"indexrelname": "warehouse_pkey",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"order_line": {
"idx_blks_hit": "2486763056",
"idx_blks_read": "13484610",
"indexrelid": "16411",
"indexrelname": "order_line_pkey",
"relid": "16408",
"relname": "order_line",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "617880675",
"idx_blks_read": "2020398",
"indexrelid": "16416",
"indexrelname": "new_order_pkey",
"relid": "16413",
"relname": "new_order",
"schemaname": "public"
},
"stock": {
"idx_blks_hit": "5517135577",
"idx_blks_read": "2415348",
"indexrelid": "16421",
"indexrelname": "stock_pkey",
"relid": "16418",
"relname": "stock",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "194457622",
"idx_blks_read": "12512311",
"indexrelid": "16460",
"indexrelname": "idx_order",
"relid": "16423",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "138337626",
"idx_blks_read": "2933161",
"indexrelid": "16459",
"indexrelname": "idx_customer_name",
"relid": "16435",
"relname": "customer",
"schemaname": "public"
},
"district": {
"idx_blks_hit": "447422082",
"idx_blks_read": "884",
"indexrelid": "16447",
"indexrelname": "district_pkey",
"relid": "16444",
"relname": "district",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "773663974",
"idx_blks_read": "1366",
"indexrelid": "16452",
"indexrelname": "item_pkey",
"relid": "16449",
"relname": "item",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "257377857",
"idx_blks_read": "94",
"indexrelid": "16457",
"indexrelname": "warehouse_pkey",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public"
}
}
}
}
}