pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: shyamperi@davlin.co.in
To: pgsql-performance@postgresql.org
Subject: A Basic Question
Date: Fri,  3 Oct 2003 12:04:38 +0530 (IST)
Message-ID: <6681508.1065164977817.JavaMail.tomcat@mail.davlin.co.in> (raw)

12:28p
Dear All,
This question is regarding the performance of queries in general.
The performance of the queries wud varying depending on the no. Of tuples it is returning, and the sort of alogorithm that will be implemented or the retrieval. 
Now if the relation returns zero tuples.. (the seq, and the index scan is the best option) and if there are 1 or more then rest PG-supported scans will be the best. 
Now here is where I am having a bit of considerations. My relation works fast, when it returns more than on tuple. But get's slow when it returns zero tuple.
Now how shud I got abt it.

-----
Warm Regards
Shÿam Peri

II Floor, Punja Building,
M.G.Road,
Ballalbagh,
Mangalore-575003 
Ph : 91-824-2451001/5
Fax : 91-824-2451050 


DISCLAIMER: This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended
recipient you should not disseminate,distribute,store,print, copy or
deliver this message.Please notify the sender immediately by e-mail if
you have received this e-mail by mistake and delete this e-mail from
your system.

Attachments:

Untitled1 (text/html, 1.2K) download <head></head><body marginwidth=4 marginheight=4 topmargin=4 leftmargin=4><P>12:28p<BR>Dear All,</P> <P>This question is regarding the performance of queries in general.</P> <P>The performance of the queries wud varying depending on the no. Of tuples it is returning, and the sort of alogorithm that will be implemented or the retrieval. <BR>Now if the relation returns zero tuples.. (the seq, and the index scan is the best option) and if there are 1 or more then rest PG-supported scans will be the best. </P> <P>Now here is where I am having a bit of considerations. My relation works fast, when it returns more than on tuple. But get's slow when it returns zero tuple.</P> <P>Now how shud I got abt it.<BR></P><PRE>----- Warm Regards Shÿam Peri II Floor, Punja Building, M.G.Road, Ballalbagh, Mangalore-575003 Ph : 91-824-2451001/5 Fax : 91-824-2451050 </PRE></body><br><br><b> DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.</b>

view thread (2+ messages)  latest in thread

Message-ID: <6681508.1065164977817.JavaMail.tomcat@mail.davlin.co.in>
Permalink:  ../6681508.1065164977817.JavaMail.tomcat@mail.davlin.co.in/
Also on:    postgresql.org/message-id/6681508.1065164977817.JavaMail.tomcat@mail.davlin.co.in

 · 

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-performance@postgresql.org
  Cc: shyamperi@davlin.co.in
  Subject: Re: A Basic Question
  In-Reply-To: <6681508.1065164977817.JavaMail.tomcat@mail.davlin.co.in>
  References: <6681508.1065164977817.JavaMail.tomcat@mail.davlin.co.in>

* 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