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
Solved

Oracle 9i db export

Posted on 2007-11-19
5
2,927 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
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.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

840 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