From: | Alban Hertroys <alban(at)magproductions(dot)nl> |
---|---|
To: | Tomi NA <hefest(at)gmail(dot)com> |
Cc: | Albe Laurenz <all(at)adv(dot)magwien(dot)gv(dot)at>, Antonios Katsikadamos *EXTERN* <antonioskatsikadamos(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres import |
Date: | 2006-11-01 09:07:43 |
Message-ID: | 454863DF.2010903@magproductions.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tomi NA wrote:
> 2006/10/31, Albe Laurenz <all(at)adv(dot)magwien(dot)gv(dot)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(at)magproductions(dot)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 //
From | Date | Subject | |
---|---|---|---|
Next Message | Martin Kuria | 2006-11-01 09:38:21 | Grouping My query |
Previous Message | Alban Hertroys | 2006-11-01 09:03:53 | Re: Trouble with plpgsql generic trigger function using |