Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: long transa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 4174 of 4424
Post > Topic >>

Re: long transaction

by mmoncure@[EMAIL PROTECTED] ("Merlin Moncure") Aug 11, 2008 at 03:03 PM

On Mon, Aug 11, 2008 at 2:53 AM, Sabin Coanda
<sabin.coanda@[EMAIL PROTECTED]
> wrote:
> No, I cannot use VACUUM inside the transaction, and it seems this is the
> problem, although autovacuum is set.
>
> However I checked the following scenario to find a solution. I call the
> 30000 statements without transaction. The performance it not changed.
But
> when I add VACUUM command after each 20 statement set, I got the linear
> performance that I want. Unfortunatelly this is not possible inside a
> transaction.
>
> Do you know how could I solve my problem, keeping the 30000 statements
> inside a single transaction ?

long running transactions can be evil. is there a reason why this has
to run in a single transaction?

merlin

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 7 Posts in Topic:
long transaction
"Sabin Coanda"   2008-07-18 18:34:20 
Re: long transaction
lennin.caro@[EMAIL PROTEC  2008-07-18 10:22:59 
Re: long transaction
"Sabin Coanda"   2008-08-11 09:53:07 
Re: long transaction
mmoncure@[EMAIL PROTECTED  2008-08-11 15:03:10 
Re: long transaction
"Sabin Coanda"   2008-08-12 11:17:12 
Re: long transaction
mmoncure@[EMAIL PROTECTED  2008-08-12 12:56:29 
Re: long transaction
"Sabin Coanda"   2008-08-13 09:07:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:51:23 CST 2008.