ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Oracle 8i DB -> Oracle 10g (https://www.scoobynet.com/computer-and-technology-related-34/705764-oracle-8i-db-oracle-10g.html)

TopBanana 12 August 2008 11:18 AM

Oracle 8i DB -> Oracle 10g
 
I'm using 10g to develop on, and I need to get the schema and data out of a fairly large Oracle 8i DB. What's the easiest way of going about this? Can I backup to a file? I'd rather not have to script it all.

T4molie 12 August 2008 07:16 PM

I'm no expert (currently studying for 10g OCA) but I'd have thought you'd have to export the schema from 8 and import it into 10 :)

EDITED TO ADD: How big is the DB and do you have enough spare disk space to do that?

Andy

ozzy 12 August 2008 09:38 PM

I'm no expert, but I've always used Oracle "exp"ort to get a full database backup.

You need to re-create the original tablespace names and datafiles first if you try a full "imp"ort.

I've done this for DB's from 30-60Gb.

stevem2k 14 August 2008 12:40 AM

You can go 8 > 10 , but not the other way though.... ( 10 > 9 doesn't work easily either ... )

J4CKO 14 August 2008 09:28 PM

Yes, export from 8i, make sure they have the same/compatible char sets, make sure you get a list of the tablespaces and pre create them in the target db along with the appropriate schema/user. Do a fromuser/touser import so you don't end up with a lot of objects owned by sys.

Set the buffer size as you get daft errors otherwise.

Alternatively, you can do an upgrade from 8.1.7.4 to 10G in situ and just upgrade your 8i database.

You cant go backwards, as has been said, do some research on the "compatible" parameter which can be useful in these situations.

An export isn't a real backup, never use it as such, unless it is to augment your real backup regime, RMAN being the preferred choice for most eventualities with a good old fashioned cold backup for a warm and fuzzy feeling if you arent sure.

J4CKO, Oracle 8i, 9i, 10G OCP

T4molie 15 August 2008 02:09 PM


Originally Posted by J4CKO (Post 8069696)
J4CKO, Oracle 8i, 9i, 10G OCP

You HAD to put that in there :D

J4CKO 17 August 2008 12:22 PM


Originally Posted by T4molie (Post 8070865)
You HAD to put that in there :D

Yes, need to do the 11g one to complete the set.

PM me if you need any tips, the exams aren't to bad as long as you prepare fully, do the self tests, do every possible item on an actual db, read the books etc.

T4molie 18 August 2008 10:17 AM


Originally Posted by J4CKO (Post 8073955)
Yes, need to do the 11g one to complete the set.

PM me if you need any tips, the exams aren't to bad as long as you prepare fully, do the self tests, do every possible item on an actual db, read the books etc.

J4CKO - YHPM :thumb:


All times are GMT +1. The time now is 09:26 PM.


© 2024 MH Sub I, LLC dba Internet Brands