X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1831DD1ECB4 for ; Fri, 26 Mar 2004 20:43:16 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 54822-03 for ; Fri, 26 Mar 2004 16:43:18 -0400 (AST) Received: from web21321.mail.yahoo.com (web21321.mail.yahoo.com [216.136.175.207]) by svr1.postgresql.org (Postfix) with SMTP id 2DFCFD1EC72 for ; Fri, 26 Mar 2004 16:43:10 -0400 (AST) Message-ID: <20040326203345.3575.qmail@web21321.mail.yahoo.com> Received: from [65.115.48.30] by web21321.mail.yahoo.com via HTTP; Fri, 26 Mar 2004 12:33:45 PST Date: Fri, 26 Mar 2004 12:33:45 -0800 (PST) From: Hemapriya Subject: postgres copy command very slow. To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/354 X-Sequence-Number: 12923 Hi, We have postgresql 7.4.1 running on Mac OS.we are doing a conversion from mysql to postgres. I'm importing the table dumps using copy command in postgres. Copy takes 2 min to import 427938 rows in one table and at the same time it takes more than 2 hrs for 2415768 rows.. no of columns are similar in both the tables. i'm not able to figure out why it is getting too slower? Does anyone know why there is lot of difference in performance? Any hint is highly appreciated. regards Priya __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html