Re: Update with last known location?

From: James David Smith <james(dot)david(dot)smith(at)gmail(dot)com>
To: Michael Wood <esiotrot(at)gmail(dot)com>
Cc: Erik Darling <edarling80(at)gmail(dot)com>, PostgreSQL List - Novice <pgsql-novice(at)postgresql(dot)org>, Kevin Grittner <kgrittn(at)ymail(dot)com>
Subject: Re: Update with last known location?
Date: 2014-02-06 10:11:13
Message-ID: CAMu32AD6zfCcPKSRrt9-yJZn+wKyEoe3PzqXCWrv7j7PnVarww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Yes, that was it Michael. I increased my working memory which helped
(although it was still writing to a temp table), and also split the
query into smaller bits. THanks.

On 5 February 2014 20:39, Michael Wood <esiotrot(at)gmail(dot)com> wrote:
> On 31 Jan 2014 4:51 PM, "James David Smith" <james(dot)david(dot)smith(at)gmail(dot)com>
> wrote:
>>
>> Hi Kevin / all,
>>
>> I tried to run the update with your code but got the following error
>> (which I realise is now diverging from my original question):
>>
>> ERROR: could not write to hash-join temporary file: No space left on
>> device
>> ********** Error **********
>
> Just a guess, but maybe it's writing to a temporary table and ran out of
> disk space?
>
>> Any thoughts? I didn't tweak the memory allocation or cost factors
>> before I ran it - maybe that would help? I didn't bother doing it
>> initially as I wasn't too fussed if it took say 4 hours instead of 3
>> etc. I'm not in a huge rush.
>>
>> Regarding the system, it's a virtual Ubuntu 12.04 desktop with
>> PostgreSQL 9.3 and PostGIS 2.0. I asked our IT guy for the details
>> about it and he gave the below. I'm the only user of the visualization
>> set-up at the moment, so all the resource *should* be available to me
>> he says:
>>
>> 20 cores of Intel Xeon E-2690 v2 processor @ 3GHz
>> 48GB of memory at 1866 MHz
>> Hard drive based on 10 x 15K RPM SAS hard disks
>>
>> Cheers
>>
>> James
>
> --
> Michael Wood

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message avpro avpro 2014-02-06 18:43:16 Re: understand basics - multiple cars in a database - selection of one
Previous Message Michael Wood 2014-02-05 20:39:50 Re: Update with last known location?