[repository1]
dbserver01:5432
begin:
2020-12-02 00:00
end:
2020-12-03 00:00





Report Overview

Database system identifier6124488995257552289
Host namedbserver01
Port ID5432
PostgreSQL version13.1
Begins at2020-12-02 16:13:00
Ends at2020-12-02 17:13:00
Period01:00:00
Database size1055 MiB
Number of commits16532
Number of rollbacks64

Alerts

Time
Message
2020-12-02 16:44:00load average 1min exceeds threshold in snapshot '2020-12-02 16:44:00' --- 7.19 (threshold = 7)
2020-12-02 17:08:00load average 1min exceeds threshold in snapshot '2020-12-02 17:08:00' --- 8.09 (threshold = 7)

Statistics

Databases Statistics

Database
MiB
+MiB
Commit/s
Rollback/s
Hit%
Gets/s
Reads/s
Rows/s
dbt21054334.5920.01895.1828.51940.425772.807

Transactions

Transactions
Time
Transactions per second
0
1
2
3
4
5
6
16:30
17:00
dbt2 commit_tps

dbt2 rollback_tps

Database Size

Database Size
Time
Database Size (Bytes)
1G
1.01G
1.02G
1.02G
1.03G
16:30
17:00
dbt2 size

Recovery Conflicts

Database
On tablespaces
On locks
On snapshots
On bufferpins
On deadlocks
dbt200000

Instance Statistics

Write Ahead Logs

Total size (MiB)1353.734
Average output rate (MiB/s)0.376
Number of archived files84
Number of archiving errors0
Latest WAL file0000000100000000000000CF
Last archived file0000000100000000000000CD
WAL Write Rate
Time
Bytes per snapshot
Write rate (Bytes/s)
16M
20M
24M
28M
272.84k
341.1k
409.37k
477.63k
16:30
17:00
Bytes/snapshot (Bytes)

Write rate (Bytes/s)

Backend States Overview

idle (%)
idle in xact (%)
waiting (%)
running (%)
65.20.12.332.5

Backend States

Backend States
Time
Percent
0
20
40
60
80
100
16:30
17:00
idle

idle in xact

waiting

running

Background Writer Statistics

Written buffers by bgwriter20.571
Written buffers by backends5.520
bgwriter scans quitted earlier0.000
fsyncs executed on backends0.000
Allocated buffers24.841
Background Writer Statistics
Time
Buffer rate (buffers/s)
Frequency (s-1)
0
20
40
60
80
100
120
0
0.18
0.37
0.55
0.73
0.92
1.1
16:30
17:00
Written buffers by bgwriter(L)

Written buffers by backends(L)

Allocated buffers(L)

bgwriter scans quitted earlier(R)

fsyncs executed on backends(R)

OS Resources

CPU and Memory

CPU Usage

CPU Usage
Time
Percent
0
20
40
60
80
100
16:30
17:00
idle

iowait

system

user

Load Average

Load Average
Time
Load Average
0
2
4
6
8
16:30
17:00
1min

5min

15min

Memory Usage

Memory Usage (Linear Scale)
Time
Bytes
0
128M
256M
384M
512M
640M
768M
16:30
17:00
memfree

buffers

cached

swap

dirty

Disks

Disk Usage per Tablespace

Tablespace
Location
Device
Used (MiB)
Avail (MiB)
Remain (%)
<pg_xlog_archive>/home/statsinfo/var/archivelog8:211726729438.3
pg_default/home/statsinfo/var/pgdata8:211726729438.3
pg_global/home/statsinfo/var/pgdata8:211726729438.3

Disk Usage per Table

Database
Schema
Table
Size (MiB)
Table reads
Index reads
Toast reads
dbt2publicstock34747888101530
dbt2publicorder_line282308926840
dbt2publiccustomer18354125151600
dbt2publichistory257000
dbt2publicorders1971959430
dbt2publicitem1045242290
dbt2publicnew_order4515580
dbt2publicwarehouse0670
dbt2publicdistrict0200
Table Size
dbt2.public.stock
dbt2.public.order_line
dbt2.public.customer
other
40%
32%
21%
7%
Disk Read
dbt2.public.customer
dbt2.public.stock
other
48%
40%
12%

I/O Usage

Device name
Containing table spaces
Read
Write
Average I/O queue
Total I/O time (ms)
Total bytes (MiB)
Peak rate (KiB/s)
Total time (ms)
Total bytes (MiB)
Peak rate (KiB/s)
Total time (ms)
sda2{<pg_xlog_archive>,pg_default,pg_global}32142766.401010285271927156.0016725652055.500177375832

Toggle I/O Rate Graph
I/O Rate
Time
I/O Rate (Bytes/s)
512k
1M
1.5M
2M
2.5M
16:30
17:00
sda2 read

sda2 write

Toggle I/O Peak Rate Graph
I/O Peak Rate per Snapshot Interval
Time
I/O Peak Rate (Bytes/s)
1M
2M
3M
4M
5M
6M
7M
16:30
17:00
sda2 read

sda2 write

Toggle I/O Time Graph
I/O Time
Time
I/O Time (%)
0
2000
4000
6000
8000
10000
12000
16:30
17:00
sda2 avg read time

sda2 avg write time

Activities

Notable Tables

Heavily Updated Tables

Database
Schema
Table
INSERT
UPDATE
DELETE
Total
HOT (%)
dbt2publicorder_line7159661831013342775.2
dbt2publicstock0715960715960.0
dbt2publicdistrict01348201348299.8
dbt2publicorders6801650001330180.5
dbt2publicnew_order680206410132120.0
dbt2publiccustomer01317801317822.0
dbt2publichistory66780066780.0
dbt2publicwarehouse0667806678100.0
dbt2publicitem00000.0

Heavily Accessed Tables

Database
Schema
Table
Seq scan
Seq tup read
Tup per seq
Hit ratio (%)
dbt2publicwarehouse206992016209.741100.0

Low Density Tables

Database
Schema
Table
Tuples
Logical pages
Physical pages
L/P ratio (%)
dbt2publicorder_line2920012360503612199.8
dbt2publicstock999995416674449293.7
dbt2publicorders30683325572481103.1
dbt2publichistory3067923163329596.0
dbt2publiccustomer300000230772342498.5
dbt2publicitem1000001235128196.4

Correlation

Database
Schema
Table
Column
Correlation
dbt2publicnew_orderno_w_id0.914
dbt2publicdistrictd_w_id0.368
dbt2publicorder_lineol_d_id0.212
dbt2publiccustomerc_d_id0.199
dbt2publiccustomerc_d_id0.199
dbt2publicorderso_d_id0.195
dbt2publicorderso_d_id0.195
dbt2publicnew_orderno_d_id0.188
dbt2publicnew_orderno_o_id0.156
dbt2publicdistrictd_id0.125

Query Activity

Functions

Database
Schema
Function
Calls
Total time (ms)
Self time (ms)
Time/call (ms)
dbt2publicdelivery650540961.861540961.861832.249
dbt2publicnew_order67954373175.3674373175.367643.587
dbt2publicorder_status597282199.495282199.495472.696
dbt2publicstock_level613284760.145284760.145464.535
dbt2publicpayment66772409754.6912409754.691360.904
dbt2publicmake_new_order_info1019254285.8064285.8060.042

Statements

User
Database
Query
Calls
Total execution time (sec)
Average execution time (sec)
Plans
Total planning time (sec)
Average planning time (sec)
statsinfodbt2FETCH ALL IN mycursor68374403.6860.64400.0000
statsinfodbt2SELECT payment(?, ?, ?, ?, ?, ?, ?)66952418.2820.36100.0000
statsinfodbt2SELECT delivery(9, 10)653542.3430.83100.0000
statsinfodbt2SELECT stock_level(?, ?, ?)614284.8520.46400.0000
statsinfodbt2SELECT * FROM order_status(?, ?, ?, ?)599282.5900.47200.0000
statsinfodbt2SELECT c.oid AS relid, c.relnamespace, c.reltablespace, c.relname, c.reltoastrelid, x.indexrelid AS reltoastidxid, c.relkind, c.relpages, c.reltuples, c.reloptions, pg_relation_size(c.oid), pg_stat_get_numscans(c.oid) AS seq_scan, pg_stat_get_
display full query string
6030.7280.51200.0000
statsinfodbt2
SELECT EXTRACT(? FROM TRANSACTION_TIMESTAMP()), datname, numbackends,
       xact_commit, xact_rollback, blks_read, blks_hit, tup_returned,
       tup_fetched, tup_inserted, tup_updated, tup_deleted
