586 lines
15 KiB
JSON
586 lines
15 KiB
JSON
{
|
|
"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": "3710134560",
|
|
"buffers_backend": "1747924107",
|
|
"buffers_backend_fsync": "0",
|
|
"buffers_checkpoint": "1842360079",
|
|
"buffers_clean": "90788869",
|
|
"checkpoint_sync_time": "13822962",
|
|
"checkpoint_write_time": "215026010",
|
|
"checkpoints_req": "9972",
|
|
"checkpoints_timed": "2925",
|
|
"maxwritten_clean": "291284",
|
|
"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": "3277954",
|
|
"idx_tup_fetch": "10106838",
|
|
"last_autoanalyze": "2019-10-01 01:58:54.728893-04",
|
|
"n_dead_tup": "965010",
|
|
"n_live_tup": "5999969",
|
|
"n_mod_since_analyze": "1014600",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "318435",
|
|
"n_tup_ins": "6000000",
|
|
"n_tup_upd": "1014600",
|
|
"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": "1613061",
|
|
"idx_tup_fetch": "1613061",
|
|
"last_autoanalyze": "2019-10-01 02:06:15.381455-04",
|
|
"last_autovacuum": "2019-10-01 02:06:14.304752-04",
|
|
"n_dead_tup": "271565",
|
|
"n_live_tup": "200",
|
|
"n_mod_since_analyze": "281713",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "507758",
|
|
"n_tup_ins": "200",
|
|
"n_tup_upd": "527730",
|
|
"relid": "48734",
|
|
"relname": "warehouse",
|
|
"schemaname": "public",
|
|
"seq_scan": "77",
|
|
"seq_tup_read": "15400",
|
|
"vacuum_count": "0"
|
|
},
|
|
"new_order": {
|
|
"analyze_count": "0",
|
|
"autoanalyze_count": "2",
|
|
"autovacuum_count": "1",
|
|
"idx_scan": "973741",
|
|
"idx_tup_fetch": "2665434",
|
|
"last_autoanalyze": "2019-10-01 02:04:03.755589-04",
|
|
"last_autovacuum": "2019-10-01 02:11:32.549937-04",
|
|
"n_dead_tup": "157677",
|
|
"n_live_tup": "1715072",
|
|
"n_mod_since_analyze": "738460",
|
|
"n_tup_del": "486870",
|
|
"n_tup_hot_upd": "0",
|
|
"n_tup_ins": "2245024",
|
|
"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": "1072431",
|
|
"idx_tup_fetch": "80107349",
|
|
"n_dead_tup": "4722627",
|
|
"n_live_tup": "65464051",
|
|
"n_mod_since_analyze": "70329908",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "217952",
|
|
"n_tup_ins": "65464051",
|
|
"n_tup_upd": "4865857",
|
|
"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": "6527730",
|
|
"n_mod_since_analyze": "527730",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "0",
|
|
"n_tup_ins": "6527730",
|
|
"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": "5527670",
|
|
"idx_tup_fetch": "5522217",
|
|
"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": "86340139",
|
|
"idx_tup_fetch": "86340139",
|
|
"n_dead_tup": "5165266",
|
|
"n_live_tup": "20000000",
|
|
"n_mod_since_analyze": "25468608",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "1564323",
|
|
"n_tup_ins": "20000000",
|
|
"n_tup_upd": "5468608",
|
|
"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": "7044478",
|
|
"idx_tup_fetch": "25044475",
|
|
"last_autoanalyze": "2019-10-01 01:53:45.816842-04",
|
|
"n_dead_tup": "468275",
|
|
"n_live_tup": "6547488",
|
|
"n_mod_since_analyze": "1034358",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "35122",
|
|
"n_tup_ins": "6552941",
|
|
"n_tup_upd": "486870",
|
|
"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": "2738576",
|
|
"idx_tup_fetch": "2738576",
|
|
"last_autoanalyze": "2019-10-01 02:06:10.033539-04",
|
|
"last_autovacuum": "2019-10-01 02:06:07.202845-04",
|
|
"n_dead_tup": "652556",
|
|
"n_live_tup": "1517",
|
|
"n_mod_since_analyze": "579036",
|
|
"n_tup_del": "0",
|
|
"n_tup_hot_upd": "826407",
|
|
"n_tup_ins": "2000",
|
|
"n_tup_upd": "1080671",
|
|
"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": "47597757",
|
|
"heap_blks_read": "3545844",
|
|
"idx_blks_hit": "44882844",
|
|
"idx_blks_read": "480525",
|
|
"relid": "48728",
|
|
"relname": "order_line",
|
|
"schemaname": "public"
|
|
},
|
|
"oorder": {
|
|
"heap_blks_hit": "22718802",
|
|
"heap_blks_read": "200074",
|
|
"idx_blks_hit": "29325100",
|
|
"idx_blks_read": "1002653",
|
|
"relid": "48724",
|
|
"relname": "oorder",
|
|
"schemaname": "public"
|
|
},
|
|
"item": {
|
|
"heap_blks_hit": "5422233",
|
|
"heap_blks_read": "109802",
|
|
"idx_blks_hit": "11076479",
|
|
"idx_blks_read": "5430",
|
|
"relid": "48718",
|
|
"relname": "item",
|
|
"schemaname": "public"
|
|
},
|
|
"history": {
|
|
"heap_blks_hit": "1748762",
|
|
"heap_blks_read": "131041",
|
|
"relid": "48714",
|
|
"relname": "history",
|
|
"schemaname": "public"
|
|
},
|
|
"warehouse": {
|
|
"heap_blks_hit": "165598915",
|
|
"heap_blks_read": "11443",
|
|
"idx_blks_hit": "4011277",
|
|
"idx_blks_read": "93",
|
|
"relid": "48734",
|
|
"relname": "warehouse",
|
|
"schemaname": "public"
|
|
},
|
|
"stock": {
|
|
"heap_blks_hit": "256956574",
|
|
"heap_blks_read": "14822485",
|
|
"idx_blks_hit": "269773221",
|
|
"idx_blks_read": "1734008",
|
|
"relid": "48731",
|
|
"relname": "stock",
|
|
"schemaname": "public"
|
|
},
|
|
"new_order": {
|
|
"heap_blks_hit": "4162716",
|
|
"heap_blks_read": "312348",
|
|
"idx_blks_hit": "5463827",
|
|
"idx_blks_read": "174768",
|
|
"relid": "48721",
|
|
"relname": "new_order",
|
|
"schemaname": "public"
|
|
},
|
|
"customer": {
|
|
"heap_blks_hit": "8984646",
|
|
"heap_blks_read": "4509453",
|
|
"idx_blks_hit": "14337286",
|
|
"idx_blks_read": "1047309",
|
|
"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": "349252012",
|
|
"heap_blks_read": "26418",
|
|
"idx_blks_hit": "8241650",
|
|
"idx_blks_read": "1473",
|
|
"relid": "48711",
|
|
"relname": "district",
|
|
"schemaname": "public"
|
|
}
|
|
}
|
|
},
|
|
"database": {
|
|
"pg_stat_database": {
|
|
"postgres": {
|
|
"blk_read_time": "0",
|
|
"blk_write_time": "0",
|
|
"blks_hit": "4038961",
|
|
"blks_read": "255028",
|
|
"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": "1796960",
|
|
"tup_inserted": "0",
|
|
"tup_returned": "25040470",
|
|
"tup_updated": "14",
|
|
"xact_commit": "66622",
|
|
"xact_rollback": "11"
|
|
},
|
|
"tpcc": {
|
|
"blk_read_time": "0",
|
|
"blk_write_time": "0",
|
|
"blks_hit": "1249759276",
|
|
"blks_read": "28117212",
|
|
"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": "486962",
|
|
"tup_fetched": "214291889",
|
|
"tup_inserted": "106892918",
|
|
"tup_returned": "1161588922",
|
|
"tup_updated": "13444454",
|
|
"xact_commit": "1223221",
|
|
"xact_rollback": "5456"
|
|
},
|
|
"template1": {
|
|
"blk_read_time": "0",
|
|
"blk_write_time": "0",
|
|
"blks_hit": "2795320",
|
|
"blks_read": "109918",
|
|
"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": "953789",
|
|
"tup_inserted": "0",
|
|
"tup_returned": "21943682",
|
|
"tup_updated": "0",
|
|
"xact_commit": "52270",
|
|
"xact_rollback": "0"
|
|
},
|
|
"template0": {
|
|
"blk_read_time": "0",
|
|
"blk_write_time": "0",
|
|
"blks_hit": "1776078",
|
|
"blks_read": "67166",
|
|
"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": "570835",
|
|
"tup_inserted": "0",
|
|
"tup_returned": "15674789",
|
|
"tup_updated": "13",
|
|
"xact_commit": "31741",
|
|
"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": "2738576",
|
|
"idx_tup_fetch": "1133850",
|
|
"idx_tup_read": "313211984",
|
|
"indexrelid": "48748",
|
|
"indexrelname": "district_pkey",
|
|
"relid": "48711",
|
|
"relname": "district",
|
|
"schemaname": "public"
|
|
},
|
|
"warehouse": {
|
|
"idx_scan": "1613061",
|
|
"idx_tup_fetch": "562721",
|
|
"idx_tup_read": "162425405",
|
|
"indexrelid": "48750",
|
|
"indexrelname": "warehouse_pkey",
|
|
"relid": "48734",
|
|
"relname": "warehouse",
|
|
"schemaname": "public"
|
|
},
|
|
"item": {
|
|
"idx_scan": "5527670",
|
|
"idx_tup_fetch": "5522217",
|
|
"idx_tup_read": "5522217",
|
|
"indexrelid": "48757",
|
|
"indexrelname": "item_pkey",
|
|
"relid": "48718",
|
|
"relname": "item",
|
|
"schemaname": "public"
|
|
},
|
|
"new_order": {
|
|
"idx_scan": "973741",
|
|
"idx_tup_fetch": "2665434",
|
|
"idx_tup_read": "107537516",
|
|
"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": "86340139",
|
|
"idx_tup_fetch": "59995443",
|
|
"idx_tup_read": "215788451",
|
|
"indexrelid": "48815",
|
|
"indexrelname": "stock_pkey",
|
|
"relid": "48731",
|
|
"relname": "stock",
|
|
"schemaname": "public"
|
|
},
|
|
"customer": {
|
|
"idx_scan": "345927",
|
|
"idx_tup_fetch": "1174812",
|
|
"idx_tup_read": "1559277",
|
|
"indexrelid": "48797",
|
|
"indexrelname": "idx_customer_name",
|
|
"relid": "48704",
|
|
"relname": "customer",
|
|
"schemaname": "public"
|
|
},
|
|
"order_line": {
|
|
"idx_scan": "1072431",
|
|
"idx_tup_fetch": "80107349",
|
|
"idx_tup_read": "84804674",
|
|
"indexrelid": "48813",
|
|
"indexrelname": "order_line_pkey",
|
|
"relid": "48728",
|
|
"relname": "order_line",
|
|
"schemaname": "public"
|
|
}
|
|
},
|
|
"pg_statio_user_indexes": {
|
|
"district": {
|
|
"idx_blks_hit": "8241650",
|
|
"idx_blks_read": "1473",
|
|
"indexrelid": "48748",
|
|
"indexrelname": "district_pkey",
|
|
"relid": "48711",
|
|
"relname": "district",
|
|
"schemaname": "public"
|
|
},
|
|
"warehouse": {
|
|
"idx_blks_hit": "4011277",
|
|
"idx_blks_read": "93",
|
|
"indexrelid": "48750",
|
|
"indexrelname": "warehouse_pkey",
|
|
"relid": "48734",
|
|
"relname": "warehouse",
|
|
"schemaname": "public"
|
|
},
|
|
"item": {
|
|
"idx_blks_hit": "11076479",
|
|
"idx_blks_read": "5430",
|
|
"indexrelid": "48757",
|
|
"indexrelname": "item_pkey",
|
|
"relid": "48718",
|
|
"relname": "item",
|
|
"schemaname": "public"
|
|
},
|
|
"new_order": {
|
|
"idx_blks_hit": "5463827",
|
|
"idx_blks_read": "174768",
|
|
"indexrelid": "48759",
|
|
"indexrelname": "new_order_pkey",
|
|
"relid": "48721",
|
|
"relname": "new_order",
|
|
"schemaname": "public"
|
|
},
|
|
"oorder": {
|
|
"idx_blks_hit": "2612911",
|
|
"idx_blks_read": "424082",
|
|
"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": "269773221",
|
|
"idx_blks_read": "1734008",
|
|
"indexrelid": "48815",
|
|
"indexrelname": "stock_pkey",
|
|
"relid": "48731",
|
|
"relname": "stock",
|
|
"schemaname": "public"
|
|
},
|
|
"customer": {
|
|
"idx_blks_hit": "3779668",
|
|
"idx_blks_read": "509864",
|
|
"indexrelid": "48797",
|
|
"indexrelname": "idx_customer_name",
|
|
"relid": "48704",
|
|
"relname": "customer",
|
|
"schemaname": "public"
|
|
},
|
|
"order_line": {
|
|
"idx_blks_hit": "44882844",
|
|
"idx_blks_read": "480525",
|
|
"indexrelid": "48813",
|
|
"indexrelname": "order_line_pkey",
|
|
"relid": "48728",
|
|
"relname": "order_line",
|
|
"schemaname": "public"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|