Re: performance tuning in large function / transaction

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "MindTerm" <mindterm(at)yahoo(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: performance tuning in large function / transaction
Date: 2001-12-14 02:09:11
Message-ID: GNELIHDDFBOCMGBFGEFOAEMDCAAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Try running the entire set of statements within one transaction - that will
speed things up considerably.

You can also increase the number of buffers you are using, but that also
requires fiddling about with shared memory.

Chris

> -----Original Message-----
> From: pgsql-sql-owner(at)postgresql(dot)org
> [mailto:pgsql-sql-owner(at)postgresql(dot)org]On Behalf Of MindTerm
> Sent: Friday, 14 December 2001 12:27 AM
> To: pgsql-sql(at)postgresql(dot)org
> Subject: [SQL] performance tuning in large function / transaction
>
>
> Hi all,
>
> I am writing a large function which perform more
> than 2000 modify statements ( delete / insert ) . The
> execution time of this function is not acceptable. How
> can I config postgresql ( in postgresql.conf ?? ) so
> that the performance will be better ? The machine
> runing postgresql have spare memory and harddisk
> space.
>
>
> M.T.
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message MindTerm 2001-12-14 02:46:52 Re: performance tuning in large function / transaction
Previous Message Stephan Szabo 2001-12-13 19:17:26 Re: performance tuning in large function / transaction