Re: 7.1.3 : copy from stdin is very slow!
От | Chris Gamache |
---|---|
Тема | Re: 7.1.3 : copy from stdin is very slow! |
Дата | |
Msg-id | 20020212200232.36988.qmail@web13806.mail.yahoo.com обсуждение исходный текст |
Ответ на | Re: 7.1.3 : copy from stdin is very slow! (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-general |
I apologise for not giving details. I didn't know what details were necessary to give. I now know. As I found out, it was schema which was my downfall! Before my upgrade I dumped the schema, dropped the database, and recreated the database, and imported the schema back. I didn't remove a secondary index I had from 7.0.3. While it was copying, it was updating the index, and taking forever to do it! Tom, thank you for the kick in the right direction. (Note to self: Remove secondary indexes when using "COPY ... FROM STDIN" unless being paid by the hour.) Once removed, the table copy took less than three hours. CG --- Tom Lane <tgl@sss.pgh.pa.us> wrote: > Chris Gamache <cgg007@yahoo.com> writes: > > I'm still at a loss for what could be going on. > > You still haven't given us any real details, like say the schema for the > table being loaded. I'm wondering about triggers and foreign-key > references, myself. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
В списке pgsql-general по дате отправления: