Search Postgresql Archives

Streaming replication and high query cancellation values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a couple of questions about how streaming replication works in the presence of a high timeout for query cancellation:

1. Where is the WAL data stored while waiting for the query cancellation, the primary or the secondary?  In case of a crash during this interval, could the secondary end up behind the primary due to the WAL data not having been sent over?

2. Can a very high query cancellation value run afoul of wal_keep_segments, or will the primary (assuming it's the one doing the storing) keep that data around until the query completes or is cancelled?

Thanks!
--
-- Christophe Pettus
   xof@xxxxxxxxxxxx


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux