ottertune/client/driver/integrationTests/data/7__metrics_after.json

586 lines
15 KiB
JSON
Raw Permalink Normal View History

2019-10-23 19:46:33 -07:00
{
"global": {
"pg_stat_archiver": {
"archived_count": "0",
"failed_count": "0",
"stats_reset": "2019-09-11 21:28:47.239843-04"
},
"pg_stat_bgwriter": {
"buffers_alloc": "3731260087",
"buffers_backend": "1755258665",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "1854658367",
"buffers_clean": "92070147",
"checkpoint_sync_time": "13889272",
"checkpoint_write_time": "216007885",
"checkpoints_req": "10018",
"checkpoints_timed": "2925",
"maxwritten_clean": "293092",
"stats_reset": "2019-09-11 21:28:47.239843-04"
}
},
"local": {
"table": {
"pg_stat_user_tables": {
"customer": {
"analyze_count": "0",
"autoanalyze_count": "1",
"autovacuum_count": "0",
"idx_scan": "18755546",
"idx_tup_fetch": "29497879",
"last_autoanalyze": "2019-10-01 01:58:54.728893-04",
"n_dead_tup": "1688815",
"n_live_tup": "5999969",
"n_mod_since_analyze": "5817506",
"n_tup_del": "0",
"n_tup_hot_upd": "4602553",
"n_tup_ins": "6000000",
"n_tup_upd": "5817506",
"relid": "48704",
"relname": "customer",
"schemaname": "public",
"seq_scan": "4",
"seq_tup_read": "24000000",
"vacuum_count": "0"
},
"warehouse": {
"analyze_count": "0",
"autoanalyze_count": "4",
"autovacuum_count": "3",
"idx_scan": "9223033",
"idx_tup_fetch": "9223033",
"last_autoanalyze": "2019-10-01 02:06:15.381455-04",
"last_autovacuum": "2019-10-01 02:06:14.304752-04",
"n_dead_tup": "48276",
"n_live_tup": "200",
"n_mod_since_analyze": "2772169",
"n_tup_del": "0",
"n_tup_hot_upd": "2971364",
"n_tup_ins": "200",
"n_tup_upd": "3018186",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public",
"seq_scan": "77",
"seq_tup_read": "15400",
"vacuum_count": "0"
},
"new_order": {
"analyze_count": "0",
"autoanalyze_count": "5",
"autovacuum_count": "3",
"idx_scan": "5598641",
"idx_tup_fetch": "7285271",
"last_autoanalyze": "2019-10-01 02:27:19.017545-04",
"last_autovacuum": "2019-10-01 02:23:41.594799-04",
"n_dead_tup": "1864742",
"n_live_tup": "2020940",
"n_mod_since_analyze": "3125516",
"n_tup_del": "2799320",
"n_tup_hot_upd": "0",
"n_tup_ins": "4851296",
"n_tup_upd": "0",
"relid": "48721",
"relname": "new_order",
"schemaname": "public",
"seq_scan": "1",
"seq_tup_read": "1692083",
"vacuum_count": "0"
},
"order_line": {
"analyze_count": "0",
"autoanalyze_count": "0",
"autovacuum_count": "0",
"idx_scan": "6158880",
"idx_tup_fetch": "174761547",
"n_dead_tup": "18397532",
"n_live_tup": "91267523",
"n_mod_since_analyze": "119253678",
"n_tup_del": "0",
"n_tup_hot_upd": "12246846",
"n_tup_ins": "91267523",
"n_tup_upd": "27986155",
"relid": "48728",
"relname": "order_line",
"schemaname": "public",
"seq_scan": "2",
"seq_tup_read": "119990886",
"vacuum_count": "0"
},
"history": {
"analyze_count": "0",
"autoanalyze_count": "1",
"autovacuum_count": "0",
"last_autoanalyze": "2019-10-01 01:53:35.074571-04",
"n_dead_tup": "0",
"n_live_tup": "9018186",
"n_mod_since_analyze": "3018186",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "9018186",
"n_tup_upd": "0",
"relid": "48714",
"relname": "history",
"schemaname": "public",
"seq_scan": "2",
"seq_tup_read": "12000000",
"vacuum_count": "0"
},
"item": {
"analyze_count": "0",
"autoanalyze_count": "1",
"autovacuum_count": "0",
"idx_scan": "31615435",
"idx_tup_fetch": "31583869",
"last_autoanalyze": "2019-10-01 02:04:54.904867-04",
"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": "48718",
"relname": "item",
"schemaname": "public",
"seq_scan": "2",
"seq_tup_read": "200000",
"vacuum_count": "0"
},
"stock": {
"analyze_count": "0",
"autoanalyze_count": "0",
"autovacuum_count": "0",
"idx_scan": "210092170",
"idx_tup_fetch": "210092170",
"n_dead_tup": "9101146",
"n_live_tup": "20000000",
"n_mod_since_analyze": "51272080",
"n_tup_del": "0",
"n_tup_hot_upd": "24654245",
"n_tup_ins": "20000000",
"n_tup_upd": "31272080",
"relid": "48731",
"relname": "stock",
"schemaname": "public",
"seq_scan": "3",
"seq_tup_read": "60000000",
"vacuum_count": "0"
},
"oorder": {
"analyze_count": "0",
"autoanalyze_count": "1",
"autovacuum_count": "0",
"idx_scan": "40310135",
"idx_tup_fetch": "58310132",
"last_autoanalyze": "2019-10-01 01:53:45.816842-04",
"n_dead_tup": "1255940",
"n_live_tup": "9127647",
"n_mod_since_analyze": "5926967",
"n_tup_del": "0",
"n_tup_hot_upd": "1623735",
"n_tup_ins": "9159213",
"n_tup_upd": "2799320",
"relid": "48724",
"relname": "oorder",
"schemaname": "public",
"seq_scan": "3",
"seq_tup_read": "18000000",
"vacuum_count": "0"
},
"district": {
"analyze_count": "0",
"autoanalyze_count": "4",
"autovacuum_count": "3",
"idx_scan": "15653024",
"idx_tup_fetch": "15653024",
"last_autoanalyze": "2019-10-01 02:06:10.033539-04",
"last_autovacuum": "2019-10-01 02:06:07.202845-04",
"n_dead_tup": "602434",
"n_live_tup": "1517",
"n_mod_since_analyze": "5649651",
"n_tup_del": "0",
"n_tup_hot_upd": "5576008",
"n_tup_ins": "2000",
"n_tup_upd": "6177399",
"relid": "48711",
"relname": "district",
"schemaname": "public",
"seq_scan": "4",
"seq_tup_read": "8000",
"vacuum_count": "0"
}
},
"pg_statio_user_tables": {
"order_line": {
"heap_blks_hit": "226668153",
"heap_blks_read": "5386817",
"idx_blks_hit": "213493860",
"idx_blks_read": "1074326",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "96434300",
"heap_blks_read": "452170",
"idx_blks_hit": "157896981",
"idx_blks_read": "2462191",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"item": {
"heap_blks_hit": "31457805",
"heap_blks_read": "158670",
"idx_blks_hit": "63375363",
"idx_blks_read": "7618",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "9403065",
"heap_blks_read": "159682",
"relid": "48714",
"relname": "history",
"schemaname": "public"
},
"warehouse": {
"heap_blks_hit": "1110665510",
"heap_blks_read": "39431",
"idx_blks_hit": "26870183",
"idx_blks_read": "417",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "1026087602",
"heap_blks_read": "25074882",
"idx_blks_hit": "651507827",
"idx_blks_read": "3232267",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "35220627",
"heap_blks_read": "457561",
"idx_blks_hit": "43581079",
"idx_blks_read": "405761",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "43348672",
"heap_blks_read": "8667459",
"idx_blks_hit": "65624009",
"idx_blks_read": "2430479",
"relid": "48704",
"relname": "customer",
"schemaname": "public",
"tidx_blks_hit": "0",
"tidx_blks_read": "0",
"toast_blks_hit": "0",
"toast_blks_read": "0"
},
"district": {
"heap_blks_hit": "879168732",
"heap_blks_read": "123807",
"idx_blks_hit": "60754817",
"idx_blks_read": "4504",
"relid": "48711",
"relname": "district",
"schemaname": "public"
}
}
},
"database": {
"pg_stat_database": {
"postgres": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4044253",
"blks_read": "255442",
"conflicts": "0",
"datid": "12439",
"datname": "postgres",
"deadlocks": "0",
"numbackends": "0",
"stats_reset": "2019-09-11 21:28:47.953315-04",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "0",
"tup_fetched": "1799636",
"tup_inserted": "0",
"tup_returned": "25055182",
"tup_updated": "14",
"xact_commit": "66646",
"xact_rollback": "11"
},
"tpcc": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4742281934",
"blks_read": "50142790",
"conflicts": "0",
"datid": "48703",
"datname": "tpcc",
"deadlocks": "0",
"numbackends": "4",
"stats_reset": "2019-10-01 01:52:19.906323-04",
"temp_bytes": "2081841152",
"temp_files": "3",
"tup_deleted": "2799423",
"tup_fetched": "536951038",
"tup_inserted": "140399405",
"tup_returned": "3545127032",
"tup_updated": "77070773",
"xact_commit": "6987719",
"xact_rollback": "31587"
},
"template1": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "2802076",
"blks_read": "110386",
"conflicts": "0",
"datid": "1",
"datname": "template1",
"deadlocks": "0",
"numbackends": "0",
"stats_reset": "2019-09-11 22:05:20.533143-04",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "0",
"tup_fetched": "957023",
"tup_inserted": "0",
"tup_returned": "21964772",
"tup_updated": "0",
"xact_commit": "52342",
"xact_rollback": "0"
},
"template0": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "1781748",
"blks_read": "67616",
"conflicts": "0",
"datid": "12438",
"datname": "template0",
"deadlocks": "0",
"numbackends": "0",
"stats_reset": "2019-09-17 02:25:02.20631-04",
"temp_bytes": "0",
"temp_files": "0",
"tup_deleted": "0",
"tup_fetched": "573577",
"tup_inserted": "0",
"tup_returned": "15695369",
"tup_updated": "13",
"xact_commit": "31777",
"xact_rollback": "0"
}
},
"pg_stat_database_conflicts": {
"postgres": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "12439",
"datname": "postgres"
},
"tpcc": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "48703",
"datname": "tpcc"
},
"template1": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "1",
"datname": "template1"
},
"template0": {
"confl_bufferpin": "0",
"confl_deadlock": "0",
"confl_lock": "0",
"confl_snapshot": "0",
"confl_tablespace": "0",
"datid": "12438",
"datname": "template0"
}
}
},
"indexes": {
"pg_stat_user_indexes": {
"district": {
"idx_scan": "15653024",
"idx_tup_fetch": "1148850",
"idx_tup_read": "784621903",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "9223033",
"idx_tup_fetch": "562721",
"idx_tup_read": "1099806305",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_scan": "31615435",
"idx_tup_fetch": "31583869",
"idx_tup_read": "31583869",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_scan": "5598641",
"idx_tup_fetch": "7285271",
"idx_tup_read": "249003622",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_scan": "0",
"idx_tup_fetch": "0",
"idx_tup_read": "0",
"indexrelid": "48777",
"indexrelname": "oorder_o_w_id_o_d_id_o_c_id_o_id_key",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"stock": {
"idx_scan": "210092170",
"idx_tup_fetch": "80803051",
"idx_tup_read": "861170444",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_scan": "1978150",
"idx_tup_fetch": "6720484",
"idx_tup_read": "7959194",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_scan": "6158880",
"idx_tup_fetch": "174761547",
"idx_tup_read": "190916985",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"district": {
"idx_blks_hit": "60754817",
"idx_blks_read": "4504",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "26870183",
"idx_blks_read": "417",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "63375363",
"idx_blks_read": "7618",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "43581079",
"idx_blks_read": "405761",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "11960564",
"idx_blks_read": "1118998",
"indexrelid": "48777",
"indexrelname": "oorder_o_w_id_o_d_id_o_c_id_o_id_key",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"stock": {
"idx_blks_hit": "651507827",
"idx_blks_read": "3232267",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "12112080",
"idx_blks_read": "1151702",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_blks_hit": "213493860",
"idx_blks_read": "1074326",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
}
}
}
}