pg.ddx.io  pgsql-students@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: preetika tyagi <preetikatyagi@gmail.com>
Cc: pgsql-general@postgresql.org General <pgsql-general@postgresql.org>
Subject: Re: query execution time
Date: Mon, 21 Mar 2011 14:30:51 -0600
Message-ID: <AABF2DE3-E820-4BCA-BF36-EDD795C919DC@elevated-dev.com> (raw)
In-Reply-To: <AANLkTimQjE1cMGLPVDH+SNsH4A+Mwx2+_T+rQ1dJAkhV@mail.gmail.com>
References: <AANLkTi=FhaO5mX_YdqqsF1Yh0YNEHW8H1f0AUdpE0Fmo@mail.gmail.com>
	<AANLkTin2oebHpSB5fEQxMBv1UPCq9Q4OqWZnxygNY2j_@mail.gmail.com>
	<AANLkTi=hN+GMGRLCzqzTvu+LWUcaQ4HFikzuaPwa4z80@mail.gmail.com>
	<603AF880-82C8-4CC7-A9E9-914A602A06DC@enterprisedb.com>
	<AANLkTi=qu2L4YXnfvBPF2C5ZX8gCDfMTkfZgMd1mgwye@mail.gmail.com>
	<376244CD-113E-4A82-A346-54D819B96947@elevated-dev.com>
	<AANLkTimQjE1cMGLPVDH+SNsH4A+Mwx2+_T+rQ1dJAkhV@mail.gmail.com>

On Mar 21, 2011, at 12:03 PM, preetika tyagi wrote:

> I tried running the same query after reboot and back-to-back, it was taking less time in both the cases. It means the problem is something else.
> 
> Can there be a reason which is more hardware/operating system specific and due to which the behavior is not uniform?

While I do have a couple of ideas, you're probably better served by letting those here with more optimization experience help you, as their answers will be more complete.

-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice







view thread (8+ messages)

Message-ID: <AABF2DE3-E820-4BCA-BF36-EDD795C919DC@elevated-dev.com>
Permalink:  ../AABF2DE3-E820-4BCA-BF36-EDD795C919DC@elevated-dev.com/
Also on:    postgresql.org/message-id/AABF2DE3-E820-4BCA-BF36-EDD795C919DC@elevated-dev.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-students@postgresql.org
  Cc: scott_ribe@elevated-dev.com, preetikatyagi@gmail.com, pgsql-general@postgresql.org
  Subject: Re: query execution time
  In-Reply-To: <AABF2DE3-E820-4BCA-BF36-EDD795C919DC@elevated-dev.com>
  References: <AANLkTi=FhaO5mX_YdqqsF1Yh0YNEHW8H1f0AUdpE0Fmo@mail.gmail.com> <AANLkTin2oebHpSB5fEQxMBv1UPCq9Q4OqWZnxygNY2j_@mail.gmail.com> <AANLkTi=hN+GMGRLCzqzTvu+LWUcaQ4HFikzuaPwa4z80@mail.gmail.com> <603AF880-82C8-4CC7-A9E9-914A602A06DC@enterprisedb.com> <AANLkTi=qu2L4YXnfvBPF2C5ZX8gCDfMTkfZgMd1mgwye@mail.gmail.com> <376244CD-113E-4A82-A346-54D819B96947@elevated-dev.com> <AANLkTimQjE1cMGLPVDH+SNsH4A+Mwx2+_T+rQ1dJAkhV@mail.gmail.com> <AABF2DE3-E820-4BCA-BF36-EDD795C919DC@elevated-dev.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