Solved

uncompress and gunzip

Posted on 2007-11-26
4
1,030 Views
Last Modified: 2013-12-26
Hi experts, I did decompress a oracle export file that was compressed with the compress command on unix with gunzip. I used gunzip filename instead of uncompress filename, Will this corrupt my dump file? I need an answer before I start the import. Thank you in advance. It is a dump file made from oracle 817 on hp ux.
0
Comment
Question by:sharscho
4 Comments
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 125 total points
ID: 20353649
Hi,

I think it is ok since gunzip can uncompress .Z files.
0
 
LVL 21

Assisted Solution

by:robocat
robocat earned 150 total points
ID: 20353678
gunzip can decompress files compressed with the compress command.
If you get no error messages, everything should be fine.

0
 
LVL 23

Accepted Solution

by:
David earned 225 total points
ID: 20354136
I agree with the prior comments, and would add for your piece of mind:

1.  Test the compressed file integrity, e.g., "gunzip -t ...".  See man gunzip for further info.
2.  Test the dump file by executing it in test mode, using the import parameter "show=y" and specify an output log.  This will display the DDL without executing it.
3.  It's good practice to ensure your target database is recoverable prior to the change.  At a minimum, export the database with rows=n, indexes=n to grab the existing DDL.

Hope this helps.
0
 

Author Comment

by:sharscho
ID: 20354197
Thank you very much!!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now