ottertune/integrationTests/data/3__metrics_before.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": "3711468025",
"buffers_backend": "1748212498",
"buffers_backend_fsync": "0",
"buffers_checkpoint": "1844203395",
"buffers_clean": "90793826",
"checkpoint_sync_time": "13824085",
"checkpoint_write_time": "215237438",
"checkpoints_req": "9975",
"checkpoints_timed": "2925",
"maxwritten_clean": "291291",
"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": "5879293",
"idx_tup_fetch": "13368527",
"last_autoanalyze": "2019-10-01 01:58:54.728893-04",
"n_dead_tup": "1305530",
"n_live_tup": "5999969",
"n_mod_since_analyze": "1820404",
"n_tup_del": "0",
"n_tup_hot_upd": "888107",
"n_tup_ins": "6000000",
"n_tup_upd": "1820404",
"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": "2893010",
"idx_tup_fetch": "2893010",
"last_autoanalyze": "2019-10-01 02:06:15.381455-04",
"last_autovacuum": "2019-10-01 02:06:14.304752-04",
"n_dead_tup": "294392",
"n_live_tup": "200",
"n_mod_since_analyze": "700587",
"n_tup_del": "0",
"n_tup_hot_upd": "915304",
"n_tup_ins": "200",
"n_tup_upd": "946604",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public",
"seq_scan": "77",
"seq_tup_read": "15400",
"vacuum_count": "0"
},
"new_order": {
"analyze_count": "0",
"autoanalyze_count": "4",
"autovacuum_count": "2",
"idx_scan": "1747601",
"idx_tup_fetch": "3438090",
"last_autoanalyze": "2019-10-01 02:17:01.408756-04",
"last_autovacuum": "2019-10-01 02:16:34.128283-04",
"n_dead_tup": "252483",
"n_live_tup": "1781822",
"n_mod_since_analyze": "74494",
"n_tup_del": "873800",
"n_tup_hot_upd": "0",
"n_tup_ins": "2683463",
"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": "1923506",
"idx_tup_fetch": "95956234",
"n_dead_tup": "7907329",
"n_live_tup": "69806810",
"n_mod_since_analyze": "78534607",
"n_tup_del": "0",
"n_tup_hot_upd": "1194152",
"n_tup_ins": "69806810",
"n_tup_upd": "8727797",
"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": "6946604",
"n_mod_since_analyze": "946604",
"n_tup_del": "0",
"n_tup_hot_upd": "0",
"n_tup_ins": "6946604",
"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": "9917460",
"idx_tup_fetch": "9907685",
"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": "107147747",
"idx_tup_fetch": "107147747",
"n_dead_tup": "7186256",
"n_live_tup": "20000000",
"n_mod_since_analyze": "29811367",
"n_tup_del": "0",
"n_tup_hot_upd": "4628880",
"n_tup_ins": "20000000",
"n_tup_upd": "9811367",
"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": "12638073",
"idx_tup_fetch": "30638070",
"last_autoanalyze": "2019-10-01 01:53:45.816842-04",
"n_dead_tup": "737688",
"n_live_tup": "6981605",
"n_mod_since_analyze": "1855405",
"n_tup_del": "0",
"n_tup_hot_upd": "162332",
"n_tup_ins": "6991380",
"n_tup_upd": "873800",
"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": "4910754",
"idx_tup_fetch": "4910754",
"last_autoanalyze": "2019-10-01 02:06:10.033539-04",
"last_autovacuum": "2019-10-01 02:06:07.202845-04",
"n_dead_tup": "814139",
"n_live_tup": "1517",
"n_mod_since_analyze": "1432027",
"n_tup_del": "0",
"n_tup_hot_upd": "1538046",
"n_tup_ins": "2000",
"n_tup_upd": "1937984",
"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": "81731495",
"heap_blks_read": "3889556",
"idx_blks_hit": "77340810",
"idx_blks_read": "563089",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"oorder": {
"heap_blks_hit": "35557176",
"heap_blks_read": "225864",
"idx_blks_hit": "52398746",
"idx_blks_read": "1041628",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"item": {
"heap_blks_hit": "9810192",
"heap_blks_read": "111073",
"idx_blks_hit": "19876537",
"idx_blks_read": "5706",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"history": {
"heap_blks_hit": "3036721",
"heap_blks_read": "135731",
"relid": "48714",
"relname": "history",
"schemaname": "public"
},
"warehouse": {
"heap_blks_hit": "355284616",
"heap_blks_read": "19062",
"idx_blks_hit": "7836064",
"idx_blks_read": "147",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"new_order": {
"heap_blks_hit": "13878952",
"heap_blks_read": "347557",
"idx_blks_hit": "11235530",
"idx_blks_read": "194324",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"stock": {
"heap_blks_hit": "355361854",
"heap_blks_read": "15467807",
"idx_blks_hit": "337171920",
"idx_blks_read": "1780869",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
},
"customer": {
"heap_blks_hit": "16358434",
"heap_blks_read": "4791323",
"idx_blks_hit": "24277099",
"idx_blks_read": "1116312",
"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": "591457953",
"heap_blks_read": "52364",
"idx_blks_hit": "17420288",
"idx_blks_read": "1978",
"relid": "48711",
"relname": "district",
"schemaname": "public"
}
}
},
"database": {
"pg_stat_database": {
"postgres": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "4039854",
"blks_read": "255086",
"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": "1797406",
"tup_inserted": "0",
"tup_returned": "25042922",
"tup_updated": "14",
"xact_commit": "66626",
"xact_rollback": "11"
},
"tpcc": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "2010330732",
"blks_read": "29746955",
"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": "873898",
"tup_fetched": "268481993",
"tup_inserted": "112531439",
"tup_returned": "1733888758",
"tup_updated": "24118080",
"xact_commit": "2192324",
"xact_rollback": "9784"
},
"template1": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "2797409",
"blks_read": "110030",
"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": "954834",
"tup_inserted": "0",
"tup_returned": "21947778",
"tup_updated": "0",
"xact_commit": "52288",
"xact_rollback": "0"
},
"template0": {
"blk_read_time": "0",
"blk_write_time": "0",
"blks_hit": "1777864",
"blks_read": "67282",
"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": "571727",
"tup_inserted": "0",
"tup_returned": "15679693",
"tup_updated": "13",
"xact_commit": "31749",
"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": "4910754",
"idx_tup_fetch": "1136350",
"idx_tup_read": "531426625",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_scan": "2893010",
"idx_tup_fetch": "562721",
"idx_tup_read": "349933757",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_scan": "9917460",
"idx_tup_fetch": "9907685",
"idx_tup_read": "9907685",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_scan": "1747601",
"idx_tup_fetch": "3438090",
"idx_tup_read": "173484677",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_scan": "87724",
"idx_tup_fetch": "6087723",
"idx_tup_read": "6099099",
"indexrelid": "48781",
"indexrelname": "idx_order",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"idx_scan": "620818",
"idx_tup_fetch": "2110053",
"idx_tup_read": "2777418",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_scan": "1923506",
"idx_tup_fetch": "95956234",
"idx_tup_read": "103606267",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"stock": {
"idx_scan": "107147747",
"idx_tup_fetch": "80803051",
"idx_tup_read": "283252338",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
}
},
"pg_statio_user_indexes": {
"district": {
"idx_blks_hit": "17420288",
"idx_blks_read": "1978",
"indexrelid": "48748",
"indexrelname": "district_pkey",
"relid": "48711",
"relname": "district",
"schemaname": "public"
},
"warehouse": {
"idx_blks_hit": "7836064",
"idx_blks_read": "147",
"indexrelid": "48750",
"indexrelname": "warehouse_pkey",
"relid": "48734",
"relname": "warehouse",
"schemaname": "public"
},
"item": {
"idx_blks_hit": "19876537",
"idx_blks_read": "5706",
"indexrelid": "48757",
"indexrelname": "item_pkey",
"relid": "48718",
"relname": "item",
"schemaname": "public"
},
"new_order": {
"idx_blks_hit": "11235530",
"idx_blks_read": "194324",
"indexrelid": "48759",
"indexrelname": "new_order_pkey",
"relid": "48721",
"relname": "new_order",
"schemaname": "public"
},
"oorder": {
"idx_blks_hit": "4955109",
"idx_blks_read": "477432",
"indexrelid": "48781",
"indexrelname": "idx_order",
"relid": "48724",
"relname": "oorder",
"schemaname": "public"
},
"customer": {
"idx_blks_hit": "5879883",
"idx_blks_read": "552145",
"indexrelid": "48797",
"indexrelname": "idx_customer_name",
"relid": "48704",
"relname": "customer",
"schemaname": "public"
},
"order_line": {
"idx_blks_hit": "77340810",
"idx_blks_read": "563089",
"indexrelid": "48813",
"indexrelname": "order_line_pkey",
"relid": "48728",
"relname": "order_line",
"schemaname": "public"
},
"stock": {
"idx_blks_hit": "337171920",
"idx_blks_read": "1780869",
"indexrelid": "48815",
"indexrelname": "stock_pkey",
"relid": "48731",
"relname": "stock",
"schemaname": "public"
}
}
}
}
}