Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id DEEC99FB6B8 for ; Tue, 19 Jun 2007 14:11:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 47267-02 for ; Tue, 19 Jun 2007 14:11:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id C44159F9F2B for ; Tue, 19 Jun 2007 14:10:59 -0300 (ADT) Received: from perhan.alvh.no-ip.org (190-13-143-52.bk13-dsl.surnet.cl [190.13.143.52]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l5JHAr7c031776; Tue, 19 Jun 2007 10:10:54 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 48D8532A23; Tue, 19 Jun 2007 13:10:50 -0400 (CLT) Date: Tue, 19 Jun 2007 13:10:50 -0400 From: Alvaro Herrera To: Chapilliquen Gutierrez Eduardo Cc: Jaime Casanova , Gabriel Hermes Colina Zambra , pgsql-es-ayuda@postgresql.org Subject: Re: Ejecutar \copy desde VB Message-ID: <20070619171050.GU4265@alvh.no-ip.org> References: <570797.97455.qm@web63713.mail.re1.yahoo.com> <52865C3823D7134E909B33D3822985942279D7@srvmail01.mem.int> <20070619154020.GO4265@alvh.no-ip.org> <52865C3823D7134E909B33D382298594227B80@srvmail01.mem.int> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <52865C3823D7134E909B33D382298594227B80@srvmail01.mem.int> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Tue, 19 Jun 2007 10:10:54 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/434 X-Sequence-Number: 28266 Chapilliquen Gutierrez Eduardo escribió: > Lo que pasa es que voy a tener que cargar archivos de promedio 1 > millón de registros, y leer cada línea del archivo, va ser muy lento, > y uno de lo requerimientos que tengo es que la carga no demore mas de > 180 segundos, por eso no puedo cargar línea por línea el archivo, que > otra solución pudo aplicar?? Ah, o sea ya hiciste el programa y mediste que se demoraba mas que 180 segundos? No creo que realmente se vaya a demorar tanto. Un millon de registros no es gran cosa. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support