Oracle 8i schema export

Hi,

I have a Oracle 8 database on a VMS server and i do not have access to that servere.
Have another server(windows) with Oracle 9i client installed and it can connect to the above mentioned 8i database without issues. I tried to take an export of a schema from the 8i database connecting with a 9i client from the windows server and it does'nt seem to work ( do not have the exact error msg info) . Is it possible to take a export of a 8i schema connected from a 9i client on a different server? I have taken exports of a 9i , connected with 10g client and 10g export connected witha 11g client, but 8i export with 9i client does'nt seem to work.

Please let me know.

Thanks!
crishna1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
Check out:
Compatibility Matrix for Export And Import Between Different Oracle Versions [Video] [ID 132904.1]

The doc states you need to use exp form the lower version number.  Although some of the newer versions might work, looks like 9i to 8i does not.

5. Basic Compatibility.
5.1. Export client.

Export client compatibility:

Always use a version of the EXPORT utility that is equal to the lowest version of either the source or the target database.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
schwertnerCommented:
Give a try with 10g client.

Also try with 9i client but experiment with full export, schema level export.

Also investigate how complex is the schema. If it is not very complex (number of tables, size, reference constraints) you czn try to clone it on 9i or even 10g instance.
0
crishna1Author Commented:
that's interesting , will give it a try with 10g client tomorrow and let you know.
This schema has lot of referential constraints.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

crishna1Author Commented:
using the 10g client did not work.
0
crishna1Author Commented:
by any chance, is there a 8i client download available anywhere?
0
slightwv (䄆 Netminder) Commented:
I'm not aware of any Oracle site that still has 8i on it.

I would go through the hoops and get command line access to the VMS server or have an admin do the exit for you.

How much data are you needing to move?  You can probably write your own export to CSV or something similar then use sql loader to load it back in.
0
crishna1Author Commented:
tried the "export to CSV" and "export table data" using TOAD. all these were resulting in constraint violations. diasble the constrainst and ran the insert statements, now cant enable the constraints for the same reason. hence looking at the option of exporting the schema from the 8i database.
0
crishna1Author Commented:
i "may" be able to get command level access to the VMS server , but i am not familiar with the commands to get to the export, never worked on a VMS before. Is it similar to a UNIX box?
0
slightwv (䄆 Netminder) Commented:
exp is exp no matter what operating system.

What differs is how you set up the environment variables to connect to the proper database.  My VMS is more than 20 years old so I won't be of much help there.

As long as you log into the oracle user, everything should be set up for you.

Make sure the file transfer from server to server is binary.


The CSV method:
Do you have constraints on the new database that you do not have on the old database?

As long as you load parent tables first then child tables you should be fine.
0
crishna1Author Commented:
the new database is created from the "Create Tables"  script generated with toad.
tried to load the parent tables first , but not quite sure of all the parent tables, there are several of them...it is like peeling an onion.  

We couldnt find the Oracle user on the VMS box, it is very very old and no one that had set it up are around :-(. This whole task has started to eliminate that box and the task of recreating the schema with data has landed on my plate.
0
crishna1Author Commented:
hence teh original question..."How to export a 8i and import into 9i"
0
slightwv (䄆 Netminder) Commented:
From the VMS command prompt what happens it you just typ exp and hit enter?

I have not been able to locate any link that shows how to use exp on a vax.  I'll keep looking.
0
crishna1Author Commented:
bottom line, an Oracle 8i schema cannot be exported with any other version of Oracle.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.