ottertune/integrationTests/data/9__metrics_after.json

586 lines
15 KiB
JSON
Raw 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": "3739667062",
"buffers_backend": "1757877105",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "1859037473",
"buffers_clean": "92846503",
"checkpoint_sync_time": "13930003",
"checkpoint_write_time": "216446066",
"checkpoints_req": "10070",
"checkpoints_timed": "2925",
"maxwritten_clean": "295323",
"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": "23489021",
"idx_tup_fetch": "35426426",
"last_autoanalyze": "2019-10-01 01:58:54.728893-04",
"n_dead_tup": "1725318",
"n_live_tup": "5999969",
"n_mod_since_analyze": "7284343",
"n_tup_del": "0",
"n_tup_hot_upd": "6045104",
"n_tup_ins": "6000000",
"n_tup_upd": "7284343",
"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": "11552043",
"idx_tup_fetch": "11552043",
"last_autoanalyze": "2019-10-01 02:06:15.381455-04",
"last_autovacuum": "2019-10-01 02:06:14.304752-04",
"n_dead_tup": "48610",
"n_live_tup": "200",
"n_mod_since_analyze": "3534626",
"n_tup_del": "0",
"n_tup_hot_upd": "3733821",
"n_tup_ins": "200",
"n_tup_upd": "3780643",
"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": "7007401",
"idx_tup_fetch": "8693443",
"last_autoanalyze": "2019-10-01 02:27:19.017545-04",
"last_autovacuum": "2019-10-01 02:23:41.594799-04",
"n_dead_tup": "2577186",
"n_live_tup": "2105778",
"n_mod_since_analyze": "4619114",
"n_tup_del": "3503700",
"n_tup_hot_upd": "0",
"n_tup_ins": "5648578",
"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": "7708980",
"idx_tup_fetch": "203688192",
"n_dead_tup": "21201294",
"n_live_tup": "99160686",
"n_mod_since_analyze": "134189898",
"n_tup_del": "0",
"n_tup_hot_upd": "17241143",
"n_tup_ins": "99160686",
"n_tup_upd": "35029212",
"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": "9780643",
"n_mod_since_analyze": "3780643",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "9780643",
"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": "39595814",
"idx_tup_fetch": "39556184",
"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": "247977098",
"idx_tup_fetch": "247977098",
"n_dead_tup": "9224106",
"n_live_tup": "20000000",
"n_mod_since_analyze": "59165243",
"n_tup_del": "0",
"n_tup_hot_upd": "32524442",
"n_tup_ins": "20000000",
"n_tup_upd": "39165243",
"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": "50480031",
"idx_tup_fetch": "68480028",
"last_autoanalyze": "2019-10-01 01:53:45.816842-04",
"n_dead_tup": "1316633",
"n_live_tup": "9916865",
"n_mod_since_analyze": "7420565",
"n_tup_del": "0",
"n_tup_hot_upd": "2276617",
"n_tup_ins": "9956495",
"n_tup_upd": "3503700",
"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": "19605608",
"idx_tup_fetch": "19605608",
"last_autoanalyze": "2019-10-01 02:06:10.033539-04",
"last_autovacuum": "2019-10-01 02:06:07.202845-04",
"n_dead_tup": "602267",
"n_live_tup": "1517",
"n_mod_since_analyze": "7201326",
"n_tup_del": "0",
"n_tup_hot_upd": "7135747",
"n_tup_ins": "2000",
"n_tup_upd": "7737138",
"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": "276061843",
"heap_blks_read": "6017468",
"idx_blks_hit": "259626756",
"idx_blks_read": "1288989",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "118430206",
"heap_blks_read": "542779",
"idx_blks_hit": "195017863",
"idx_blks_read": "3563629",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"item": {
"heap_blks_hit": "39433080",
"heap_blks_read": "162524",
"idx_blks_hit": "79374009",
"idx_blks_read": "8170",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "11748810",
"heap_blks_read": "168516",
"relid": "48714",
"relname": "history",
"schemaname": "public"
},
"warehouse": {
"heap_blks_hit": "1382592299",
"heap_blks_read": "43879",
"idx_blks_hit": "33859290",
"idx_blks_read": "525",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "1259872846",
"heap_blks_read": "28750777",
"idx_blks_hit": "765997545",
"idx_blks_read": "3414257",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "39761232",
"heap_blks_read": "491145",
"idx_blks_hit": "55688837",
"idx_blks_read": "463644",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "51667740",
"heap_blks_read": "10907467",
"idx_blks_hit": "80094150",
"idx_blks_read": "2948779",
"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": "887800405",
"heap_blks_read": "123935",
"idx_blks_hit": "76405780",
"idx_blks_read": "5514",
"relid": "48711",
"relname": "district",
"schemaname": "public"
}
}
},
"database": {
"pg_stat_database": {
"postgres": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4045979",
"blks_read": "255618",
"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": "1800528",
"tup_inserted": "0",
"tup_returned": "25060086",
"tup_updated": "14",
"xact_commit": "66654",
"xact_rollback": "11"
},
"tpcc": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "5614326717",
"blks_read": "58907720",
"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": "3503803",
"tup_fetched": "635651873",
"tup_inserted": "150649589",
"tup_returned": "4082374270",
"tup_updated": "96500406",
"xact_commit": "8751532",
"xact_rollback": "39657"
},
"template1": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "2804248",
"blks_read": "110622",
"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": "958101",
"tup_inserted": "0",
"tup_returned": "21971802",
"tup_updated": "0",
"xact_commit": "52366",
"xact_rollback": "0"
},
"template0": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "1783552",
"blks_read": "67852",
"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": "574491",
"tup_inserted": "0",
"tup_returned": "15702229",
"tup_updated": "13",
"xact_commit": "31789",
"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": "19605608",
"idx_tup_fetch": "1153850",
"idx_tup_read": "788574487",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "11552043",
"idx_tup_fetch": "562721",
"idx_tup_read": "1370205965",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_scan": "39595814",
"idx_tup_fetch": "39556184",
"idx_tup_read": "39556184",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_scan": "7007401",
"idx_tup_fetch": "8693443",
"idx_tup_read": "251146357",
"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": "247977098",
"idx_tup_fetch": "80803051",
"idx_tup_read": "1066566264",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_scan": "2478116",
"idx_tup_fetch": "8415522",
"idx_tup_read": "9708469",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_scan": "7708980",
"idx_tup_fetch": "203688192",
"idx_tup_read": "221969864",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"district": {
"idx_blks_hit": "76405780",
"idx_blks_read": "5514",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "33859290",
"idx_blks_read": "525",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "79374009",
"idx_blks_read": "8170",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "55688837",
"idx_blks_read": "463644",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "13991593",
"idx_blks_read": "1649177",
"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": "765997545",
"idx_blks_read": "3414257",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "13926353",
"idx_blks_read": "1486331",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_blks_hit": "259626756",
"idx_blks_read": "1288989",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
}
}
}
}