ottertune/client/driver/integrationTests/data/5__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": "3728070709",
"buffers_backend": "1754885456",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "1849403048",
"buffers_clean": "91949018",
"checkpoint_sync_time": "13886522",
"checkpoint_write_time": "215638279",
"checkpoints_req": "10009",
"checkpoints_timed": "2925",
"maxwritten_clean": "292630",
"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": "12204139",
"idx_tup_fetch": "21289456",
"last_autoanalyze": "2019-10-01 01:58:54.728893-04",
"n_dead_tup": "1616153",
"n_live_tup": "5999969",
"n_mod_since_analyze": "3784173",
"n_tup_del": "0",
"n_tup_hot_upd": "2611932",
"n_tup_ins": "6000000",
"n_tup_upd": "3784173",
"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": "6002521",
"idx_tup_fetch": "6002521",
"last_autoanalyze": "2019-10-01 02:06:15.381455-04",
"last_autovacuum": "2019-10-01 02:06:14.304752-04",
"n_dead_tup": "48341",
"n_live_tup": "200",
"n_mod_since_analyze": "1718556",
"n_tup_del": "0",
"n_tup_hot_upd": "1917751",
"n_tup_ins": "200",
"n_tup_upd": "1964573",
"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": "3639201",
"idx_tup_fetch": "5326522",
"last_autoanalyze": "2019-10-01 02:27:19.017545-04",
"last_autovacuum": "2019-10-01 02:23:41.594799-04",
"n_dead_tup": "873916",
"n_live_tup": "1908226",
"n_mod_since_analyze": "1053362",
"n_tup_del": "1819600",
"n_tup_hot_upd": "0",
"n_tup_ins": "3747756",
"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": "4004082",
"idx_tup_fetch": "134666460",
"n_dead_tup": "14331660",
"n_live_tup": "80341880",
"n_mod_since_analyze": "98527996",
"n_tup_del": "0",
"n_tup_hot_upd": "5384734",
"n_tup_ins": "80341880",
"n_tup_upd": "18186116",
"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": "7964573",
"n_mod_since_analyze": "1964573",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "7964573",
"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": "20568971",
"idx_tup_fetch": "20548511",
"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": "157697925",
"idx_tup_fetch": "157697925",
"n_dead_tup": "8872210",
"n_live_tup": "20000000",
"n_mod_since_analyze": "40346437",
"n_tup_del": "0",
"n_tup_hot_upd": "13770053",
"n_tup_ins": "20000000",
"n_tup_upd": "20346437",
"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": "26223713",
"idx_tup_fetch": "44223710",
"last_autoanalyze": "2019-10-01 01:53:45.816842-04",
"n_dead_tup": "1173273",
"n_live_tup": "8035213",
"n_mod_since_analyze": "3854813",
"n_tup_del": "0",
"n_tup_hot_upd": "715902",
"n_tup_ins": "8055673",
"n_tup_upd": "1819600",
"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": "10187546",
"idx_tup_fetch": "10187546",
"last_autoanalyze": "2019-10-01 02:06:10.033539-04",
"last_autovacuum": "2019-10-01 02:06:07.202845-04",
"n_dead_tup": "602411",
"n_live_tup": "1517",
"n_mod_since_analyze": "3503604",
"n_tup_del": "0",
"n_tup_hot_upd": "3418855",
"n_tup_ins": "2000",
"n_tup_upd": "4020246",
"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": "157573734",
"heap_blks_read": "4864072",
"idx_blks_hit": "149112774",
"idx_blks_read": "854306",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "65905620",
"heap_blks_read": "379821",
"idx_blks_hit": "105092786",
"idx_blks_read": "2326357",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"item": {
"heap_blks_hit": "20415243",
"heap_blks_read": "156128",
"idx_blks_hit": "41229597",
"idx_blks_read": "7066",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "6165378",
"heap_blks_read": "147866",
"relid": "48714",
"relname": "history",
"schemaname": "public"
},
"warehouse": {
"heap_blks_hit": "734620394",
"heap_blks_read": "34983",
"idx_blks_hit": "17208443",
"idx_blks_read": "309",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "697834205",
"heap_blks_read": "23668970",
"idx_blks_hit": "492988845",
"idx_blks_read": "3128846",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "28904386",
"heap_blks_read": "418189",
"idx_blks_hit": "27125082",
"idx_blks_read": "361369",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "29373255",
"heap_blks_read": "7930250",
"idx_blks_hit": "44948804",
"idx_blks_read": "2262246",
"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": "867222976",
"heap_blks_read": "121031",
"idx_blks_hit": "39113887",
"idx_blks_read": "3494",
"relid": "48711",
"relname": "district",
"schemaname": "public"
}
}
},
"database": {
"pg_stat_database": {
"postgres": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4042467",
"blks_read": "255326",
"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": "1798744",
"tup_inserted": "0",
"tup_returned": "25050278",
"tup_updated": "14",
"xact_commit": "66638",
"xact_rollback": "11"
},
"tpcc": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "3525387908",
"blks_read": "46669199",
"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": "1819703",
"tup_fetched": "400358016",
"tup_inserted": "126213069",
"tup_returned": "2800511378",
"tup_updated": "50121272",
"xact_commit": "4547982",
"xact_rollback": "20475"
},
"template1": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "2799784",
"blks_read": "110270",
"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": "955945",
"tup_inserted": "0",
"tup_returned": "21957742",
"tup_updated": "0",
"xact_commit": "52318",
"xact_rollback": "0"
},
"template0": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "1779824",
"blks_read": "67500",
"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": "572663",
"tup_inserted": "0",
"tup_returned": "15688509",
"tup_updated": "13",
"xact_commit": "31765",
"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": "10187546",
"idx_tup_fetch": "1143850",
"idx_tup_read": "779144830",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "6002521",
"idx_tup_fetch": "562721",
"idx_tup_read": "725873529",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_scan": "20568971",
"idx_tup_fetch": "20548511",
"idx_tup_read": "20548511",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_scan": "3639201",
"idx_tup_fetch": "5326522",
"idx_tup_read": "246028015",
"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": "157697925",
"idx_tup_fetch": "80803051",
"idx_tup_read": "575771144",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_scan": "1288026",
"idx_tup_fetch": "4373344",
"idx_tup_read": "5486817",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_scan": "4004082",
"idx_tup_fetch": "134666460",
"idx_tup_read": "147755692",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"district": {
"idx_blks_hit": "39113887",
"idx_blks_read": "3494",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "17208443",
"idx_blks_read": "309",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "41229597",
"idx_blks_read": "7066",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "27125082",
"idx_blks_read": "361369",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "8473931",
"idx_blks_read": "1059874",
"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": "492988845",
"idx_blks_read": "3128846",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "9198510",
"idx_blks_read": "1044089",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_blks_hit": "149112774",
"idx_blks_read": "854306",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
}
}
}
}
}