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

626 lines
16 KiB
JSON
Raw Normal View History

2020-09-17 18:44:38 -07:00
{
"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": "100659831",
"buffers_backend": "62661599",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "157514679",
"buffers_clean": "14034795",
"checkpoint_sync_time": "562503",
"checkpoint_write_time": "39786632",
"checkpoints_req": "296",
"checkpoints_timed": "244",
"maxwritten_clean": "130096",
"stats_reset": "2019-01-23 19:10:00.1363+00"
},
"aws_rds": {
"CPUUtilization": "0.2",
"ReadIOPS": "500",
"WriteIOPS": "600"
}
},
"local": {
"table": {
"pg_stat_user_tables": {
"district": {
"analyze_count": "0",
"autoanalyze_count": "1073",
"autovacuum_count": "1056",
"idx_scan": "191112737",
"idx_tup_fetch": "191112737",
"last_autoanalyze": "2020-09-17 20:04:28.024577+00",
"last_autovacuum": "2020-09-17 20:04:24.36634+00",
"n_dead_tup": "53192",
"n_live_tup": "2015",
"n_mod_since_analyze": "452464",
"n_tup_del": "0",
"n_tup_hot_upd": "67864442",
"n_tup_ins": "2000",
"n_tup_upd": "71214523",
"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": "526626184",
"idx_tup_fetch": "526626184",
"last_autoanalyze": "2020-09-17 20:09:07.150018+00",
"last_autovacuum": "2020-09-17 17:32:07.700898+00",
"n_dead_tup": "1866969",
"n_live_tup": "41774347",
"n_mod_since_analyze": "135679",
"n_tup_del": "0",
"n_tup_hot_upd": "24703483",
"n_tup_ins": "42417788",
"n_tup_upd": "32371948",
"relid": "16423",
"relname": "oorder",
"schemaname": "public",
"seq_scan": "4",
"seq_tup_read": "0",
"vacuum_count": "0"
},
"customer": {
"analyze_count": "0",
"autoanalyze_count": "109",
"autovacuum_count": "14",
"idx_scan": "228316114",
"idx_tup_fetch": "381406217",
"last_autoanalyze": "2020-09-17 20:04:08.43657+00",
"last_autovacuum": "2020-09-17 20:03:26.571301+00",
"n_dead_tup": "432280",
"n_live_tup": "5993062",
"n_mod_since_analyze": "477746",
"n_tup_del": "0",
"n_tup_hot_upd": "61498691",
"n_tup_ins": "6000000",
"n_tup_upd": "67168651",
"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": "40650876",
"n_mod_since_analyze": "112201",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "40796722",
"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": "1059",
"autovacuum_count": "1057",
"idx_scan": "126327795",
"idx_tup_fetch": "126327795",
"last_autoanalyze": "2020-09-17 20:04:18.883452+00",
"last_autovacuum": "2020-09-17 20:04:17.240777+00",
"n_dead_tup": "3505",
"n_live_tup": "200",
"n_mod_since_analyze": "233202",
"n_tup_del": "0",
"n_tup_hot_upd": "34623756",
"n_tup_ins": "200",
"n_tup_upd": "34796738",
"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": "71221027",
"idx_tup_fetch": "1327195777",
"last_autoanalyze": "2020-09-17 16:30:38.172558+00",
"last_autovacuum": "2020-09-17 03:59:23.885371+00",
"n_dead_tup": "76894625",
"n_live_tup": "417975827",
"n_mod_since_analyze": "210033462",
"n_tup_del": "0",
"n_tup_hot_upd": "187356719",
"n_tup_ins": "420530707",
"n_tup_upd": "323713478",
"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": "1792212095",
"idx_tup_fetch": "1792212095",
"last_autoanalyze": "2020-09-17 19:24:42.314986+00",
"last_autovacuum": "2020-09-17 20:04:11.909321+00",
"n_dead_tup": "1671358",
"n_live_tup": "19986334",
"n_mod_since_analyze": "24017531",
"n_tup_del": "0",
"n_tup_hot_upd": "343768357",
"n_tup_ins": "20000000",
"n_tup_upd": "360522851",
"relid": "16418",
"relname": "stock",
"schemaname": "public",
"seq_scan": "12",
"seq_tup_read": "4800000",
"vacuum_count": "0"
},
"new_order": {
"analyze_count": "0",
"autoanalyze_count": "189",
"autovacuum_count": "59",
"idx_scan": "64743913",
"idx_tup_fetch": "64546804",
"last_autoanalyze": "2020-09-17 19:37:06.793774+00",
"last_autovacuum": "2020-09-17 19:35:59.813062+00",
"n_dead_tup": "1805677",
"n_live_tup": "5368360",
"n_mod_since_analyze": "3490488",
"n_tup_del": "32371955",
"n_tup_hot_upd": "0",
"n_tup_ins": "38111218",
"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": "384482380",
"idx_tup_fetch": "384117667",
"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": "404532405",
"heap_blks_read": "6274",
"idx_blks_hit": "770968569",
"idx_blks_read": "1366",
"relid": "16449",
"relname": "item",
"schemaname": "public"
},
"order_line": {
"heap_blks_hit": "2631846035",
"heap_blks_read": "36505629",
"idx_blks_hit": "2478917785",
"idx_blks_read": "13453235",
"relid": "16408",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "1160305006",
"heap_blks_read": "5053529",
"idx_blks_hit": "2557643517",
"idx_blks_read": "25945541",
"relid": "16423",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "619739984",
"heap_blks_read": "27843795",
"idx_blks_hit": "788853409",
"idx_blks_read": "4649903",
"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": "810770535",
"heap_blks_read": "309501",
"idx_blks_hit": "256456040",
"idx_blks_read": "92",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "3717222106",
"heap_blks_read": "27224679",
"idx_blks_hit": "5497628130",
"idx_blks_read": "2407761",
"relid": "16418",
"relname": "stock",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "277860534",
"heap_blks_read": "3859002",
"idx_blks_hit": "616006719",
"idx_blks_read": "1975587",
"relid": "16413",
"relname": "new_order",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "124734987",
"heap_blks_read": "1285822",
"relid": "16431",
"relname": "history",
"schemaname": "public"
},
"district": {
"heap_blks_hit": "2668027329",
"heap_blks_read": "813937",
"idx_blks_hit": "445686554",
"idx_blks_read": "882",
"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.251999999999995",
"blk_write_time": "11.7899999999999991",
"blks_hit": "915951",
"blks_read": "5750",
"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": "72165",
"tup_inserted": "75",
"tup_returned": "23624919",
"tup_updated": "368",
"xact_commit": "198346",
"xact_rollback": "0"
},
"template1": {
"blk_read_time": "5.95800000000000018",
"blk_write_time": "2.93199999999999994",
"blks_hit": "385991",
"blks_read": "1342",
"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": "60822",
"tup_inserted": "0",
"tup_returned": "5515050",
"tup_updated": "1",
"xact_commit": "10443",
"xact_rollback": "0"
},
"postgres": {
"blk_read_time": "7.23399999999999999",
"blk_write_time": "3.45599999999999996",
"blks_hit": "404432",
"blks_read": "1835",
"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": "69432",
"tup_inserted": "0",
"tup_returned": "5526892",
"tup_updated": "1",
"xact_commit": "10495",
"xact_rollback": "4"
},
"tpcc": {
"blk_read_time": "154876770.284000009",
"blk_write_time": "448993.135000000009",
"blks_hit": "25838632902",
"blks_read": "151351729",
"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": "32385441",
"tup_fetched": "4801562693",
"tup_inserted": "567972748",
"tup_returned": "8998371523",
"tup_updated": "889815236",
"xact_commit": "80680181",
"xact_rollback": "364920"
}
},
"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": "71221027",
"idx_tup_fetch": "1327195777",
"idx_tup_read": "1465108454",
"indexrelid": "16411",
"indexrelname": "order_line_pkey",
"relid": "16408",
"relname": "order_line",
"schemaname": "public"
},
"new_order": {
"idx_scan": "64743913",
"idx_tup_fetch": "64546804",
"idx_tup_read": "807841105",
"indexrelid": "16416",
"indexrelname": "new_order_pkey",
"relid": "16413",
"relname": "new_order",
"schemaname": "public"
},
"stock": {
"idx_scan": "1792212095",
"idx_tup_fetch": "1792212095",
"idx_tup_read": "2046477920",
"indexrelid": "16421",
"indexrelname": "stock_pkey",
"relid": "16418",
"relname": "stock",
"schemaname": "public"
},
"oorder": {
"idx_scan": "3934046",
"idx_tup_fetch": "3934046",
"idx_tup_read": "4041834",
"indexrelid": "16460",
"indexrelname": "idx_order",
"relid": "16423",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"idx_scan": "22938165",
"idx_tup_fetch": "176028268",
"idx_tup_read": "180010353",
"indexrelid": "16459",
"indexrelname": "idx_customer_name",
"relid": "16435",
"relname": "customer",
"schemaname": "public"
},
"district": {
"idx_scan": "191112737",
"idx_tup_fetch": "22880392",
"idx_tup_read": "2374164407",
"indexrelid": "16447",
"indexrelname": "district_pkey",
"relid": "16444",
"relname": "district",
"schemaname": "public"
},
"item": {
"idx_scan": "384482380",
"idx_tup_fetch": "384117667",
"idx_tup_read": "384117667",
"indexrelid": "16452",
"indexrelname": "item_pkey",
"relid": "16449",
"relname": "item",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "126327795",
"idx_tup_fetch": "60255348",
"idx_tup_read": "716578474",
"indexrelid": "16457",
"indexrelname": "warehouse_pkey",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"order_line": {
"idx_blks_hit": "2478917785",
"idx_blks_read": "13453235",
"indexrelid": "16411",
"indexrelname": "order_line_pkey",
"relid": "16408",
"relname": "order_line",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "616006719",
"idx_blks_read": "1975587",
"indexrelid": "16416",
"indexrelname": "new_order_pkey",
"relid": "16413",
"relname": "new_order",
"schemaname": "public"
},
"stock": {
"idx_blks_hit": "5497628130",
"idx_blks_read": "2407761",
"indexrelid": "16421",
"indexrelname": "stock_pkey",
"relid": "16418",
"relname": "stock",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "193913715",
"idx_blks_read": "12416799",
"indexrelid": "16460",
"indexrelname": "idx_order",
"relid": "16423",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "137876359",
"idx_blks_read": "2920974",
"indexrelid": "16459",
"indexrelname": "idx_customer_name",
"relid": "16435",
"relname": "customer",
"schemaname": "public"
},
"district": {
"idx_blks_hit": "445686554",
"idx_blks_read": "882",
"indexrelid": "16447",
"indexrelname": "district_pkey",
"relid": "16444",
"relname": "district",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "770968569",
"idx_blks_read": "1366",
"indexrelid": "16452",
"indexrelname": "item_pkey",
"relid": "16449",
"relname": "item",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "256456040",
"idx_blks_read": "92",
"indexrelid": "16457",
"indexrelname": "warehouse_pkey",
"relid": "16454",
"relname": "warehouse",
"schemaname": "public"
}
}
}
}
}