pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6423: max_standby_streaming_delay does not work
2+ messages / 2 participants
[nested] [flat]
* BUG #6423: max_standby_streaming_delay does not work
@ 2012-01-31 09:35 139669962@qq.com
2012-01-31 15:19 ` Re: BUG #6423: max_standby_streaming_delay does not work Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: 139669962@qq.com @ 2012-01-31 09:35 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 6423
Logged by: Weiyu Zhao
Email address: 139669962@qq.com
PostgreSQL version: 9.0.6
Operating system: Redhat 5.5 x86_64
Description:
The parameter max_standby_streaming_delay does not work. The parameter is
set 30s. My queries' duration is about 7 or 8 seconds. I still encounter
errors:
CSTFATAL: terminating connection due to conflict with recovery
CSTDETAIL: User query might have needed to see row versions that must be
removed.
CSTHINT: In a moment you should be able to reconnect to the database and
repeat your command.
I have a test case, but I don't know how to upload it.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #6423: max_standby_streaming_delay does not work
2012-01-31 09:35 BUG #6423: max_standby_streaming_delay does not work 139669962@qq.com
@ 2012-01-31 15:19 ` Fujii Masao <masao.fujii@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Fujii Masao @ 2012-01-31 15:19 UTC (permalink / raw)
To: 139669962@qq.com; +Cc: pgsql-bugs
On Tue, Jan 31, 2012 at 6:35 PM, <139669962@qq.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6423
> Logged by: Weiyu Zhao
> Email address: 139669962@qq.com
> PostgreSQL version: 9.0.6
> Operating system: Redhat 5.5 x86_64
> Description:
>
> The parameter max_standby_streaming_delay does not work. The parameter is
> set 30s. My queries' duration is about 7 or 8 seconds. I still encounter
> errors:
> CSTFATAL: terminating connection due to conflict with recovery
> CSTDETAIL: User query might have needed to see row versions that must be
> removed.
> CSTHINT: In a moment you should be able to reconnect to the database and
> repeat your command.
> I have a test case, but I don't know how to upload it.
The following note in the document would help:
http://www.postgresql.org/docs/devel/static/runtime-config-replication.html#GUC-MAX-STANDBY-STREAMIN...
---------------
Note that max_standby_streaming_delay is not the same as the maximum
length of time a query can run before cancellation; rather it is the
maximum total time allowed to apply WAL data once it has been received
from the primary server. Thus, if one query has resulted in
significant delay, subsequent conflicting queries will have much less
grace time until the standby server has caught up again.
---------------
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-01-31 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 09:35 BUG #6423: max_standby_streaming_delay does not work 139669962@qq.com
2012-01-31 15:19 ` Fujii Masao <masao.fujii@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox