Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| postgresql [2022/10/05 08:44] – [Postgres.Backup.Wal-g wal-g] admin | postgresql [2024/08/04 02:07] (current) – [Postgresql] admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Postgresql ====== | ====== Postgresql ====== | ||
| + | <code PYTHON> | ||
| + | |||
| + | psql -h 192.168.1.100 -p 5432 -U u1 mydatabase | ||
| + | |||
| + | |||
| + | import psycopg2 | ||
| + | conn = psycopg2.connect(" | ||
| + | </ | ||
| ===== Interesting sites ===== | ===== Interesting sites ===== | ||
| ** PostgreSQL ** | ** PostgreSQL ** | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| Line 18: | Line 28: | ||
| * < | * < | ||
| + | ** Kubernetes - postgres VIEW ** | ||
| + | * https:// | ||
| ===== Postgres.Cmd ===== | ===== Postgres.Cmd ===== | ||
| Line 48: | Line 60: | ||
| ++++ | ++++ | ||
| ===== Postgres.Sql ===== | ===== Postgres.Sql ===== | ||
| + | * https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| Line 441: | Line 454: | ||
| ==== Sql.JSONB ==== | ==== Sql.JSONB ==== | ||
| * PG JSON fucntion - https:// | * PG JSON fucntion - https:// | ||
| + | * Antipattern jsonb - https:// | ||
| ++++ SQL json examples| | ++++ SQL json examples| | ||
| <code SQL> | <code SQL> | ||
| Line 741: | Line 755: | ||
| * shared memory no space left https:// | * shared memory no space left https:// | ||
| + | * docker shared memory https:// | ||
| ==== Postgres.DBA locale collation LC_COLLATE setlocale==== | ==== Postgres.DBA locale collation LC_COLLATE setlocale==== | ||
| Line 1212: | Line 1227: | ||
| * Wal-g - https:// | * Wal-g - https:// | ||
| * пример ручного dump c WAL https:// | * пример ручного dump c WAL https:// | ||
| + | * пример pg_backup < | ||
| === Wal-g.Backup статьи === | === Wal-g.Backup статьи === | ||
| Line 1368: | Line 1384: | ||
| ===== Postgres Cluster ===== | ===== Postgres Cluster ===== | ||
| https:// | https:// | ||
| - | ===== Postgres Information ===== | + | ===== Postgres Information |
| * : | * : | ||
| Line 1378: | Line 1394: | ||
| ==== Postgres.Monitoring ==== | ==== Postgres.Monitoring ==== | ||
| + | * pgwatch2 - monitoring Postgres | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| Line 1392: | Line 1409: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ==== Postgres.Pooler ==== | ==== Postgres.Pooler ==== | ||
| Line 1419: | Line 1437: | ||
| - https:// | - https:// | ||
| </ | </ | ||
| + | <WRAP clear/> | ||
| + | |||
| ===== Postgres Install ===== | ===== Postgres Install ===== | ||
| * postgres install example in docker https:// | * postgres install example in docker https:// | ||
| + | * https:// | ||
| + | |||
| + | ===== Postgres Additional info ===== | ||
| + | * https:// | ||
| + | |||
| + | |||