| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Jie Liang <jie(at)stbernard(dot)com> |
| Cc: | "'Bruce Momjian '" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "'pgsql-admin(at)postgresql(dot)org '" <pgsql-admin(at)postgresql(dot)org>, "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: ineffiency of pg_restore |
| Date: | 2002-08-12 22:38:26 |
| Message-ID: | 19334.1029191906@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-bugs |
Jie Liang <jie(at)stbernard(dot)com> writes:
> pg_restore give admin a lot of flexabilities, it can restore any object
> from a single dump file. But if the table is very big, e.g. 2M records,
> it will take a long time to restore because it use INSERTs.
This is demonstrably not the case --- at least not by default. You
get the same commands you would've gotten from pg_dump. Sure you
didn't create the dump file with "-d" ?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jie Liang | 2002-08-12 22:48:23 | Re: ineffiency of pg_restore |
| Previous Message | Jie Liang | 2002-08-12 22:30:06 | ineffiency of pg_restore |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jie Liang | 2002-08-12 22:48:23 | Re: ineffiency of pg_restore |
| Previous Message | Jie Liang | 2002-08-12 22:30:06 | ineffiency of pg_restore |