Re: postgres import

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: postgres import
Дата
Msg-id 454863DF.2010903@magproductions.nl
обсуждение исходный текст
Ответ на Re: postgres import  ("Tomi NA" <hefest@gmail.com>)
Ответы Re: postgres import  ("Tomi NA" <hefest@gmail.com>)
Список pgsql-general
Tomi NA wrote:
> 2006/10/31, Albe Laurenz <all@adv.magwien.gv.at>:
>> You feed it to the command line interface psql.
>>
>> Example:
>> psql -h host -p port -d database -U user <dump.sql
>
> It's a good enough solution in most cases, but when the rowcount
> starts to skyrocket, it simply doesn't seem to cut it (at least I
> couldn't make it to). To load 1,5M rows (~230MB of INSERT statements),

INSERT statements? You dumped with the -d flag, didn't you? Otherwise
you'd have seen COPY statements instead, which are much faster (and of
which much fewer are necessary, usually).

--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
    7500 AK Enschede

// Integrate Your World //

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: [HACKERS] Index greater than 8k
Следующее
От: Bobby Gontarski
Дата:
Сообщение: blocking mode