X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3BB86D91A5 for ; Fri, 23 Sep 2005 12:52:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00950-10 for ; Fri, 23 Sep 2005 15:52:01 +0000 (GMT) Received: from 217-20-115-93.internetserviceteam.com (217-20-115-93.internetserviceteam.com [217.20.115.93]) by svr1.postgresql.org (Postfix) with ESMTP id 15849D8F27 for ; Fri, 23 Sep 2005 12:51:59 -0300 (ADT) Received: from [192.168.1.48] (236.Red-83-44-164.dynamicIP.rima-tde.net [83.44.164.236]) by 217-20-115-93.internetserviceteam.com (Postfix) with ESMTP id 0544C39BEC; Fri, 23 Sep 2005 17:07:51 +0200 (CEST) Message-ID: <433424A2.8030403@mediaroot.de> Date: Fri, 23 Sep 2005 16:52:02 +0100 From: Aldor User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: cbuschini@carax.com Cc: pgsql-sql@postgresql.org Subject: Re: [ADMIN] COPY TO / COPY FROM References: <4333EB91.7020909@carax.com> <4333EED5.4090903@mediaroot.de> <4333F22B.5030703@carax.com> <4333F71D.7070604@mediaroot.de> <43340A4B.3090108@carax.com> In-Reply-To: <43340A4B.3090108@carax.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.132 required=5 tests=[AWL=0.132] X-Spam-Level: X-Archive-Number: 200509/229 X-Sequence-Number: 22776 > I kown I can use pg_dump to perform that "back up" but I wanted to > test performences. pg_dump does the same.. if you same custom it makes binary (WITH BINARY) but with compression. Performance? 1. TOP: inserte into select .... 2. TOP: copy / pg_restore with uncompressed binary 3. TOP: copy / pg_restore with uncompressed text 4. TOP: pg_restore with compressed binary (custom format in pg_dump) 5. TOP: normal inserts... This is my experience. > PATH = /home/postgres//carax_exec.out Be aware to give postgres write/read access to this file/dir - i think the double "//" is typee Cédric Buschini wrote: > Aldor wrote: > >> What is the name of the table you want to dump? >> >> > I kown I can use pg_dump to perform that "back up" but I wanted to test > performences. > > The table is carax_exec > >> What is the exact path you try to dump it to? >> >> > PATH = /home/postgres//carax_exec.out > >> What version of PostgreSQL do you have? >> >> > uhmm 8.0 > >