Re: Hot Standby query cancellation and Streaming Replication integration

Поиск
Список
Период
Сортировка
Искать
От
Greg Smith
Тема
Re: Hot Standby query cancellation and Streaming Replication integration
Дата
Msg-id
4B88A010.6000100@2ndquadrant.com
Ответ на
Список
Дерево обсуждения
Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Simon Riggs <simon@2ndQuadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Tatsuo Ishii <ishii@postgresql.org>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Aidan Van Dyk <aidan@highrise.ca>
Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Hot Standby query cancellation and Streaming Replication integration Simon Riggs <simon@2ndQuadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Dimitri Fontaine <dfontaine@hi-media.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Aidan Van Dyk <aidan@highrise.ca>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration "Joshua D. Drake" <jd@commandprompt.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Dimitri Fontaine <dfontaine@hi-media.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and StreamingReplication integration "Joshua D. Drake" <jd@commandprompt.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration "Joshua D. Drake" <jd@commandprompt.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Robert Haas <robertmhaas@gmail.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Joachim Wieland <joe@mcknight.de>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Simon Riggs <simon@2ndQuadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Fujii Masao <masao.fujii@gmail.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Simon Riggs <simon@2ndQuadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Simon Riggs <simon@2ndQuadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Robert Haas <robertmhaas@gmail.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <stark@mit.edu>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Aidan Van Dyk <aidan@highrise.ca>
Re: Re: Hot Standby query cancellation and Streaming Replication integration "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Robert Haas <robertmhaas@gmail.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Joachim Wieland <joe@mcknight.de>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Dimitri Fontaine <dfontaine@hi-media.com>
Re: Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Richard Huxton <dev@archonet.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Smith <greg@2ndquadrant.com>
Re: Hot Standby query cancellation and Streaming Replication integration Bruce Momjian <bruce@momjian.us>
Re: Hot Standby query cancellation and Streaming Replication integration Richard Huxton <dev@archonet.com>
Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot Standby query cancellation and Streaming Replication integration Richard Huxton <dev@archonet.com>
Re: Hot Standby query cancellation and Streaming Replication integration Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Hot Standby query cancellation and Streaming Replication integration Robert Haas <robertmhaas@gmail.com>
Re: Hot Standby query cancellation and Streaming Replication integration Josh Berkus <josh@agliodbs.com>
Re: Hot Standby query cancellation and Streaming Replication integration Richard Huxton <dev@archonet.com>
Re: Hot Standby query cancellation and Streaming Replication integration Greg Stark <gsstark@mit.edu>
Joshua D. Drake wrote:
> On Sat, 27 Feb 2010 00:43:48 +0000, Greg Stark  wrote:
>   
>> I want my ability to run large batch queries without any performance
>> or reliability impact on the primary server.
>>     
>
> +1
>
> I can use any number of other technologies for high availability.
>   

Remove "must be an instant-on failover at the same time" from the 
requirements and you don't even need 9.0 to handle that, this has been a 
straightforward to solve problem since 8.2.  It's the combination of HA 
and queries that make things hard to do.

If you just want batch queries on another system without being concerned 
about HA at the same time, the first option is to just fork the base 
backup and WAL segment delivery to another server and run queries there.

Some simple filesystem snapshot techniques will also suffice to handle 
it all on the same standby.  Stop warm standby recovery, snapshot, 
trigger the server, run your batch job; once finished, rollback to the 
snapshot, grab the latest segment files, and resume standby catchup.  
Even the lame Linux LVM snapshot features can handle that job--one of my 
coworkers has the whole thing scripted even this is so common.

And if you have to go live because there's a failover, you're back to 
the same "cold standby" situation a large max_standby_delay puts you at, 
so it's not even very different from what you're going to get in 9.0 if 
this is your priority mix.  The new version is just lowering the 
operational complexity involved.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Greg Smith
Дата:
FAQ