pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karthik Dakshinamoorthy <karthikd@hexaware.com>
Subject: [ocpfree] Problem finding the time difference while tuning a query
Date: Tue, 5 Apr 2005 18:47:53 +0530
Message-ID: <372DD7320F873B43929D49BFF86F950B0EA4C3F3@mail3.hexaware.com> (raw)



Dear all,
            Of late, I have been involved in tuning the Performance for a particular program with my project.

1) When you execute a particular query, say if it takes, 1 mins, the second run will always take less time, like 10 msecs etc, the reason is that the second run, benefits from the parsing done on the first run of the query.

One way to overcome, this is to use "alter system flush shared_pool" which is normally "supposed" to clear the parsing in shared_pool, but that's where my problem is, it sometimes does and most times doesn't, so I can't really say, how mush I have tuned or is it tuned at all.

Any solutions ??????? 


2) The entire program must have only one commit, 'cos of that it takes a longtime, 'cos of the huge amts of information's that need to be maintained in the rollback segments.
Pragma autonomous_transaction commits Or backup tables are not an option.

Any methods, to enhance the speed to the program with rollback segment Or methods to ease the load on the rollback segments????




Cheers
Kart
------------------------------------------------------------------------------------------------------------------------------------
Lot of failures in life are those who didn't realise how close they were to success when they gave up !!







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ocpfree/

<*> To unsubscribe from this group, send an email to:
    ocpfree-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 






Message-ID: <372DD7320F873B43929D49BFF86F950B0EA4C3F3@mail3.hexaware.com>
Permalink:  ../372DD7320F873B43929D49BFF86F950B0EA4C3F3@mail3.hexaware.com/
Also on:    postgresql.org/message-id/372DD7320F873B43929D49BFF86F950B0EA4C3F3@mail3.hexaware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: karthikd@hexaware.com
  Subject: Re: [ocpfree] Problem finding the time difference while tuning a query
  In-Reply-To: <372DD7320F873B43929D49BFF86F950B0EA4C3F3@mail3.hexaware.com>
  References: <372DD7320F873B43929D49BFF86F950B0EA4C3F3@mail3.hexaware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox