Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Oracle 8i DB -> Oracle 10g

Thread Tools
 
Search this Thread
 
Old 12 August 2008, 11:18 AM
  #1  
TopBanana
Scooby Regular
Thread Starter
 
TopBanana's Avatar
 
Join Date: Jan 2001
Posts: 9,781
Likes: 0
Received 0 Likes on 0 Posts
Default 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.
Old 12 August 2008, 07:16 PM
  #2  
T4molie
Scooby Regular
 
T4molie's Avatar
 
Join Date: Dec 2002
Location: Dum dum de dum....
Posts: 2,617
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 12 August 2008, 09:38 PM
  #3  
ozzy
Scooby Regular
 
ozzy's Avatar
 
Join Date: Nov 1999
Location: Scotland, UK
Posts: 10,504
Likes: 0
Received 1 Like on 1 Post
Default

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.
Old 14 August 2008, 12:40 AM
  #4  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Default

You can go 8 > 10 , but not the other way though.... ( 10 > 9 doesn't work easily either ... )
Old 14 August 2008, 09:28 PM
  #5  
J4CKO
Scooby Regular
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default

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
Old 15 August 2008, 02:09 PM
  #6  
T4molie
Scooby Regular
 
T4molie's Avatar
 
Join Date: Dec 2002
Location: Dum dum de dum....
Posts: 2,617
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by J4CKO
J4CKO, Oracle 8i, 9i, 10G OCP
You HAD to put that in there
Old 17 August 2008, 12:22 PM
  #7  
J4CKO
Scooby Regular
iTrader: (1)
 
J4CKO's Avatar
 
Join Date: Jan 2003
Posts: 19,384
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by T4molie
You HAD to put that in there
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.
Old 18 August 2008, 10:17 AM
  #8  
T4molie
Scooby Regular
 
T4molie's Avatar
 
Join Date: Dec 2002
Location: Dum dum de dum....
Posts: 2,617
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by J4CKO
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Kevin Mc
Computer & Technology Related
1
05 November 2003 03:06 PM
darlodge
Computer & Technology Related
10
18 October 2003 04:08 PM
stan
Non Scooby Related
5
20 September 2000 02:07 PM



Quick Reply: Oracle 8i DB -> Oracle 10g



All times are GMT +1. The time now is 02:27 AM.