pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Thomas <paul@tmsl.demon.co.uk>
To: pgsql-performance @ postgresql . org <pgsql-performance@postgresql.org>
Subject: Re: select slow?
Date: Wed, 31 Mar 2004 18:27:01 +0100
Message-ID: <20040331182701.A17746@bacon> (raw)
In-Reply-To: <5090.1080747621@sss.pgh.pa.us>
References: <BAY8-F7R0ZJi4W8StO00001d4b4@hotmail.com>
	<5090.1080747621@sss.pgh.pa.us>


On 31/03/2004 16:40 Tom Lane wrote:
> "Jaime Casanova" <el_vigia_ec@hotmail.com> writes:
> > There are no indexes yet, and the table is just 6 rows long so even if
> > indexes exists the planner will do a seq scan. that's my whole point
> 63m for
> > seq scan in 6 rows table is too much.
> 
> That was 63 milliseconds, according to your original post, which seems
> perfectly reasonable to me seeing that it's not a super-duper server.
> 
> The problem sounds to be either on the client side or somewhere in your
> network.  I don't know anything about VB, but you might want to look
> through the client-side operations to see what could be eating up the 13
> seconds.


Given that the client and server are on different machines, I'm wondering 
the bulk of the 13 seconds is due a network mis-configuration or a very 
slow DNS server...

-- 
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for 
Business             |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+



view thread (6+ messages)

Message-ID: <20040331182701.A17746@bacon>
Permalink:  ../20040331182701.A17746@bacon/
Also on:    postgresql.org/message-id/20040331182701.A17746@bacon

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: paul@tmsl.demon.co.uk
  Subject: Re: select slow?
  In-Reply-To: <20040331182701.A17746@bacon>

* 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