Solved

Oracle 9i db export

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

758 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

19 Experts available now in Live!

Get 1:1 Help Now