Solved

Oracle 9i db export

Posted on 2007-11-19
5
2,928 Views
Last Modified: 2013-12-19
Is there a guide on how to export an oracle 9i db. What I am trying to do is export the db from my prod enviroment into my development enviroment. Both of these run oracle 9i and are on windows 2003 server.
Thanks
0
Comment
Question by:rrisal
[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
5 Comments
 
LVL 9

Expert Comment

by:joebednarz
ID: 20316036
Here is a link:  http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1013411

One way to accomplish what you are trying to do...

1) take a full export of your production database (as outlined in above link)
2) in development environment, truncate all tables
3) import the export file you took in step one


There are plenty of other steps, but this is a very basic outline.

Also, depending upon your needs, there are a host of other solutions that will work, which if you keep this open long enough, you will get other experts to offer help.
0
 
LVL 9

Assisted Solution

by:joebednarz
joebednarz earned 150 total points
ID: 20316043
... step 2) ...truncate all tables IN SCHEMAS RELATED TO YOUR APPLICATION
0
 
LVL 2

Accepted Solution

by:
hamita earned 300 total points
ID: 20316675
step 1: take a full export of your prod db
exp system/manager FULL=y FILE=exp_full.dmp LOG=exp_full.log
step 2: truncate all tables
step 3: import to another environment
 imp system/manager FULL=y FILE=exp_full.dmp LOG=imp_full.log IGNORE=y
0
 
LVL 9

Assisted Solution

by:techji
techji earned 50 total points
ID: 20325966
if you need to export/import entire db, you need DBA privileges or atleast exp_full_database/imp_full_database.

if you dont have any of these privileges, start treating your DBA to lunch or starbucks.

You can do it yourself without those privileges, but you will have to do it at user level. And depending on the number of users that belong to the application, it can take hours doing the export/import.

for syntax, just do "exp help=y" or "imp help=y". Help is pretty good.
0
 

Author Comment

by:rrisal
ID: 20329189
"if you dont have any of these privileges, start treating your DBA to lunch or starbucks. " I think i need to do that more...... thanks to all of you.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
use lov values 2 72
Create Index on a Materialized View 5 47
grant user/role question 11 36
error in my cursor 5 50
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

733 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