Re: Core team statement on replication in PostgreSQL

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Core team statement on replication in PostgreSQL
Дата
Msg-id Pine.GSO.4.64.0805292012520.16207@westnet.com
обсуждение исходный текст
Ответ на Re: Core team statement on replication in PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Core team statement on replication in PostgreSQL  (Josh Berkus <josh@agliodbs.com>)
Re: Core team statement on replication in PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Core team statement on replication in PostgreSQL  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-hackers
On Thu, 29 May 2008, Tom Lane wrote:

> There's no point in having read-only slave queries if you don't have a 
> trustworthy method of getting the data to them.

This is a key statement that highlights the difference in how you're 
thinking about this compared to some other people here.  As far as some 
are concerned, the already working log shipping *is* a trustworthy method 
of getting data to the read-only slaves.  There are plenty of applications 
(web oriented ones in particular) where if you could direct read-only 
queries against a slave, the resulting combination would be a giant 
improvement over the status quo even if that slave was as much as 
archive_timeout behind the master.  That quantity of lag is perfectly fine 
for a lot of the same apps that have read scalability issues.

If you're someone who falls into that camp, the idea of putting the sync 
replication job before the read-only slave one seems really backwards.

I fully accept that it may be the case that it doesn't make technical 
sense to tackle them in any order besides sync->read-only slaves because 
of dependencies in the implementation between the two.  If that's the 
case, it would be nice to explicitly spell out what that was to deflect 
criticism of the planned prioritization.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Core team statement on replication in PostgreSQL
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Re: Core team statement on replication in PostgreSQL