Re: Yet another Performance Question

From: Konstantinos Agouros <elwood(at)agouros(dot)de>
To: Patrik Kudo <kudo(at)partitur(dot)se>
Cc: Konstantinos Agouros <elwood(at)agouros(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Yet another Performance Question
Date: 2001-04-18 13:20:37
Message-ID: 20010418152037.A14897@rumba.agouros.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Apr 18, 2001 at 02:59:53PM +0200, Patrik Kudo wrote:
> Hi!
>
> I'm not 100% sure, but I think it would be much faster if you use COPY
> instead of INSERT when you read in a lot of data from a file.
Well unless I am the database owner I only can do \copy and the script does
some manipulation before it inserts...

Konstantin
>
> Regards,
> Patrik Kudo
>
> --
> ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
> Känns det oklart? Fråga på!
>
> On Wed, 18 Apr 2001, Konstantinos Agouros wrote:
>
> > Frankly what matters is the time it takes alltogether. I have a script that
> > first does a few million inserts, and than queries on this data... these queries
> > don't terminate in a reasonable (<10days) time, if I don't use indices.
> >
> > So I will add some drop/create index-commands to the script...
> >
> > Konstantin
>

--
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elwood(at)agouros(dot)de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185
----------------------------------------------------------------------------
"Captain, this ship will not sustain the forming of the cosmos." B'Elana Torres

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Weholt 2001-04-18 13:44:26 Debian packages for 7.1 ???
Previous Message Patrik Kudo 2001-04-18 12:59:53 Re: Yet another Performance Question