FROM pg_stat_database
display full query string
6024.8860.41500.0000
statsinfodbt2
SELECT EXTRACT(? FROM TRANSACTION_TIMESTAMP()), a.schemaname, a.relname,
       seq_scan, seq_tup_read, idx_scan, idx_tup_fetch, n_tup_ins, n_tup_upd,
       n_tup_del, n_tup_hot_upd, n_live_tup, n_dead_tup, heap_blks_read,
       heap_blks_hit, idx_blks_read, idx_blks_hit, toast_blks_read,
display full query string
6024.5270.40900.0000
statsinfodbt2
SELECT EXTRACT(? FROM TRANSACTION_TIMESTAMP()), a.schemaname, a.relname,
       a.indexrelname, idx_scan, idx_tup_read, idx_tup_fetch, idx_blks_read,
       idx_blks_hit
FROM pg_stat_all_indexes a, pg_statio_all_indexes b
display full query string
6024.4340.40700.0000
statsinfodbt2CLOSE mycursor68371.7810.00000.0000

Plans

Query ID
User
Database
Plan count
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
Query (child row)
Plan details (child row)
19099031651909903165statsinfodbt2166952418.2820.3611734804.4570.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
26944272042694427204statsinfodbt21653542.3430.831497424.4340.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
26178946292617894629statsinfodbt21614284.8520.464274705.6680.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
13666019181366601918statsinfodbt21599282.5900.472279756.6810.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
25849186802584918680statsinfodbt216030.7280.5120.0000.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
259851661259851661statsinfodbt216024.8860.4150.0000.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
29240319902924031990statsinfodbt216024.5270.4090.0000.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
11508820131150882013statsinfodbt216024.4340.4070.0000.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
13808777591380877759statsinfodbt21600.7750.0130.0000.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)
91427219142721statsinfodbt21600.7470.0120.0000.000
Plan ID
Calls
Total time (sec)
Time/call (sec)
Block read time (ms)
Block write time (ms)
First call
Last call
Plan (child row)

Long Transactions

