ottertune/client/driver/integrationTests/data/7__metrics_before.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": "3729497112",
"buffers_backend": "1755071354",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "1852394801",
"buffers_clean": "91953630",
"checkpoint_sync_time": "13888656",
"checkpoint_write_time": "215908394",
"checkpoints_req": "10015",
"checkpoints_timed": "2925",
"maxwritten_clean": "292846",
"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": "15148346",
"idx_tup_fetch": "24980248",
"last_autoanalyze": "2019-10-01 01:58:54.728893-04",
"n_dead_tup": "1654074",
"n_live_tup": "5999969",
"n_mod_since_analyze": "4699350",
"n_tup_del": "0",
"n_tup_hot_upd": "3506347",
"n_tup_ins": "6000000",
"n_tup_upd": "4699350",
"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": "7449085",
"idx_tup_fetch": "7449085",
"last_autoanalyze": "2019-10-01 02:06:15.381455-04",
"last_autovacuum": "2019-10-01 02:06:14.304752-04",
"n_dead_tup": "48236",
"n_live_tup": "200",
"n_mod_since_analyze": "2192053",
"n_tup_del": "0",
"n_tup_hot_upd": "2391248",
"n_tup_ins": "200",
"n_tup_upd": "2438070",
"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": "4522561",
"idx_tup_fetch": "6209635",
"last_autoanalyze": "2019-10-01 02:27:19.017545-04",
"last_autovacuum": "2019-10-01 02:23:41.594799-04",
"n_dead_tup": "1320602",
"n_live_tup": "1956750",
"n_mod_since_analyze": "1985246",
"n_tup_del": "2261280",
"n_tup_hot_upd": "0",
"n_tup_ins": "4242966",
"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": "4975027",
"idx_tup_fetch": "152662767",
"n_dead_tup": "16229019",
"n_live_tup": "85243169",
"n_mod_since_analyze": "107846620",
"n_tup_del": "0",
"n_tup_hot_upd": "8440096",
"n_tup_ins": "85243169",
"n_tup_upd": "22603451",
"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": "8438070",
"n_mod_since_analyze": "2438070",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "8438070",
"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": "25524676",
"idx_tup_fetch": "25499210",
"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": "181169599",
"idx_tup_fetch": "181169599",
"n_dead_tup": "9003487",
"n_live_tup": "20000000",
"n_mod_since_analyze": "45247726",
"n_tup_del": "0",
"n_tup_hot_upd": "18651286",
"n_tup_ins": "20000000",
"n_tup_upd": "25247726",
"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": "32547545",
"idx_tup_fetch": "50547542",
"last_autoanalyze": "2019-10-01 01:53:45.816842-04",
"n_dead_tup": "1210700",
"n_live_tup": "8525417",
"n_mod_since_analyze": "4786697",
"n_tup_del": "0",
"n_tup_hot_upd": "1124771",
"n_tup_ins": "8550883",
"n_tup_upd": "2261280",
"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": "12642069",
"idx_tup_fetch": "12642069",
"last_autoanalyze": "2019-10-01 02:06:10.033539-04",
"last_autovacuum": "2019-10-01 02:06:07.202845-04",
"n_dead_tup": "602285",
"n_live_tup": "1517",
"n_mod_since_analyze": "4467305",
"n_tup_del": "0",
"n_tup_hot_upd": "4387562",
"n_tup_ins": "2000",
"n_tup_upd": "4988953",
"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": "188843161",
"heap_blks_read": "5140172",
"idx_blks_hit": "178190228",
"idx_blks_read": "950774",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "79615354",
"heap_blks_read": "409921",
"idx_blks_hit": "128801801",
"idx_blks_read": "2385900",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"item": {
"heap_blks_hit": "25369031",
"heap_blks_read": "157399",
"idx_blks_hit": "51164627",
"idx_blks_read": "7342",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "7623127",
"heap_blks_read": "153174",
"relid": "48714",
"relname": "history",
"schemaname": "public"
},
"warehouse": {
"heap_blks_hit": "903522367",
"heap_blks_read": "37207",
"idx_blks_hit": "21548099",
"idx_blks_read": "363",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "845365404",
"heap_blks_read": "24411313",
"idx_blks_hit": "564005506",
"idx_blks_read": "3177054",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "31755621",
"heap_blks_read": "450397",
"idx_blks_hit": "34530433",
"idx_blks_read": "394518",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "35700379",
"heap_blks_read": "8240169",
"idx_blks_hit": "54265888",
"idx_blks_read": "2332165",
"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": "872592503",
"heap_blks_read": "123743",
"idx_blks_hit": "48832773",
"idx_blks_read": "3999",
"relid": "48711",
"relname": "district",
"schemaname": "public"
}
}
},
"database": {
"pg_stat_database": {
"postgres": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4043360",
"blks_read": "255384",
"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": "1799190",
"tup_inserted": "0",
"tup_returned": "25052730",
"tup_updated": "14",
"xact_commit": "66642",
"xact_rollback": "11"
},
"tpcc": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4072366195",
"blks_read": "48380089",
"conflicts": "0",
"datid": "48703",
"datname": "tpcc",
"deadlocks": "0",
"numbackends": "1",
"stats_reset": "2019-10-01 01:52:19.906323-04",
"temp_bytes": "2081841152",
"temp_files": "3",
"tup_deleted": "2261383",
"tup_fetched": "461641026",
"tup_inserted": "132578275",
"tup_returned": "3135083451",
"tup_updated": "62238957",
"xact_commit": "5643634",
"xact_rollback": "25487"
},
"template1": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "2801873",
"blks_read": "110382",
"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": "956990",
"tup_inserted": "0",
"tup_returned": "21961838",
"tup_updated": "0",
"xact_commit": "52336",
"xact_rollback": "0"
},
"template0": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "1781610",
"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": "573555",
"tup_inserted": "0",
"tup_returned": "15693413",
"tup_updated": "13",
"xact_commit": "31773",
"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": "12642069",
"idx_tup_fetch": "1146350",
"idx_tup_read": "781610948",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "7449085",
"idx_tup_fetch": "562721",
"idx_tup_read": "893826457",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_scan": "25524676",
"idx_tup_fetch": "25499210",
"idx_tup_read": "25499210",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_scan": "4522561",
"idx_tup_fetch": "6209635",
"idx_tup_read": "247370671",
"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": "181169599",
"idx_tup_fetch": "80803051",
"idx_tup_read": "704013133",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_scan": "1598403",
"idx_tup_fetch": "5430306",
"idx_tup_read": "6612718",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_scan": "4975027",
"idx_tup_fetch": "152662767",
"idx_tup_read": "167175549",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"district": {
"idx_blks_hit": "48832773",
"idx_blks_read": "3999",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "21548099",
"idx_blks_read": "363",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "51164627",
"idx_blks_read": "7342",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "34530433",
"idx_blks_read": "394518",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "10040375",
"idx_blks_read": "1085502",
"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": "564005506",
"idx_blks_read": "3177054",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "10525099",
"idx_blks_read": "1086753",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_blks_hit": "178190228",
"idx_blks_read": "950774",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
}
}
}
}