Extending and handling clusters in a clever way

Setting up your cluster is not the only task you will have to do. If things are up and running, you might have to tweak them here and there.

Adding and moving partitions

Once a cluster has been up and running, you might figure out that your cluster is too small and is not able to handle the load generated by your client applications. In this case, it might be necessary to add hardware to the setup. The question is: how can this be done in the most intelligent way?

The best thing you can do is to create more partitions than needed straightaway. So, if you consider getting started with four nodes or so, you have to create 16 partitions straightaway and run four partitions per server. Extending your cluster ...

Get PostgreSQL Replication - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.