Solved

uncompress and gunzip

Posted on 2007-11-26
4
1,038 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 22

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

Webinar: MongoDB® Index Types

Join Percona’s Senior Technical Services Engineer, Adamo Tonete as he presents “MongoDB Index Types, How, When and Where Should They be Used?” on Wednesday, July 12, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

632 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