Re: Planner create a slow plan without an available index

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Ben-Nes Yonatan <da(at)canaan(dot)co(dot)il>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Planner create a slow plan without an available index
Date: 2005-08-31 03:39:57
Message-ID: 20050831033957.GC3597@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 31, 2005 at 01:27:30 +0200,
Ben-Nes Yonatan <da(at)canaan(dot)co(dot)il> wrote:
>
> Now again im probably just paranoid but when I'm starting a transaction
> and in it im making more then 4 billions diffrent queries
> (select,insert,update,truncate...) and then im closing it, its counted
> as only one transaction right? (should I duck to avoid the manual? ;))

I believe there is a limit on the number of queries in a transaction of
2 or 4 billion (though this may be just in functions).

Ignoring subtransactions, all these queries count as just one transaction.
I am not sure how subtransactions are counted.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-08-31 03:48:19 Re: About "ERROR: must be *superuser* to COPY to or from a file"
Previous Message Alvaro Herrera 2005-08-31 03:39:45 Re: Planner create a slow plan without an available index