<?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: compress export file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504708#M217192</link>
    <description>Thanks Gordon for ur prompt reply.&lt;BR /&gt;The full db export is almost reaching 50GB now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Shaffat.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Mar 2005 06:12:09 GMT</pubDate>
    <dc:creator>Syed Shaffat Ali</dc:creator>
    <dc:date>2005-03-15T06:12:09Z</dc:date>
    <item>
      <title>compress export file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504706#M217190</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;We run oracle full db export on a daily basis. Due to the growth in the data the export file is taking alot of space.Oracle gives the following code for compressing the export file while the export is running. &lt;BR /&gt;&lt;BR /&gt;1) Make the pipe &lt;BR /&gt;mknod /tmp/exp_pipe  p                      &lt;BR /&gt;2)Compress in background &lt;BR /&gt;compress &amp;lt; /tmp/exp_pipe &amp;gt; export.dmp.Z &amp;amp;     &lt;BR /&gt;-or- &lt;BR /&gt;cat p | compress &amp;gt; output.Z &amp;amp; &lt;BR /&gt;-or- &lt;BR /&gt;cat p &amp;gt; output.file &amp;amp; ) &lt;BR /&gt; 3) Export to the pipe &lt;BR /&gt;exp file=/tmp/exp_pipe userid=scott/tiger tables=X&lt;BR /&gt;&lt;BR /&gt;My question is do I need to give the command 1 on a daily basis or shall i drop the directory created by mknod after the export finishes.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Shaffat.</description>
      <pubDate>Tue, 15 Mar 2005 04:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504706#M217190</guid>
      <dc:creator>Syed Shaffat Ali</dc:creator>
      <dc:date>2005-03-15T04:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: compress export file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504707#M217191</link>
      <description>Shaffat,&lt;BR /&gt;command 1 creates a pipe not a directory, so no need to remove. &lt;BR /&gt;&lt;BR /&gt;The process works by the export pushing data into the pipe, where the compress program picks it up and compresses it into export.dmp.Z&lt;BR /&gt;We have the same process and it works very well.&lt;BR /&gt;&lt;BR /&gt;Note: Ensure your filesystem can cope with &amp;gt; 2Gb files, if youe are producing large dmp.&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 15 Mar 2005 04:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504707#M217191</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-03-15T04:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: compress export file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504708#M217192</link>
      <description>Thanks Gordon for ur prompt reply.&lt;BR /&gt;The full db export is almost reaching 50GB now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Shaffat.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 06:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504708#M217192</guid>
      <dc:creator>Syed Shaffat Ali</dc:creator>
      <dc:date>2005-03-15T06:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: compress export file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504709#M217193</link>
      <description>hi Shaffat,&lt;BR /&gt;&lt;BR /&gt;I would also recommend that you break your full export into schema level exports and launch them in parallel so as to reduce the total time taken to export the whole database. This also helps when recovering.&lt;BR /&gt;&lt;BR /&gt;Above all, i hope you are not using it as the sole backup method!!&lt;BR /&gt;&lt;BR /&gt;RMAN would be the best choice for backup of your database.&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 15 Mar 2005 07:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504709#M217193</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-03-15T07:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: compress export file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504710#M217194</link>
      <description>Thanks Yogee for ur reply. Actually the export is done overnight and it doesnt cause any problems till now. Apart from the daily export we have a monthly full Data protector backup.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Shaffat.</description>
      <pubDate>Tue, 15 Mar 2005 07:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504710#M217194</guid>
      <dc:creator>Syed Shaffat Ali</dc:creator>
      <dc:date>2005-03-15T07:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: compress export file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504711#M217195</link>
      <description>Just on the idea of more information - &lt;BR /&gt;You can export with a variable called FILESIZE.&lt;BR /&gt;FILESIZE sets the max value that a file will have, then it create the next file using the FILE parameter...&lt;BR /&gt;From the manuals on 9.2.x&lt;BR /&gt;&lt;BR /&gt;When the amount of data Export must write exceeds the maximum value you specified for FILESIZE, it will get the name of the next export file from the FILE parameter (see FILE for more information) or, if it has used all the names specified in the FILE parameter, it will prompt you to provide a new export filename. If you do not specify a value for FILESIZE (note that a value of 0 is equivalent to not specifying FILESIZE), then Export will write to only one file, regardless of the number of files specified in the FILE parameter.&lt;BR /&gt;...&lt;BR /&gt;The FILESIZE value can also be specified as a number followed by KB (number of kilobytes). For example, FILESIZE=2KB is the same as FILESIZE=2048. Similarly, MB specifies megabytes (1024 * 1024) and GB specifies gigabytes (1024**3). B remains the shorthand for bytes; the number is not multiplied to obtain the final file size (FILESIZE=2048B is the same as FILESIZE=2048).&lt;BR /&gt;&lt;BR /&gt;Now on the FILE parameter...&lt;BR /&gt;FILE&lt;BR /&gt;Default: expdat.dmp&lt;BR /&gt;Specifies the names of the export files. The default extension is .dmp, but you can specify any extension. Because Export supports multiple export files (see the parameter FILESIZE), you can specify multiple filenames to be used. For example:&lt;BR /&gt;&lt;BR /&gt;exp scott/tiger FILE = dat1.dmp, dat2.dmp, dat3.dmp FILESIZE=2048&lt;BR /&gt;&lt;BR /&gt;When Export reaches the value you have specified for the maximum FILESIZE, Export stops writing to the current file, opens another export file with the next name specified by the FILE parameter, and continues until complete or the maximum value of FILESIZE is again reached. If you do not specify sufficient export filenames to complete the export, Export will prompt you to provide additional filenames.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2005 11:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compress-export-file/m-p/3504711#M217195</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-03-15T11:01:22Z</dc:date>
    </item>
  </channel>
</rss>

