Re: allow LIMIT in UPDATE and DELETE

From: Shelby Cain <alyandon(at)yahoo(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Csaba Nagy <nagy(at)ecircle-ag(dot)com>, SCassidy(at)overlandstorage(dot)com, Postgres general mailing list <pgsql-general(at)postgresql(dot)org>, pgsql-general-owner(at)postgresql(dot)org
Subject: Re: allow LIMIT in UPDATE and DELETE
Date: 2006-05-24 00:29:14
Message-ID: 20060524002914.43475.qmail@web37205.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

----- Original Message ----
>From: Jim C. Nasby <jnasby(at)pervasive(dot)com>
>To: Shelby Cain <alyandon(at)yahoo(dot)com>
>Cc: Csaba Nagy <nagy(at)ecircle-ag(dot)com>; SCassidy(at)overlandstorage(dot)com; Postgres >general mailing list <pgsql-general(at)postgresql(dot)org>; pgsql-general-owner(at)postgresql(dot)org
>Sent: Tuesday, May 23, 2006 5:19:58 PM
>Subject: Re: [GENERAL] allow LIMIT in UPDATE and DELETE
>
>The issue is that vacuum has to base it's decisions not on the oldest
>running transaction that has locks on a table, but on the oldest running
>transaction in the entire database, because that transaction could start
>reading any table at any time. Until that changes, long-running
>transactions of any kind and heavy-update tables simply won't mix well
>at all in a single database.

Now I understand... thanks for the clarification.

Regards,

Shelby Cain

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tony Wasson 2006-05-24 00:54:09 Re: [SQL] (Ab)Using schemas and inheritance
Previous Message Jim C. Nasby 2006-05-23 23:35:50 Re: Why won't it index scan?