Re: 57 minute SELECT - Mailing list pgsql-performance

From David Johnston
Subject Re: 57 minute SELECT
Date
Msg-id 1380763034169-5773174.post@n5.nabble.com
Whole thread Raw
In response to 57 minute SELECT  (Samuel Stearns <sstearns@staff.iinet.net.au>)
Responses Re: 57 minute SELECT
List pgsql-performance
Samuel Stearns-2 wrote
> Total RAM - 1G
>
>
> 1.       Explain on SELECT.

So either this is a typo (1 GB of RAM) or your query is likely ending up I/O
bound.

You should probably provide EXPLAIN and EXPLAIN (ANALYZE) output since even
with the schema it is impossible for someone to see what the planner is
proposing for a multiple-million record source table that is going to be
empty if all someone does is create the schema.

For my money it is also helpful to actual write some prose describing what
you are providing and seeing and not just toss some settings and schema out
there.

http://wiki.postgresql.org/wiki/SlowQueryQuestions

David J.




--
View this message in context: http://postgresql.1045698.n5.nabble.com/57-minute-SELECT-tp5773169p5773174.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


pgsql-performance by date:

Previous
From: Samuel Stearns
Date:
Subject: Re: 57 minute SELECT
Next
From: Samuel Stearns
Date:
Subject: Re: 57 minute SELECT