From oracle-l-bounce@freelists.org Thu Oct 21 14:37:38 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i9LJbcS19312 for ; Thu, 21 Oct 2004 14:37:38 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i9LJbcI19307 for ; Thu, 21 Oct 2004 14:37:38 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 118F272D28E; Thu, 21 Oct 2004 14:43:48 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06153-46; Thu, 21 Oct 2004 14:43:47 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7362172C9DA; Thu, 21 Oct 2004 14:43:47 -0500 (EST) Subject: Re: using pipe to export oracle on windows platform From: Carel-Jan Engel To: zhuchao@gmail.com, "oracle-l@freelists.org" In-Reply-To: <962cf44b04102107171b922a5@mail.gmail.com> References: <962cf44b04102107171b922a5@mail.gmail.com> Content-type: text/plain Organization: DBA!ert Message-Id: <1098388303.7195.15.camel@dbalert199.dbalert.nl> Mime-Version: 1.0 Date: Thu, 21 Oct 2004 21:51:43 +0200 Content-Transfer-Encoding: 8bit X-archive-position: 11393 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: cjpengel.dbalert@xs4all.nl Precedence: normal Reply-To: cjpengel.dbalert@xs4all.nl X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org When we used PVCS, many many moons ago, in a mixed windows/SCO Unix environment, all sources were stored on the unix box. We got a huge software package to maintain, appr. 500K lines of 'C'. What we wanted was to Set a standard header with PVCS labels in any file we touched. So we had a script dealing with all files that got saved. This script ran on Unix, in an infinite loop. It was just sitting there, waiting for a new full path filename appearing, to handle/process this file, if necessary. Guess what, the PVCS post-check-in trigger wrote the file-name to a unix pipe, even on Windows. We created the named pipe for this in a directory that was shared through samba. To prevent early EOF's happening, we had another script, while : ; do; sleep 3600 ; done > running, keeping it open as long as we wanted. I don't have a windoes Oracle client at hand here (lucky me ;-) ), but I'm getting curious whether this could make you writing to a (Unix/Linux) pipe on Windows! Best regards, Carel-Jan Engel === If you think education is expensive, try ignorance. (Derek Bok) === On Thu, 2004-10-21 at 16:17, zhu chao wrote: > Hi friends: > We have to migrate a database on windows 2000 to Solaris, and to > another location. So we want to reduce the size of the dump file via > gzip. > As windows does not support pipe like we do in unix: mknod exp.pipe > p; gzip dmp.gz & and run exp. I tried cygwin. But seems > gzip simply do not do anything there. Anyone tried using pipe on > windows/cygwin? Or is there similar workaround? > > > -- http://www.freelists.org/webpage/oracle-l