Skip to main content

Questions tagged [write-ahead-logging]

Write-Ahead Logging (WAL) is a standard method for ensuring data integrity.

0 votes
1 answer
42 views

I'm exploring the module wal2json for the first time. I've set up the replication slot using the ReadMe examples. When peeking the replication slot, every data value begins with an "action" ...
Peter Vandivier's user avatar
0 votes
0 answers
43 views

Let’s say I have 3 rows: A, B and C. Using debezium, which reads from the WAL and publishes messages to Kafka, I would like to re-produce the 3 rows to the WAL in order using a single txn. Postgresql ...
Kevin Meredith's user avatar
0 votes
2 answers
197 views

I’m using CNPG Postgres with 2 node availability. There’s a primary and secondary. The primary uses synchronous replication. I am using Change Data Capture with debezium. It creates a replication slot,...
Kevin Meredith's user avatar
0 votes
0 answers
38 views

I would like to implement a backup scheme in which for the past week, I have daily full backups with complete WAL logs for point-in-time-recovery. Past a week, I would like to keep only daily ...
Tilman Vogel's user avatar
0 votes
0 answers
51 views

I’m running a wal-consumer pod in a PostgreSQL environment that streams WAL logs from a replication slot. However, I noticed that the order in which I set up my services affects whether the consumer ...
Nayan Pahuja's user avatar
1 vote
1 answer
91 views

From what I read about WAL, its an append-only file where all the operations to the DB are written to before the operations are actually performed to the data. There is also a concept of a "...
Anmol Singh Jaggi's user avatar
0 votes
0 answers
49 views

I have a master-replica PostgreSQL 9.5 setup. I'm trying to reinitialize the replica by doing the following: Stop replica service ( /etc/init.d/postgresql stop ) Clear data directory ( rm -rf /path/...
Aaron Ullal's user avatar
1 vote
1 answer
599 views

I have a primary and a replica Postgres database that are never connected to each other. We have another layer of technology to store a base backup and the WAL files to and those will get synced to ...
dokgu's user avatar
  • 123
0 votes
1 answer
2k views

I'm trying to force WAL files to be flushed on to the disk so that I can copy them somewhere else. I believe CHECKPOINT is the command I'm interested in but it doesn't seem to work. I have a docker ...
dokgu's user avatar
  • 123
1 vote
1 answer
1k views

I have a process (for backup and replication using binary logs) that works in MySQL that I want to replicate for Postgres databases (using WAL): Lock database (FLUSH TABLES WITH READ LOCK;) Disable ...
dokgu's user avatar
  • 123
1 vote
0 answers
61 views

I am thinking I can turn off logging for certain tables in my PostgreSQL analytic data warehouse. There are a core set of very large tables (between 50 and 500Gb) that are completely rebuilt at the ...
zambo's user avatar
  • 21
1 vote
1 answer
956 views

I am taking this EDB PostgreSQL essential course and Instructor explained about PostgreSQL architecture referring to the diagram that, whenever a client make an update request and suppose data is ...
commonSense's user avatar
2 votes
1 answer
1k views

We're running a backup process based on pg_basebackup of a Postgres 14.5 database that creates a lot of WAL archive files and using up huge amounts of disk space. As we don't really need the WAL ...
dokaspar's user avatar
  • 123
2 votes
1 answer
2k views

I am relatively new to postgresql administration and I still have doubts about the operation or management of the wal files, specifically how these files are released or deleted, have the conception ...
miguel ramires's user avatar
-1 votes
1 answer
604 views

I've recently learned about write ahead logs and failure recovery in the context of key-value stores like Cassandra and have some follow-up questions: Do WALs get persisted into smaller snapshots so ...
ejtt's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
9