Re: [postgis-users] Query slow down, never completes

From: Sandro Santilli <strk(at)keybit(dot)net>
To: PostGIS Users Discussion <postgis-users(at)postgis(dot)refractions(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [postgis-users] Query slow down, never completes
Date: 2011-10-11 15:08:17
Message-ID: 20111011150817.GF23739@gnash
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 11, 2011 at 02:25:20PM +0200, Andreas Forø Tollefsen wrote:

> I also tried to close the db1 connection for each year in the loop, and
> reopen the connection for the next year in the loop. Same problem.
> I have tried both with insert into ... select .. and select into annual
> tables and the put them together. Same problem.

Then I guess the problem is with the specific data you encounter
at the given year. Can you reproduce the hangup in the query for
a single year ? Keep an eye on memory use and CPU utilization.

--strk;

() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Achilleas Mantzios 2011-10-11 15:08:59 Re: Global Variables?
Previous Message Alban Hertroys 2011-10-11 14:34:35 Re: Should casting to integer produce same result as trunc()