pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luigi N. Puleio <npuleio@rocketmail.com>
To: pgsql-performance@postgresql.org
Subject: EXPLAIN detail
Date: Wed, 9 Apr 2008 02:51:50 -0700 (PDT)
Message-ID: <862313.90586.qm@web33505.mail.mud.yahoo.com> (raw)

Hello everyone!!

I have a table with 17 columns and it has almost
530000 records and doing just a 

SELECT * FROM table

with the EXPLAIN ANALYZE I get:

Seq Scan on table (cost=0.00...19452.95 rows=529395
width=170) (actual time=0.155...2194.294 rows=529395
loops=1)
total runtime=3679.039 ms

and this table has a PK...
Do you think is too much time for a simple select?...

I guess it's a bit slow to get all those records...but
since I'm a newbie with PostgreSQL, what I can check
to optimize?

Thanks to all!
Ciao,
Luigi 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (12+ messages)  latest in thread

Message-ID: <862313.90586.qm@web33505.mail.mud.yahoo.com>
Permalink:  ../862313.90586.qm@web33505.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/862313.90586.qm@web33505.mail.mud.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: npuleio@rocketmail.com
  Subject: Re: EXPLAIN detail
  In-Reply-To: <862313.90586.qm@web33505.mail.mud.yahoo.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