Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I want to use pgpool to replicate one database to another. I want to do my processing on my master database (reads/writes/inserts/deletes), replicate that database to another database as it is modified and have other reads be directed to the replicated database.

As I read the pgpool documentation it appears that reads will be distributed across all databases in the cluster. Is there a way to not do that and direct one class of reads to one database and another class of read/writes to the master?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

No, pgpool is an all or nothing solution. All you can control is the precentage of read queries going to each host, not what kinds of (read) queries.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.