Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 915AA2E00F2 for ; Fri, 22 Feb 2008 15:31:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 33931-06 for ; Fri, 22 Feb 2008 15:31:42 -0400 (AST) X-Greylist: delayed 00:05:01.089083 by SQLgrey-1.7.5 Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by postgresql.org (Postfix) with ESMTP id 1A8CD2E00E7 for ; Fri, 22 Feb 2008 15:31:45 -0400 (AST) Received: from [172.16.255.106] (66-23-211-34.clients.speedfactory.net [66.23.211.34]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1JSdXc2R3w-0007Kf; Fri, 22 Feb 2008 14:26:43 -0500 Message-ID: <47BF21EF.4050700@serioustechnology.com> Date: Fri, 22 Feb 2008 14:26:39 -0500 From: Geoffrey User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: loading same instance of dump to two different servers simultaneously? References: <200802221834.m1MIYhvA001607@larrys.harvard.edu> In-Reply-To: <200802221834.m1MIYhvA001607@larrys.harvard.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18vaCB6nOQjCHilreYnOXUHY83zvdNIoZ6gKJM ZdF5p90yWSFpNIscfzMBDJPpp9nY2g+Nsxsw30Rt8T+Xn49+mN hyjuCnLcvS/1g64UAcqKaCe8EsW+ETm X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/287 X-Sequence-Number: 28361 Susan Russo wrote: > Hi - > I'm wondering if anyone has had success doing a simultaneous > load of one Pg dump to two different servers? The load command > is actually run from two different workstations, but reading the > same pgdump-file. > > We use this command from the command line (Solaris-10 OS): > > uncompress -c pgdump-filename.Z | psql -h pgserver-A pg-dbname > > and, likewise wonder if we can run the same command on another > workstation, but reading the SAME 'pgdump-filename.Z' > to load onto ANOTHER server ('pgserver-B'), i.e.: > > uncompress -c pgdump-filename.Z | psql -h pgserver-A pg-dbname I don't think this is really a postgres question, but the fact you're on a UNIX type of OS, you should have no problem doing this. uncompress will simply open the file separately for each shell session. -- Until later, Geoffrey Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. - Benjamin Franklin