Skip site navigation (1) Skip section navigation (2)

Re: Data Set Growth causing 26+hour runtime, on what we believe to be very simple SQL

From: Matthew Wakeling <matthew(at)flymine(dot)org>
To: Tory M Blue <tmblue(at)gmail(dot)com>
Cc: Richard Huxton <dev(at)archonet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Data Set Growth causing 26+hour runtime, on what we believe to be very simple SQL
Date: 2010-01-22 18:26:50
Message-ID: alpine.DEB.2.00.1001221825590.6195@aragorn.flymine.org (view raw or flat)
Thread:
Lists: pgsql-performance
On Fri, 22 Jan 2010, Tory M Blue wrote:
> But the same sql that returns maybe 500 rows is pretty fast, it's the return
> of 10K+ rows that seems to stall and is CPU Bound.

Okay, so you have two differing cases. Show us the EXPLAIN ANALYSE for 
both of them, and we will see what the difference is.

Matthew

-- 
 The third years are wandering about all worried at the moment because they
 have to hand in their final projects. Please be sympathetic to them, say
 things like "ha-ha-ha", but in a sympathetic tone of voice 
                                        -- Computer Science Lecturer

In response to

Responses

pgsql-performance by date

Next:From: Scott MarloweDate: 2010-01-22 18:38:21
Subject: Re: Data Set Growth causing 26+hour runtime, on what we believe to be very simple SQL
Previous:From: Richard HuxtonDate: 2010-01-22 18:25:00
Subject: Re: Data Set Growth causing 26+hour runtime, on what we believe to be very simple SQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group