Re: 57 minute SELECT

From: David Johnston <polobo(at)yahoo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: 57 minute SELECT
Date: 2013-10-03 01:17:14
Message-ID: 1380763034169-5773174.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Samuel Stearns 2013-10-03 01:17:27 Re: 57 minute SELECT
Previous Message Samuel Stearns 2013-10-03 01:03:51 Re: 57 minute SELECT