Re: Yet another Performance Question

Поиск
Список
Период
Сортировка
От Patrik Kudo
Тема Re: Yet another Performance Question
Дата
Msg-id Pine.BSF.4.31.0104181457390.54649-100000@tb303.partitur.se
обсуждение исходный текст
Ответ на Re: Yet another Performance Question  (Konstantinos Agouros <elwood@agouros.de>)
Ответы Re: Yet another Performance Question  (Konstantinos Agouros <elwood@agouros.de>)
Список pgsql-general
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.

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


В списке pgsql-general по дате отправления:

Предыдущее
От: DaVinci
Дата:
Сообщение: Re: Yet another Performance Question
Следующее
От: Konstantinos Agouros
Дата:
Сообщение: Re: Yet another Performance Question