Re: 9.2 streaming replication issue and solution strategy - Mailing list pgsql-general

From Kevin Grittner
Subject Re: 9.2 streaming replication issue and solution strategy
Date
Msg-id 20121120222550.156370@gmx.com
Whole thread Raw
In response to 9.2 streaming replication issue and solution strategy  ("T. E. Lawrence" <t.e.lawrence@icloud.com>)
List pgsql-general
Adrian Klaver wrote:

> I am hoping to hear more from people who have running 9.2 systems
> w/ between 100m and 1b records, w/ streaming replication and heavy
> data mining on the slaves (5-50m records read per hour by multiple
> parallel processes), while from time to time (2-3 times/week)
> between 20 and 50m records are inserted/updated within 24 hours.

I've run replication on that general scale. IMV, when you are using
PostgreSQL hot standby and streaming replication you need to decide
whether a particular replica is primarily for recovery purposes, in
which case you can't run queries which take very long without getting
canceled for this reason, or primarily for reporting, in which case
long-running queries can finish, but the data in the database may get
relatively stale while they run. If you have multiple replicas, you
probably want to configure them differently in this regard.

-Kevin


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: get column name passed to a function
Next
From: Shaun Thomas
Date:
Subject: Re: High SYS CPU - need advise