Re: Optimize a big matrix select

From: Florian Schaetz <Florian(dot)Schaetz(at)Optitool(dot)DE>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Optimize a big matrix select
Date: 2015-03-30 06:00:49
Message-ID: 01E7E8E50C98824E9045DFD5FFC859D403405B5F8E84@SBSRV.ot.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

> Did you run ANALYZE on TEMP_TABLE after loading data and before running your query?

Nope, not yet. What will the effect be? The temp table is comparatively small compared to the main table (and has, yet, no foreign keys).

> You're not doing a lot of deletes or updates in TEMP_TABLE at any point, are you?

Only one insert. The temp table gets created, used (hopefully, if I get this query to run faster, only once) and then dropped.

Regards,

Flo

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Marcos Almeida Azevedo 2015-03-30 07:35:57 Re: Implementing a join algorithm in Postgres
Previous Message Kevin Grittner 2015-03-27 14:47:20 Re: Optimize a big matrix select