October 2014
Intermediate to advanced
142 pages
3h 9m
English
After going through the transaction log related issues, it is time to set up the asynchronous replication. The process itself is pretty simple. However, it is important to gain some overview of the problem.
So, before digging into details, I would like to list the steps necessary to set up a streaming replication slave.
Slaves are always read-only. Writes are not allowed on slaves.
The steps are as follows:
data directory in the slave as follows:mkdir /data # for examplechmod 700 /data # to start PostgreSQLchown postgres.postgres /data # if running as postgrespostgresql.conf in the master:wal_level to hot_standbymax_wal_senders to ...Read now
Unlock full access