DOAG 2024 Konferenz + Ausstellung: Agenda
Martin Bach @ ORACLE Deutschland B.V. & Co. KG, Vortragsbeschreibung
Carolin Krützmann, Vortragsbeschreibung
Andre Lünsmann @ Barmenia Krankenversicherung AG, Vortragsbeschreibung
Borys Neselovskyi @ EnterpriseDB Senior Sales Engineer, Vortragsbeschreibung
Franck Pachot @ Yugabyte, Vortragsbeschreibung
+---------+ +---------+ +---------+
| Parser | | Parser | | Parser |
| Analyze | | Analyze | | Analyze |
| Planner | | Planner | | Planner |
| Execute | | Execute | | Execute |
+---------+ +---------+ +---------+
X X
+---------------+ +---------------+ +---------------+
| Doc DB | | Doc DB | | Doc DB |
| Storage Layer | | Storage Layer | | Storage Layer |
+---------------+ +---------------+ +---------------+
| | |
------- ------- -------
/ \ / \ / \
--------- --------- ---------
| | | | | |
| | | | | |
+-------+ +-------+ +-------+
Seppo Jaakola @ Codership OY, Vortragsbeschreibung
wsrep_provider_options
:gcs.max_packet_size=1048576
evs.send_window=512
evs.user_send_window=256
gcs.fc_limit=128
wsrep_applier_threads
/ wsrep_slave_threads
binlog_row_event_max_size
, binlog_cache_size = 2M
at TCP Level:
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 16777216
net.core.wmem_default = 16777216
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 87380 16777216
net.ipv4.tcp_slow_start_after_idle = 0
Michael Kloker @ Boehringer Ingelheim GmbH, Vortragsbeschreibung
WSL (Windows)
Docker Desktop (Windows)
# kubectl get nodes
helm Package Manager für Kubernetes
# helm repo add Kubernetes - https://...
# help repo update
…
Admin-Account
# kubectl apply -f xxx.yaml
# kubectl get ns
# kubectl api-resources
Bernd Patolla @ In & Out AG, Vortragsbeschreibung
pg_hba.conf
→ VortragsfolienIlya Kosmodemiansky @ Data Egret GmbH, Vortragsbeschreibung
TODO: Download slides!
amcheck
Extension (regular check)postgresql.conf
sharded_buffer
= 25% RAMautovacuum_vacuum_scale_factor = 0.2
→ 0.02 make “garbage collection” more aggressivepg_settings
\X = \G (MySQL)ALTER SYSTEM
→ postgresql.conf.auto
pgbouncer
→ Connection Pooler (Muss!)
pool_mode
= transaction (best)pg_hba.conf
(Primary)rm data + log
pg_basebackup](https://www.postgresql.org/docs/current/app-pgbasebackup.html) - ...
(< 10 TB)pg_is_in_recovery
pgbouncer
→ Replica + VIP + HAproxypg_dump
(kein PiTR möglich) RPO >> 0pg_basebackup
, pgBackRest
pg_basebackup
: Kein inkrementelles, kein parallels Backup möglichpgBackRest
(hat Backup Catalog) für >> 1 TBLudovico Caldara @ ORACLE Deutschland B.V. & Co. KG, Vortragsbeschreibung, Vortragsfolien, Video
shared_buffers
: PostgreSQL Shared Buffers vs free RAMOur research at Carnegie Mellon University […] have shown that its MVCC implementation is the worst among the other widely used relational DBMSs, including MySQL, Oracle and Microsoft SQL Server.
– Source
[…] the XID counter wraps around to zero, […] In short, catastophic data loss.
– Source
Sebastian Reinhard @ merlin.zwo InfoDesign GmbH & Co. KG, Vortragsbeschreibung
# liquibase --help
init project
changelog-sync
generate-changelog
(reverse engineering)validate
(Syntax Check)update
(anwenden)update-sql
→ Generiert SQL scripttag --tag=v1.20
rollback --tag=v1.20
rollback-count = 3
rollback-to-date = YYYY-MM-DD
Mughees A. Minhas, SVP Products (OEM, OCI, …) @ Oracle Corp., Vortragsbeschreibung
Randolf Eberle-Geist, Vortragsbeschreibung