parent
ef46a93c47
commit
7809673eff
@ -0,0 +1,13 @@
|
||||
# Set up Debian Stretch node
|
||||
# Install postgres repos:
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc/apt/sources.list.d/pgdg.list
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
||||
apt update
|
||||
apt dist-upgrade
|
||||
apt install pgadmin4 pgadmin4-apache2 pgadmin4-doc
|
||||
|
||||
# On workstation create tunnel:
|
||||
ssh -N -C -L 5050:localhost:80 pgadmin
|
||||
|
||||
# On workstation, in browser:
|
||||
http://localhost:5050/pgadmin4
|
@ -1,3 +1,38 @@
|
||||
apt install pg-activity
|
||||
apt install pg-activity pgtop
|
||||
sudo su - postgres
|
||||
pg_activity
|
||||
pg_top
|
||||
|
||||
# Consider:
|
||||
#
|
||||
# Analysis, on pg server:
|
||||
# pg-activity
|
||||
# pgtop
|
||||
#
|
||||
# Analysis, separate server:
|
||||
# PoWa:
|
||||
# postgresql-10-powa -- Workload analyzer
|
||||
# postgresql-10-pg-qualstats
|
||||
# postgresql-10-pgaudit
|
||||
# postgresql-10-hypopg - PostgreSQL extension adding support for hypothetical indexes.
|
||||
# pgbadger - Fast PostgreSQL log analysis report
|
||||
# pgcluu - PostgreSQL performance monitoring and auditing tool
|
||||
|
||||
# Administration, separate server:
|
||||
# pgadmin -- web admin
|
||||
# tora (workstation) -- graphical toolkit for database developers and administrators. Ancient version in Debian, no postgres.
|
||||
# pgmodeler - PostgreSQL database modeler GUI interface
|
||||
|
||||
# Report generation:
|
||||
# openrpt - graphical SQL report writer, designer and rendering engine
|
||||
|
||||
# Backups:
|
||||
# autopostgresqlbackup - Automated tool to make periodic backups of PostgreSQL databases
|
||||
# backupninja - lightweight, extensible meta-backup system
|
||||
# barman - Backup and Recovery Manager for PostgreSQL
|
||||
# pgbackrest - Reliable PostgreSQL Backup & Restore
|
||||
# pg-backup-ctl - backup and recover PostgreSQL using log archiving
|
||||
|
||||
# Misc
|
||||
# pspg - PostgreSQL pager
|
||||
# pgcli -- command line
|
||||
|
Binary file not shown.
Loading…
Reference in new issue