Re: Delay INSERT

Поиск
Список
Период
Сортировка
От Dawid Kuroczko
Тема Re: Delay INSERT
Дата
Msg-id 758d5e7f05032308342828a03f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Delay INSERT  (Richard Huxton <dev@archonet.com>)
Ответы Re: Delay INSERT  (Richard Huxton <dev@archonet.com>)
Re: Delay INSERT  (Greg Stark <gsstark@mit.edu>)
Re: Delay INSERT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Wed, 23 Mar 2005 14:50:47 +0000, Richard Huxton <dev@archonet.com> wrote:
> ON.KG wrote:
> > Hi
> >
> > Does PostgreSQL have something like "INSERT DELAYD" - like it is used in
> > MySQL?
> >
> > or any other way to delay inserting?
>
> What precisely does this do?

It adds an insert into a 'do this' queue and returns.  From PostgreSQL-s
point of view it would be equivalent of issuing INSERT and not waiting
for the result.

The MySQL has this mainly because when other statement such as
SELECT or UPDATE is in progress, the INSERT would be blocked.

PostgreSQL doesn't have such issues with blocking, so only difference
between INSERT and INSERT DELAYED from PostgreSQL's standpoint
would be waiting and not for the result...

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Simple query takes a long time on win2K
Следующее
От: "A. Mous"
Дата:
Сообщение: Re: Simple query takes a long time on win2K