Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
BIG thanks for your article !!
Would you have how to set up cluster postgresql on ubuntu :P
root@erp-slavedb:/var/lib/postgresql/9.1/main# psql -U postgres psql: FATAL: the database system is starting up
@shaileshpurani: Check out wintel2006’s comment on <a href=“http://www.howtoforge.com/how-to-set-up-a-postgresql-9.0-hot-standby-streaming-replication-server-with-repmgr-on-opensuse-11.4-p2#comment-34104”>http://www.howtoforge.com/how-to-set-up-a-postgresql-9.0-hot-standby-streaming-replication-server-with-repmgr-on-opensuse-11.4-p2#comment-34104</a>.
Dear Sir,
I got some problem on the postgresql-9.1-main.log file …
the Master server … less /var/log/postgresql/postgresql-9.1-main.log FATAL: requested WAL segment 000000010000000000000002 has already been removed
the Slave server … less /var/log/postgresql/postgresql-9.1-main.log FATAL: could not receive data from WAL stream: FATAL: requested WAL segment 000000010000000000000002 has already been removed
Please help me … how can I fix this problem …
Thanks all …
@archangelwu try adding a value for wal_keep_segments (e.g. 100), then do the rsync from the master again, and see if this buys you enough time for the wal segments to hang around and for your slave to get up to speed.
@eoghan changed as per the suggestion wal_keep_segments = 100 in postgresql.conf in master, but still getting the same. What needs to be done?
Hi,
Very nice article. can you tell me how can we do master-maser configuration?
Same issue as @shaileshpurani
014-05-13 08:23:39 EDT FATAL: the database system is starting up
2014-05-13 08:23:39 EDT LOG: incomplete startup packet
is the following line meant to be a single line executed
rsync -cva --inplace --exclude=pg_xlog /var/lib/postgresql/9.1/main/ slave_IP_address:/var/lib/postgresql/9.1/main/