<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: compressing an export with oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690214#M842415</link>
    <description>Brian,&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;gunzip /u20/test.dmp.Z -c &amp;gt; /u20/exp_daily.dmp &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Mon, 25 Mar 2002 20:05:35 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-03-25T20:05:35Z</dc:date>
    <item>
      <title>compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690213#M842414</link>
      <description>The following is my current script:&lt;BR /&gt;&lt;BR /&gt;cat $HOME/admin/P01/exp/exp_daily.dmp | gzip &amp;gt; /u20/test.Z&lt;BR /&gt;&lt;BR /&gt;exp / file=$HOME/admin/P01/exp/exp_daily.dmp owner='owner' buffer=5000000 direct=y&lt;BR /&gt;***&lt;BR /&gt;Now $HOME/admin/P01/exp/exp_daily.dmp is a pipe created the following way: &lt;BR /&gt;mknod exp_daily.dmp p&lt;BR /&gt;&lt;BR /&gt;I exp to the pipe file, then the compress grabs the info in the pipe and sends it to the *.Z file.  I import basically the same way.  I zcat into a pipe, then import from the pipe into oracle.  My problem is I'm trying to use a different compression tool, gzip to be exact.  I substitute gzip for compress and change the .Z extension to .gz.  It appears to work fine.  When I try to import using gunzip it doesn't send the info to the pipe.  It creates a new file with the same name as the *.gz file but minus the .gz chars.  So basically it just uncompresses the file.  The following is the script I run:&lt;BR /&gt;&lt;BR /&gt;impst / buffer=5000000 file=/u20/exp_daily.dmp fromuser='owenr' touser='owner'&lt;BR /&gt;&lt;BR /&gt;gunzip /u20/test.dmp.Z &amp;gt; /u20/exp_daily.dmp&lt;BR /&gt;**&lt;BR /&gt;I've tried changing &amp;gt; to | with no success.  I was on the phone with hp and they didn't have an answer for me either.  Is there any other compress tool that works with pipes?  I need to compress on the export.</description>
      <pubDate>Mon, 25 Mar 2002 19:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690213#M842414</guid>
      <dc:creator>Brian Gebhard</dc:creator>
      <dc:date>2002-03-25T19:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690214#M842415</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;gunzip /u20/test.dmp.Z -c &amp;gt; /u20/exp_daily.dmp &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 25 Mar 2002 20:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690214#M842415</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-25T20:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690215#M842416</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;gunzip /u20/test.dmp.Z -c &amp;gt; /u20/exp_daily.dmp &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 25 Mar 2002 20:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690215#M842416</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-25T20:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690216#M842417</link>
      <description>Sorry my current script is actually &lt;BR /&gt;&lt;BR /&gt;cat $HOME/admin/P01/exp/exp_daily.dmp | compress &amp;gt; /u20/test.Z &amp;amp;&lt;BR /&gt;&lt;BR /&gt;exp / file=$HOME/admin/P01/exp/exp_daily.dmp owner='owner' buffer=5000000 direct=y</description>
      <pubDate>Mon, 25 Mar 2002 20:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690216#M842417</guid>
      <dc:creator>Brian Gebhard</dc:creator>
      <dc:date>2002-03-25T20:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690217#M842418</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;dd if=$HOME/admin/P01/exp/exp_daily.dmp | gzip -c &amp;gt; /u20/test.Z &amp;amp;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 25 Mar 2002 20:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690217#M842418</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-25T20:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690218#M842419</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;Make that:&lt;BR /&gt;&lt;BR /&gt;dd if=$HOME/admin/P01/exp/exp_daily.dmp | gzip -9 -c &amp;gt; /u20/test.gz &amp;amp;&lt;BR /&gt;&lt;BR /&gt;"-9" will compress the crap out of the file - and on ascii files it really squashes it!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 25 Mar 2002 20:13:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690218#M842419</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-25T20:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690219#M842420</link>
      <description>Yes I do realize -9 compresses it very much but doesn't it also drastically increase the amount of time the export/compression will take?  Won't the compression take longer?</description>
      <pubDate>Mon, 25 Mar 2002 20:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690219#M842420</guid>
      <dc:creator>Brian Gebhard</dc:creator>
      <dc:date>2002-03-25T20:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: compressing an export with oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690220#M842421</link>
      <description>Brian, &lt;BR /&gt;&lt;BR /&gt;Yes the compression will take longer, and in your case if you are immediately importing the data, then a -9 doesn't make sense, unless you need to keep the export.zipped file small.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 25 Mar 2002 21:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compressing-an-export-with-oracle/m-p/2690220#M842421</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-25T21:14:55Z</dc:date>
    </item>
  </channel>
</rss>

