• Home
  • SysInfo
  • Cluster
    • Databases sizes
    • Tablespaces sizes
    • Connections
      • Connections
      • Connections by type
    • Deadlocks
    • Cache utilization
    • Shared buffers statistics
      • Shared buffers utilization
      • Database in shared buffers
      • Usagecount in shared buffers
      • Usagecount in dirty buffers
    • Background writer
      • Bgwriter buffers written
      • Bgwriter buffers allocated
      • Bgwriter counters
    • Temporary files
      • Temporary files
      • Temporary files size
    • Wal / Checkpoint
      • Wal files
      • Checkpoints counter
      • Checkpoints write time
      • Archiver stats
    • Queries Reads / Writes
      • Read tuples
      • Write ratio
      • Read vs Write queries
      • Commits vs Rollbacks
    • Transaction throughput
    • Prepared transactions
    • Replication statistics
      • Wal bytes written
      • Replication lag
      • Canceled queries
      • Conflicts
    • Configurations
      • PostgreSQL configuration
      • PostgreSQL settings
      • PostgreSQL non default settings
      • Database/Roles settings
      • PostgreSQL ALTER SYSTEM configuration
      • PostgreSQL recovery configuration
      • PostgreSQL authorization
      • User Name Maps
      • Pgbouncer settings
  • Databases
    • postgres
      • Database info
      • Partitionned Tables
      • Tables statistics
        • Index scan ratio
        • Vacuums/analyzes
        • insert/update/delete
        • Live vs dead tuples
        • Size and tuples
        • Tables I/O stats
      • Indexes statistics
        • Size and tuples
        • Number of indexes
      • Buffercache Statistics
      • Database size
      • Connections
        • Connections
        • Connections by type
      • Cache utilization
      • Locks
        • Deadlocks
        • Locks per types
        • Locks per modes
        • Locks granted or not
      • Temporary files
        • Temporary files
        • Temporary files size
      • Queries Reads / Writes
        • Read tuples
        • Write ratio
        • Read vs Write queries
        • Commits vs Rollbacks
      • Transaction thoughput
      • Prepared transactions
      • Canceled queries
      • Conflicts
  • System
    • Cpu
    • Memory
    • Dirty memory
    • Swap
    • Memory workload
    • Load
    • Task list
    • Run queue
    • Context switches
    • Tasks created per second
    • Blocks
    • Transfers per second
    • Pages
      • Pages in/out
      • Pages faults
      • Pages scan
    • Devices
      • xvda
        • Cpu utilization
        • Read/write bytes per second
        • Transfert per second
        • Average I/O wait time
    • Network
      • eth0
        • Network utilization
        • Network errors
      • lo
        • Network utilization
        • Network errors
      • TCP
        • TCP utilization
        • TCP errors
    • Disk space use
      • Device xvda1
    • PostgreSQL
      • CPU
      • Context switches
      • Memory
      • Percent Memory use
      • Pages faults
      • I/O delay
      • Kb I/O
  • About




  • Cluster

    Sun Aug 21 11:02:24 2022 to Sun Aug 21 11:03:24 2022
    • off Data checksums
    • 6.83 MB Cluster size
    • 1 Databases
    • 2 Connections
    • 26513 Tuples returned
    • 99% Hit cache ratio
    • 0 Unlogged tables
    • 0 Invalid indexes
    • 0 Hash indexes
    • 0 Deadlocks
    • 2022-08-20 10:50:02-05 Last bgwriter stats reset

    Databases

    • 6.83 MB Largest database
      (postgres)
    • 2 Most connections
      (postgres)
    • 26513 Most tuples returned
      (postgres)
    • 99% Worst cache utilization
      (postgres)
    • 1 Extensions (plpgsql-1.0)

    System

    Sun Aug 21 11:02:24 2022 to Sun Aug 21 11:03:24 2022
    • 54.45% Highest CPU utilization
      (Sun Aug 21 11:02:24 2022)
    • 0.00 Highest system load
      (Sun Aug 21 11:02:24 2022)
    • 0 Highest blocked processes
      (Sun Aug 21 11:02:24 2022)
    • 1.33 ms Highest device wait time
      (Sun Aug 21 11:03:24 2022 on device xvda)
    • 2.75 GB Lowest system cache
      (Sun Aug 21 11:02:24 2022)
    • 236.00 KB Highest dirty memory
      (Sun Aug 21 11:03:24 2022)
    • 1.39 MB Most read device
      (xvda)
    • 0 Most written device
      (xvda)
    • 21.00 Highest tps on device
      (xvda)

    Archiver

    • 0 Last archived wal
    • 0 Last archived time
    • 0 Last failed wal
    • 0 Last failed time
    • 2022-08-20 10:50:02 Last stats reset

    Packages

    • ii  postgresql                        9.5+173ubuntu0.3                           all          object-relational SQL database (supported version)
      ii  postgresql-9.5                    9.5.25-0ubuntu0.16.04.1                    amd64        object-relational SQL database, version 9.5 server
      ii  postgresql-client-9.5             9.5.25-0ubuntu0.16.04.1                    amd64        front-end programs for PostgreSQL 9.5
      ii  postgresql-client-common          173ubuntu0.3                               all          manager for multiple PostgreSQL client versions
      ii  postgresql-common                 173ubuntu0.3                               all          PostgreSQL database-cluster manager
      ii  postgresql-contrib                9.5+173ubuntu0.3                           all          additional facilities for PostgreSQL (supported version)
      ii  postgresql-contrib-9.5            9.5.25-0ubuntu0.16.04.1                    amd64        additional facilities for PostgreSQL
      





  • About pgCluu

    pgCluu is a Perl program used to perform a full audit of a PostgreSQL Cluster. It is divided in two parts, a collector used to grab statistics on the PostgreSQL cluster using psql and sysstat, a grapher that will generate all HTML output. It is fully open source and free of charge.

    License

    pgCluu is licenced under the PostgreSQL Licence a liberal Open Source license, similar to the BSD or MIT licenses.

    That mean that all parts of the program are open source and free of charge.

    This is the case for both, the collector and the grapher programs.

    Download

    Official releases at SourceForge:
    [ http://sourceforge.net/projects/pgcluu/ ].

    Source code at github:
    [ https://github.com/darold/pgcluu ].

    ChangeLog can be read on-line on GitHub repository here

    Offical web site is hosted at pgcluu.darold.net

    Authors

    pgCluu is an original development of Gilles Darold.

    Some parts of the collector are taken from pgstats a C program writen by Guillaume Lelarge and especially the SQL queries including the compatibility with all PostgreSQL versions.

    Btw pgCluu grapher is compatible with files generated by pgstats, sar and sadc so you can use it independently to graph those data. Some part of the sar output parser are taken from SysUsage






  • System

    OS information
    • 11:03:24 up 86 days Uptime
    • ip-172-31-17-251 Hostname
    • Linux 4.4.0-1128-aws #142-Ubuntu SMP Kernel
    • x86_64 GNU/Linux Arch
    • Ubuntu Distribution
    • 16.04.6 LTS (Xenial Xerus) Version

    Kernel

    /sys/kernel/mm/transparent_hugepage/
    • defrag always
    • enabled madvise
    • khugepaged/defrag 1
    sysctl parameters
    • sched_autogroup_enabled 1
    • sched_migration_cost_ns 500000
    • net.ipv4.tcp_keepalive_intvl 75
    • net.ipv4.tcp_keepalive_probes 9
    • net.ipv4.tcp_keepalive_time 7200
    • vm.dirty_background_bytes 0
    • vm.dirty_background_ratio 10
    • vm.dirty_bytes 0
    • vm.dirty_ratio 20
    • vm.nr_hugepages 0
    • vm.nr_overcommit_hugepages 0
    • vm.overcommit_kbytes 0
    • vm.overcommit_memory 0
    • vm.overcommit_ratio 50
    • vm.swappiness 60
    • vm.zone_reclaim_mode 0

    CPU

    CPUs information
    • Intel(R) Xeon(R) CPU E5-2686 v4
    • 2300.066 Speed
    • 46080 KB Cache
    • 1 Sockets
    • 2 Cores per CPU
    • 2 Cores

    Memory

    Memory information
    • 3.77 GB Total memory
    • 229.50 MB Free memory
    • 355.98 MB Buffers
    • 2.68 GB Cached
    • 0 Total swap
    • 0 Free swap
    • 9.39 MB Page Tables
    • 52.82 MB Shared memory
    sysctl parameters
    • 16384.00 PB kernel.shmmax
    • 67108864.00 PB kernel.shmall

    Filesystem

    • FilesystemSizeUsedFreeUse%Mount
      /dev/xvda149G7.7G41G16%/
    • FilesystemMounttypeOptions
      /dev/xvda1/ext4(rw,relatime,discard,data=ordered)[cloudimg-rootfs]

    Process list

    • USERPID%CPU%MEMVSZRSSTTYSTATSTARTTIMECOMMAND
      root20.00.000?SMay260:00[kthreadd]
      root30.00.000?SMay260:18\_ [ksoftirqd/0]
      root50.00.000?S<May260:00\_ [kworker/0:0H]
      root70.00.000?SMay262:57\_ [rcu_sched]
      root80.00.000?SMay260:00\_ [rcu_bh]
      root90.00.000?SMay260:03\_ [migration/0]
      root100.00.000?SMay260:37\_ [watchdog/0]
      root110.00.000?SMay260:29\_ [watchdog/1]
      root120.00.000?SMay260:02\_ [migration/1]
      root130.00.000?SMay260:46\_ [ksoftirqd/1]
      root150.00.000?S<May260:00\_ [kworker/1:0H]
      root160.00.000?SMay260:00\_ [kdevtmpfs]
      root170.00.000?S<May260:00\_ [netns]
      root180.00.000?S<May260:00\_ [perf]
      root190.00.000?SMay260:00\_ [xenwatch]
      root200.00.000?SMay260:00\_ [xenbus]
      root220.00.000?SMay260:03\_ [khungtaskd]
      root230.00.000?S<May260:00\_ [writeback]
      root240.00.000?SNMay260:00\_ [ksmd]
      root250.00.000?SNMay260:00\_ [khugepaged]
      root260.00.000?S<May260:00\_ [crypto]
      root270.00.000?S<May260:00\_ [kintegrityd]
      root280.00.000?S<May260:00\_ [bioset]
      root290.00.000?S<May260:00\_ [kblockd]
      root300.00.000?S<May260:00\_ [ata_sff]
      root310.00.000?S<May260:00\_ [md]
      root320.00.000?S<May260:00\_ [devfreq_wq]
      root360.00.000?SMay260:00\_ [kswapd0]
      root370.00.000?S<May260:00\_ [vmstat]
      root380.00.000?SMay260:00\_ [fsnotify_mark]
      root390.00.000?SMay260:00\_ [ecryptfs-kthrea]
      root550.00.000?S<May260:00\_ [kthrotld]
      root560.00.000?S<May260:00\_ [bioset]
      root570.00.000?S<May260:00\_ [bioset]
      root580.00.000?S<May260:00\_ [bioset]
      root590.00.000?S<May260:00\_ [bioset]
      root600.00.000?S<May260:00\_ [bioset]
      root610.00.000?S<May260:00\_ [bioset]
      root620.00.000?S<May260:00\_ [bioset]
      root630.00.000?S<May260:00\_ [bioset]
      root640.00.000?S<May260:00\_ [bioset]
      root650.00.000?S<May260:00\_ [bioset]
      root660.00.000?S<May260:00\_ [bioset]
      root670.00.000?S<May260:00\_ [bioset]
      root680.00.000?S<May260:00\_ [bioset]
      root690.00.000?S<May260:00\_ [bioset]
      root700.00.000?S<May260:00\_ [bioset]
      root710.00.000?S<May260:00\_ [bioset]
      root720.00.000?S<May260:00\_ [bioset]
      root730.00.000?S<May260:00\_ [bioset]
      root740.00.000?S<May260:00\_ [bioset]
      root750.00.000?S<May260:00\_ [bioset]
      root760.00.000?S<May260:00\_ [bioset]
      root770.00.000?S<May260:00\_ [bioset]
      root780.00.000?S<May260:00\_ [bioset]
      root790.00.000?S<May260:00\_ [bioset]
      root800.00.000?S<May260:00\_ [nvme]
      root810.00.000?SMay260:00\_ [scsi_eh_0]
      root820.00.000?S<May260:00\_ [scsi_tmf_0]
      root830.00.000?SMay260:00\_ [scsi_eh_1]
      root840.00.000?S<May260:00\_ [scsi_tmf_1]
      root850.00.000?S<May260:00\_ [bioset]
      root900.00.000?S<May260:00\_ [ipv6_addrconf]
      root1030.00.000?S<May260:00\_ [deferwq]
      root2550.00.000?S<May260:00\_ [raid5wq]
      root2800.00.000?S<May260:00\_ [bioset]
      root3110.00.000?SMay260:30\_ [jbd2/xvda1-8]
      root3120.00.000?S<May260:00\_ [ext4-rsv-conver]
      root3740.00.000?S<May260:00\_ [kworker/1:1H]
      root4000.00.000?S<May260:00\_ [iscsi_eh]
      root4020.00.000?S<May260:00\_ [ib_addr]
      root4030.00.000?S<May260:00\_ [ib_mcast]
      root4040.00.000?S<May260:00\_ [ib_nl_sa_wq]
      root4060.00.000?S<May260:00\_ [ib_cm]
      root4070.00.000?S<May260:00\_ [iw_cm_wq]
      root4110.00.000?S<May260:00\_ [rdma_cm]
      root4120.00.000?SMay260:00\_ [kauditd]
      root8050.00.000?S<May260:01\_ [kworker/0:1H]
      root234940.00.000?S06:590:00\_ [kworker/1:0]
      root254590.00.000?S10:310:00\_ [kworker/0:1]
      root254600.00.000?S10:310:00\_ [kworker/1:1]
      root257170.00.000?S10:380:00\_ [kworker/0:0]
      root257940.00.000?S10:420:00\_ [kworker/u30:1]
      root262120.00.000?S10:560:00\_ [kworker/u30:2]
      root269190.00.000?S11:020:00\_ [kworker/u30:0]
      root10.00.11196605804?SsMay260:38/sbin/init
      root4270.00.0947681624?SsMay260:00/sbin/lvmetad -f
      root4480.00.1122004776?SsMay266:26/usr/sbin/haveged --Foreground --verbose=1 -w 1024
      root4600.00.1407406104?SsMay2681:05/lib/systemd/systemd-journald
      root4630.00.0427763924?SsMay260:05/lib/systemd/systemd-udevd
      systemd+5170.00.01003202328?SslMay260:06/lib/systemd/systemd-timesyncd
      root9620.00.0161202892?SsMay260:03/sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0
      root10960.00.05216144?SsMay263:54/sbin/iscsid
      root10970.00.057163512?SMay2618:17/sbin/iscsid
      root11010.00.03097722360?SslMay260:44/usr/bin/lxcfs /var/lib/lxcfs/
      syslog11030.00.12606244208?SslMay2626:14/usr/sbin/rsyslogd -n
      root11050.00.043921316?SsMay260:00/usr/sbin/acpid
      message+11080.00.1444605012?SsMay260:04/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
      daemon11230.00.0260402080?SsMay260:00/usr/sbin/atd -f
      root11260.00.0277242740?SsMay260:21/usr/sbin/cron -f
      root11420.00.0290323384?SsMay260:08/lib/systemd/systemd-logind
      root11510.00.12745846244?SslMay268:22/usr/lib/accountsservice/accounts-daemon
      root11910.00.1655085996?SsMay260:54/usr/sbin/sshd -D
      root254530.00.1928326944?Ss10:310:00\_ sshd: ubuntu [priv]
      ubuntu255270.00.0928323388?S10:310:00| \_ sshd: ubuntu@pts/0
      ubuntu255280.00.1214125240pts/0Ss10:310:00| \_ -bash
      root255410.00.0557563916pts/0S10:310:00| \_ sudo su
      root255420.00.0510003508pts/0S10:310:00| \_ su
      root255430.00.0201203952pts/0S+10:310:00| \_ bash
      root261270.00.1928286732?Ss10:550:00\_ sshd: ubuntu [priv]
      ubuntu261670.00.0928283424?S10:550:00| \_ sshd: ubuntu@pts/2
      ubuntu261680.00.1214125248pts/2Ss10:550:00| \_ -bash
      root261840.00.0557563920pts/2S10:560:00| \_ sudo su
      root261850.00.0510003580pts/2S10:560:00| \_ su
      root261860.00.0201083728pts/2S10:560:00| \_ bash
      root261960.00.0510003364pts/2S10:560:00| \_ su postgres
      postgres261970.00.0199083568pts/2S10:560:00| \_ bash
      postgres262000.00.21104808296pts/2S+10:560:00| \_ /usr/lib/postgresql/9.5/bin/psql
      root262180.00.1928286932?Ss10:570:00\_ sshd: ubuntu [priv]
      ubuntu262580.00.0928283268?S10:570:00| \_ sshd: ubuntu@pts/3
      ubuntu262590.00.1214125188pts/3Ss10:570:00| \_ -bash
      root262710.00.0557563912pts/3S10:570:00| \_ sudo su
      root262720.00.0510003348pts/3S10:570:00| \_ su
      root262730.00.0201083944pts/3S10:570:00| \_ bash
      root264750.10.2288329580pts/3S+11:020:00| \_ pgcluu_collectd
      root269280.00.1288327164pts/3S+11:030:00| \_ pgcluu_collectd: LC_ALL=C sar -t -p -A 1 1 | grep -vE 'Average|Summary' >>'/tmp/stat_pgcluu_test//sar_stats.dat'
      root269300.00.04500708pts/3S+11:030:00| | \_ sh -c LC_ALL=C sar -t -p -A 1 1 | grep -vE 'Average|Summary' >>'/tmp/stat_pgcluu_test//sar_stats.dat'
      root269340.00.04464784pts/3S+11:030:00| | \_ sar -t -p -A 1 1
      root269370.00.097801960pts/3S+11:030:00| | | \_ sadc 1 2 -z -S 16128
      root269360.00.012940928pts/3S+11:030:00| | \_ grep -vE Average|Summary
      root269290.00.1288327164pts/3S+11:030:00| \_ pgcluu_collectd: LC_ALL=C pidstat -T ALL -u -w -r -d -U postgres 1 1 | grep -v 'Average' >>'/tmp/stat_pgcluu_test//pidstat_stats.dat'
      root269310.00.04500784pts/3S+11:030:00| | \_ sh -c LC_ALL=C pidstat -T ALL -u -w -r -d -U postgres 1 1 | grep -v 'Average' >>'/tmp/stat_pgcluu_test//pidstat_stats.dat'
      root269330.00.048241780pts/3S+11:030:00| | \_ pidstat -T ALL -u -w -r -d -U postgres 1 1
      root269350.00.0129401092pts/3S+11:030:00| | \_ grep -v Average
      root270450.00.04500788pts/3S+11:030:00| \_ sh -c ps -faux 2>/dev/null
      root270460.00.0362243500pts/3R+11:030:00| \_ ps -faux
      root263530.00.1928286984?Ss11:000:00\_ sshd: ubuntu [priv]
      ubuntu263930.00.0928283136?S11:000:00\_ sshd: ubuntu@pts/4
      ubuntu263940.00.1214125184pts/4Ss11:000:00\_ -bash
      root264060.00.0557563924pts/4S11:000:00\_ sudo su
      root264070.00.0510003364pts/4S11:000:00\_ su
      root264080.00.0201083868pts/4S+11:000:00\_ bash
      root11920.00.013368164?SsMay260:00/sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
      root12000.00.417333619820?SslMay260:00/usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
      root12080.00.12771085700?SslMay260:01/usr/lib/policykit-1/polkitd --no-debug
      root12630.00.0146521536tty1Ss+May260:00/sbin/agetty --noclear tty1 linux
      root12840.00.019468248?SsMay264:29/usr/sbin/irqbalance --pid=/var/run/irqbalance.pid
      root12960.00.0144681924ttyS0Ss+May260:00/sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220
      cgarcia178640.00.1451844512?SsMay310:00/lib/systemd/systemd --user
      cgarcia178660.00.0612561884?SMay310:00\_ (sd-pam)
      root58270.00.06532680?SJul010:37ping -i20 10.212.241.177
      root6210.00.0152241664?SsJul040:00/usr/lib/ipsec/starter --daemon charon
      root6220.00.4151094018772?SslJul048:56\_ /usr/lib/ipsec/charon --use-syslog --debug-ike 4 --debug-knl 2 --debug-cfg 2 --debug-net 4 --debug-esp 2 --debug-dmn 2 --debug-mgr 2
      postgres84700.00.629341224416?SAug200:01/usr/lib/postgresql/9.5/bin/postgres -D /var/lib/postgresql/9.5/main -c config_file=/etc/postgresql/9.5/main/postgresql.conf
      postgres84720.00.12935447444?SsAug200:00\_ postgres: checkpointer process
      postgres84730.00.12934125668?SsAug200:00\_ postgres: writer process
      postgres84740.00.12934124068?SsAug200:00\_ postgres: wal writer process
      postgres84750.00.12937966744?SsAug200:00\_ postgres: autovacuum launcher process
      postgres84760.00.11485244272?SsAug200:00\_ postgres: stats collector process
      postgres262080.00.330069614012?Ss10:560:00\_ postgres: postgres postgres [local] idle
      root119810.00.1758124868?SsAug200:03/usr/sbin/apache2 -k start
      www-data119840.00.112828647184?SlAug200:39\_ /usr/sbin/apache2 -k start
      www-data119850.00.112828967144?SlAug200:39\_ /usr/sbin/apache2 -k start
      ubuntu254570.00.1451844544?Ss10:310:00/lib/systemd/systemd --user
      ubuntu254580.00.01431121896?S10:310:00\_ (sd-pam)

Report generated by pgCluu 3.3.

Right click + "Save image as ..." to save the graph as PNG image