Re: feeding big script to psql - Mailing list pgsql-general

From Tom Lane
Subject Re: feeding big script to psql
Date
Msg-id 11796.1123001772@sss.pgh.pa.us
Whole thread Raw
In response to Re: feeding big script to psql  (Peter Wilson <petew@yellowhawk.co.uk>)
Responses Re: feeding big script to psql  (Peter Wilson <petew@yellowhawk.co.uk>)
Re: feeding big script to psql  (Peter Wilson <petew@yellowhawk.co.uk>)
Re: feeding big script to psql  (Peter Wilson <petew@yellowhawk.co.uk>)
List pgsql-general
Peter Wilson <petew@yellowhawk.co.uk> writes:
> I found a while ago that after inserting a lot of rows into a clean
> Postgres table it would take several minutes just to analyse a command,
> not even starting the execution.

Oh?  Could you provide a test case for this?  I can certainly believe
that the planner might choose a bad plan if it has no statistics, but
it shouldn't take a long time to do it.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Slow Inserts on 1 table?
Next
From: Dr NoName
Date:
Subject: indexes are fucked