reseting files - Search results , p.3

WAL in PostgreSQL: 4. Setup and Tuning

file (or writing to it) a special flag is set to indicate a need for synchronization

WAL in PostgreSQL: 3. Checkpoint

files=2, longest=0.011 s, average=0.006 s; distance=1645 kB, estimate=1645 kB We can see here how many buffers were written, how the set of WAL files

WAL in PostgreSQL: 2. Write-Ahead Log

files in the $PGDATA/pg_wal/ directory, but starting with PostgreSQL 10, you can also see them using a specialized function: => SELECT * FROM pg_ls_waldir() WHERE name = '000000010000000000000033'; name | size | modification --------------------------+----------+------------------------ 000000010000000000000033 | 16777216 | 2019

WAL in PostgreSQL: 1. Buffer Cache

set them up. WAL setup and tuning  — levels and problems solved, reliability, and performance. Many thanks to Elena Indrupskaya for the translation of these articles into English. Why do we need write-ahead

MVCC in PostgreSQL — 8. Freezing

SET vacuum_freeze_table_age = 5; => SELECT pg_reload_conf(); Let's do freezing: => VACUUM tfreeze; Now, since the entire table was checked for sure, the ID of the frozen transaction

MVCC in PostgreSQL — 6. Vacuum

SET maintenance_work_mem = '1MB'; => SELECT pg_reload_conf(); Let's start VACUUM and while it is working, let's access the pg_stat_progress_vacuum view several times: => VACUUM VERBOSE

PostgreSQL monitoring using Zabbix Agent 2: easy and extensible

Set the connection parameters for the session in the configuration file zabbix_agent2.conf in the section

MVCC in PostgreSQL — 3. Row Versions

files page by page, as with all others. So, when a transaction is committed, the "committed" bit is set for this

MVCC in PostgreSQL — 2. Forks, files, pages

set of forks. And this doubles the number of files that correspond to a table

MVCC in PostgreSQL — 1. Isolation

files, pages — what is happening at the physical level. Row versions , virtual transactions and subtransactions. Data snapshots and the visibility of row versions; the event horizon. In-page vacuum and HOT updates . Normal vacuum

What is Baked in the Baker's Dozen?

set correctly when receiving the file descriptor for fsync()  — directories are open only

Indexes in PostgreSQL — 10 (Bloom)

set the probability of a false positive to 0.01 (having in mind that actually we will get more). The above formulas for n = 9 and N = 30,000,000 give the signature size

Indexes in PostgreSQL — 9 (BRIN)

set traps" for new rows by freeing the space somewhere inside existing pages. Due to this, rows that otherwise would get to the end of file

pg_probackup 2.3.0 has been released

files to the underlying storage. The --note option allows to add a text note of size up to 1KB to the backup metadata when running backup and set-backup

Indexes in PostgreSQL — 1

file and the position of the row inside the block. That said, with the known key or some information about it we can quickly read those rows that may contain the information of our interest