PID
Client address
Xact Start
Duration (sec)
Last query
9214::12020-12-02 16:58:5019.766COMMIT
9214::12020-12-02 17:05:0618.768COMMIT
9210::12020-12-02 16:56:4218.096COMMIT
9210::12020-12-02 16:27:0217.214COMMIT
9208::12020-12-02 16:58:5016.753FETCH ALL IN mycursor
9202::12020-12-02 16:58:5016.679COMMIT
9202::12020-12-02 17:10:0916.429COMMIT
9221::12020-12-02 16:58:5016.330FETCH ALL IN mycursor
9210::12020-12-02 16:45:3415.877DECLARE mycursor CURSOR FOR SELECT new_order(9, 5, 1592, 1, 8, make_new_order_info(38400, 9, 1), make_new_order_info(57086, 9, 5), make_new_order_info(24416, 9, 10), make_new_order_info(47294, 9, 7), make_new_order_info(90868, 9, 9), make_new_order_info(97
display full query string
9210::12020-12-02 16:43:2915.581COMMIT

Lock Conflicts

Database
Schema
Relation
Duration
Blockee PID
Blocker PID
Blocker GID
Blockee query
Blocker query
00:00:1492149208FETCH ALL IN mycursor
DECLARE mycursor CURSOR FOR SELECT new_order(7, 10, 1017, 1, 12, make_new_order_info(83968, 7, 2...;SELECT w_tax
FROM warehouse
WHERE w_id = $1;SELECT d_tax, d_next_o_id
FROM district 
WHERE d_w_id = $1
display full query string
00:00:1292049219SELECT payment(8, 9, 1144, 8, 9, '', 4861.960000)
SELECT payment(8, 3, 0, 8, 3, 'CALLYBARABLE', 2287.110000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip
FROM warehouse
WHERE w_id = $1;UPDATE warehouse
SET w_ytd = w_ytd + $1
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip
display full query string
00:00:0892109212SELECT payment(7, 5, 1008, 7, 5, '', 1451.580000)
SELECT payment(7, 4, 0, 6, 1, 'ESEOUGHTOUGHT', 3180.460000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip
FROM warehouse
WHERE w_id = $1;UPDATE warehouse
SET w_ytd = w_ytd + $1
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip
display full query string
00:00:0592049214FETCH ALL IN mycursor
DECLARE mycursor CURSOR FOR SELECT new_order(2, 3, 71, 1, 10, make_new_order_info(89856, 2, 4), ...;SELECT w_tax
FROM warehouse
WHERE w_id = $1;SELECT d_tax, d_next_o_id
FROM district 
WHERE d_w_id = $1
display full query string
00:00:0592199221SELECT payment(1, 5, 0, 1, 5, 'ABLEESEOUGHT', 2693.210000)
SELECT payment(1, 10, 1982, 1, 10, '', 1534.610000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip
FROM warehouse
WHERE w_id = $1;UPDATE warehouse
SET w_ytd = w_ytd + $1
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip
display full query string

Maintenances

Checkpoints

Number of checkpoints28
Caused by timeout0
Caused by WALs0
Average written buffers6105.679
Maximum written buffers6465.000
Average checkpoint duration74.531
Maximum checkpoint duration88.732

Autovacuums

Overview

Database
Schema
Table
Count
Avg index scans
Avg removed rows
Avg remain rows
Avg remain dead
Avg duration (sec)
Max duration (sec)
Cancels
dbt2pg_catalogpg_statistic11.00061.000491.0000.0000.0600.0600
dbt2pg_toastpg_toast_261951.00056.40081.0004.4001.0304.7900
dbt2publicdistrict590.11999.356121.79720.3730.0270.7402
dbt2publicwarehouse360.02856.16721.38910.5280.0050.1300

I/O Summary

Database
Schema
Table
Avg page hit
Avg page miss
Avg page dirtied
Avg read rate
Avg write rate
dbt2pg_toastpg_toast_261964.00012.60013.4001.2331.487
dbt2pg_catalogpg_statistic119.0002.00021.0000.2342.456
dbt2publicwarehouse45.7220.2503.5281.95332.019
dbt2publicdistrict40.9660.0342.7630.14517.791

Analyze Overview

Database
Schema
Table
Count
Total duration (sec)
Avg duration (sec)
Max duration (sec)
Last analyzed
Cancels
Max modified rows
dbt2publicwarehouse602.1700.0360.0502020-12-02 17:12:40069
dbt2publicdistrict601.1800.0200.1302020-12-02 17:12:492246
dbt2publicnew_order10.6600.6600.6602020-12-02 16:51:3608963

Modified Rows

Modified Rows
Time
Modified rows (%)
0
100
200
300
400
500
600
700
16:30
17:00
dbt2.public.customer ratio

dbt2.public.district ratio

dbt2.public.history ratio

dbt2.public.item ratio

dbt2.public.new_order ratio

dbt2.public.order_line ratio

dbt2.public.orders ratio

dbt2.public.stock ratio

dbt2.public.warehouse ratio

Cancellations

Time
Database
Schema
Table
Activity
Causal query
2020-12-02 17:07:18dbt2publicdistrictVACUUM
SELECT payment(8, 3, 0, 8, 3, 'CALLYBARABLE', 2287.110000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip\
FROM warehouse\
WHERE w_id = $1;UPDATE warehouse\
SET w_ytd = w_ytd + $1\
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip\
display full query string
2020-12-02 17:01:57dbt2publicdistrictANALYZE
SELECT payment(8, 3, 0, 8, 3, 'CALLYBARABLE', 2287.110000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip\
FROM warehouse\
WHERE w_id = $1;UPDATE warehouse\
SET w_ytd = w_ytd + $1\
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip\
display full query string
2020-12-02 16:51:36dbt2publicdistrictANALYZE
SELECT payment(7, 4, 0, 6, 1, 'ESEOUGHTOUGHT', 3180.460000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip\
FROM warehouse\
WHERE w_id = $1;UPDATE warehouse\
SET w_ytd = w_ytd + $1\
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip\
display full query string
2020-12-02 16:22:36dbt2publicdistrictVACUUM
SELECT payment(7, 4, 0, 6, 1, 'ESEOUGHTOUGHT', 3180.460000);SELECT w_name, w_street_1, w_street_2, w_city, w_state, w_zip\
FROM warehouse\
WHERE w_id = $1;UPDATE warehouse\
SET w_ytd = w_ytd + $1\
WHERE w_id = $2;SELECT d_name, d_street_1, d_street_2, d_city, d_state, d_zip\
display full query string

Replication

Overview

snapshot time2020-12-02 17:13:00
Session userstatsinfo
Application namesby
Client address127.0.0.1
Client host
Client port40783
Started at2020-12-02 16:11:08
Statestreaming
Current location0/CF2184B0 (0000000100000000000000CF)
Sent location0/CF2184B0 (0000000100000000000000CF)
Write location0/CF2184B0 (0000000100000000000000CF)
Flush location0/CF2184B0 (0000000100000000000000CF)
Replay location0/CF2037E0 (0000000100000000000000CF)
Write lag time00:00:00.000000
Flush lag time00:00:00.000000
Replay lag time00:00:01.000000
Average replay delay193 kB
Peak replay delay1057 kB
Sync priority1
Sync statesync

Delays

Replication Delays
Time
Delay (Bytes)
0
256k
512k
768k
1M
16:30
17:00
[sync]127.0.0.1:sby flush

[sync]127.0.0.1:sby replay

Miscellaneous

Tables and Indexes

Tables

Database
Schema
Table
Columns
Rows
MiB
+MiB
Table scans
Index scans
dbt2publiccustomer213000001836031507
dbt2publicdistrict1110000030408
dbt2publichistory830679225000
dbt2publicitem5100000100071660
dbt2publicnew_order39030040013000
dbt2publicorder_line1029200122827014210
dbt2publicorders8306833190013598
dbt2publicstock1799999534770252179
dbt2publicwarehouse91000206990

Indexes

Database
Schema
Index
Table
MiB
+MiB
Scans
Rows/scan
Reads
Hits
Keys
dbt2publici_customercustomer170425111.684907234909c_w_id, c_d_id, c_last, c_first, c_id
dbt2publici_ordersorders905981.048563420366o_w_id, o_d_id, o_c_id
dbt2publicpk_customercustomer90272561.0006088106770c_w_id, c_d_id, c_id
dbt2publicpk_districtdistrict00304080.999030572d_w_id, d_id
dbt2publicpk_itemitem20716600.999229143417i_id
dbt2publicpk_new_ordernew_order20130000.9945860367no_w_id, no_d_id, no_o_id
dbt2publicpk_order_lineorder_line9261421016.7812684304612ol_w_id, ol_d_id, ol_o_id, ol_number
dbt2publicpk_ordersorders90130001.00030963275o_w_id, o_d_id, o_id
dbt2publicpk_stockstock3332521790.58710153963784s_w_id, s_i_id, s_quantity
dbt2publicpk_warehousewarehouse0000.000766w_id

Settings

Run-time parameters

Name
Setting
Unit
Source
TimeZoneJapanconfiguration file
archive_commandcp %p /home/statsinfo/var/archivelog/%fconfiguration file
archive_modeonconfiguration file
default_text_search_configpg_catalog.englishconfiguration file
lc_messagesCconfiguration file
listen_addresses*configuration file
log_autovacuum_min_duration0msconfiguration file
log_checkpointsonconfiguration file
log_destinationcsvlogoverride
log_timezoneJapanconfiguration file

End of report