Re: Feature Request for 7.5

Поиск
Список
Период
Сортировка
Искать
От
Richard Huxton
Тема
Re: Feature Request for 7.5
Дата
Msg-id
200312031200.04276.dev@archonet.com
Ответ на
Список
Дерево обсуждения
Re: Feature Request for 7.5 "Chris Travers" <chris@travelamericas.com>
Re: Feature Request for 7.5 Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Feature Request for 7.5 Peter Childs <blue.dragon@blueyonder.co.uk>
Re: Feature Request for 7.5 Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Feature Request for 7.5 Jan Wieck <JanWieck@Yahoo.com>
Any *current* summary of postgres-r 7.2 status? (was Re: Feature Request for 7.5) Bopolissimus Platypus <bopolissimus@sni.ph>
Re: Any *current* summary of postgres-r 7.2 status? (was Re: Bruce Momjian <pgman@candle.pha.pa.us>
Re: Any *current* summary of postgres-r 7.2 status? (was Re: Bopolissimus Platypus <bopolissimus@sni.ph>
Re: Feature Request for 7.5 Jan Wieck <JanWieck@Yahoo.com>
Re: Feature Request for 7.5 "Keith C. Perry" <netadmin@vcsn.com>
Re: Feature Request for 7.5 Jan Wieck <JanWieck@Yahoo.com>
On Wednesday 03 December 2003 11:13, Chris Travers wrote:
> Comments inline
>
> From: "Jan Wieck" :
> > There are many problems with a "proxy" solution. One is that you really
> > don't know if a statement does modify the database or not. A SELECT for
> > example can call a user defined function somewhere and that can do
> > whatever the programmer likes it to do. So you would have to "replicate"
> > all that too. Granted, you can exclude this type of database usage from
> > your supported list.
>
> That is why it would be nice to be able to check for altered tuples on a
> select before deciding whether to replicate...  In this case you could have
> a query->check for altered tuples-> if altered replicate query routine.
>
> > Next you don't have control over sequence allocation. Every application
> > that uses sequence allocated ID's is in danger, because they are not
> > blocking, you cannot force the order of assignments and they don't roll
> > back either.
>
> This is the more serious problem.  I will have to think this one over.  I
> wonder about having cross-proxy sequence generators.

Don't forget you need to lockstep system-clocks too, otherwise SELECT * FROM 
log_stats WHERE log_ts > now() - '1 hour' becomes ill-defined.

Hmm - thinking about it, you'll need to serialise queries too. Otherwise you 
could issue simultaneous queries to machines A,B and have A complete in order 
(1,2) and B in order (2,1). I don't see a way around that one without a 
guaranteed scheduling order at the kernel level.

-- 
  Richard Huxton
  Archonet Ltd
В списке pgsql-general по дате отправления
От: Richard Huxton
Дата:
Сообщение: Re: Transaction Question
От: greg@turnstep.com
Дата:
Сообщение: Re: DBD::Pg problem
FAQ