🔹 1. Compte système postgres (OS) Unique et dédié à l’administration PostgreSQL. Pas d’accès métier dessus. Doit avoir : Mot de passe fort / clé SSH pour accès distant. Historique. read more…
On distingue : Et pourquoi il ne faut pas confondre les deux ni les mélanger avec les comptes « métiers ». 🔹 1. Séparation des responsabilités (principe de moindre privilège). read more…
Déplacer les fichiers WAL (Write-Ahead Log) en dehors du répertoire $PGDATA est une bonne pratique dans certaines architectures car ça touche directement la performance et la sécurité des données. Voici. read more…
source : /https://www.cybertec-postgresql.com/en/btree-vs-brin-2-options-for-indexing-in-postgresql-data-warehouses/ btree vs. BRIN: 2 options for indexing in PostgreSQL data warehouses Create a big random table : test=# CREATE TABLE t_demo (id_sorted int8, id_random int8);CREATE TABLEtest=# INSERT. read more…
Improving PostgreSQL Performance with Partitioning My recommended methodology for performance improvement of PostgreSQL starts with query optimization. The second step is architectural improvements, part of which is the partitioning of. read more…
This query allows you to monitor the : autovacuum_freeze_max_age SELECT datname, round(age(datfrozenxid)/to_number(current_setting(‘autovacuum_freeze_max_age’),’999999999′)*100,1) as Percent FROM pg_database where datname != ‘template0’;
Click her to see the next. Solve PostgreSQL DataFileRead and buffer_io with Parameter Tuning | by monika yadav | Medium This is an epic case study to solve DataFileRead and. read more…
This site helped to resolve IPC wait event : Postgres checkpoint tuning | Tembo Docs You have to adapt the checkpoint_timeout within the max_wal_size. If the max_wal_size is 8Go then. read more…
Catégorie : Postgresql
Sécuriser votre base de données PostgreSQL
L’avis du RSSI
🔹 1. Compte système postgres (OS) Unique et dédié à l’administration PostgreSQL. Pas d’accès métier dessus. Doit avoir : Mot de passe fort / clé SSH pour accès distant. Historique. read more…
Bonnes pratiques partie 1
On distingue : Et pourquoi il ne faut pas confondre les deux ni les mélanger avec les comptes « métiers ». 🔹 1. Séparation des responsabilités (principe de moindre privilège). read more…
A propos des fichiers wal
Déplacer les fichiers WAL (Write-Ahead Log) en dehors du répertoire $PGDATA est une bonne pratique dans certaines architectures car ça touche directement la performance et la sécurité des données. Voici. read more…
Create a big test table
source : /https://www.cybertec-postgresql.com/en/btree-vs-brin-2-options-for-indexing-in-postgresql-data-warehouses/ btree vs. BRIN: 2 options for indexing in PostgreSQL data warehouses Create a big random table : test=# CREATE TABLE t_demo (id_sorted int8, id_random int8);CREATE TABLEtest=# INSERT. read more…
[Postgres] Use of partitionning
Improving PostgreSQL Performance with Partitioning My recommended methodology for performance improvement of PostgreSQL starts with query optimization. The second step is architectural improvements, part of which is the partitioning of. read more…
[Postgres] Monitor autovacuum_freeze_max_age
This query allows you to monitor the : autovacuum_freeze_max_age SELECT datname, round(age(datfrozenxid)/to_number(current_setting(‘autovacuum_freeze_max_age’),’999999999′)*100,1) as Percent FROM pg_database where datname != ‘template0’;
[Postgres] Monitor wait event
tselect wait_event_type, wait_event from pg_stat_activity where pid !=pg_backend_pid();watch 0.5
[Postgres] Solve PostgreSQL DataFileRead and buffer_io with Parameter Tuning
Click her to see the next. Solve PostgreSQL DataFileRead and buffer_io with Parameter Tuning | by monika yadav | Medium This is an epic case study to solve DataFileRead and. read more…
[Postgres] Tuto tuning
This site helped to resolve IPC wait event : Postgres checkpoint tuning | Tembo Docs You have to adapt the checkpoint_timeout within the max_wal_size. If the max_wal_size is 8Go then. read more…