- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can to compress dump file?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 04:27 AM
тАО04-24-2007 04:27 AM
how can to compress dump file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 04:43 AM
тАО04-24-2007 04:43 AM
Re: how can to compress dump file?
If you want a more specific answer, we need more information. What kind of dump file? Are you talking about the crash dump that happens when your machine crashes? Are you talking about some other kind of dump?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 04:54 AM
тАО04-24-2007 04:54 AM
Re: how can to compress dump file?
or any compression tool.
If you are asking for the compression ratio, size, etc. then you have to give detailed information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 05:20 AM
тАО04-24-2007 05:20 AM
Re: how can to compress dump file?
gzip generally gives me the best compression ratio. however all these utilities are i/o intensive and take considerable time to do their jobs on large files. Take this into account when doing the compress.
I have an internal customer that does oracle backups and then uses gzip to compress them. The oracle backup runs 55 minutes. The gzip runs 4.5 hours.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 08:13 AM
тАО04-24-2007 08:13 AM
Re: how can to compress dump file?
http://www.dizwell.com/prod/node/673
but you can't use it if you are using data pump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 09:25 PM
тАО04-24-2007 09:25 PM
Re: how can to compress dump file?
You may wish to use use both compression AND split to make my export be in many managable sized file (say 500MB).
The first step will be to create a pipe in the OS via:
$ mknod anyfilename p
and then export to that pipe.
Next, set up another process in the background that 'consumes' the contents of this pipe and puts it somewhere.
Below a script that you can use as a template.
------------------------------
#!/bin/sh
export UID=/
export FN= exp.$(date +%j_%Y).dmp
export PIPE=/tmp/exp_tmp_ora.dmp
export MAXSIZE=500m
export EXPORT_WHAT="full=y COMPRESS=n"
echo $FN
cd /your/path/to_diskArea
ls -l
rm expbkup.log export.test exp.*.dmp* $PIPE
mknod $PIPE p
date > expbkup.log
( gzip < $PIPE ) | split -b $MAXSIZE - $FN. &
# uncomment this to just SPLIT the file, not compress and split
#split -b $MAXSIZE $PIPE $FN. &
exp userid=$UID buffer=20000000 file=$PIPE $EXPORT_WHAT >>& expbkup.log
date >> expbkup.log
date > export.test
cat `echo $FN.* | sort` | gunzip > $PIPE &
# uncomment this to just SPLIT the file, not compress and split
#cat `echo $FN.* | sort` > $PIPE &
imp userid=sys/pass file=$PIPE show=y full=y >>& export.test
date >> export.test
tail expbkup.log
tail export.test
ls -l
rm -f $PIPE
--------------------------------------------------
The above script also always does an 'integrity' check of the export right after it is done with an import show=y, that shows how to use these split files with import.
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 09:40 PM
тАО04-24-2007 09:40 PM
Re: how can to compress dump file?
If it's binary it may already leave very little levarage for compression, and the resulting compression ratio may not justify the required cpu processing time.