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 Aug 12, 2008 | 11:18 AM
  #1  
TopBanana's Avatar
TopBanana
Thread Starter
Scooby Regular
 
Joined: Jan 2001
Posts: 9,781
Likes: 0
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.
Reply
Old Aug 12, 2008 | 07:16 PM
  #2  
T4molie's Avatar
T4molie
Scooby Regular
 
Joined: Dec 2002
Posts: 2,617
Likes: 0
From: Dum dum de dum....
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
Reply
Old Aug 12, 2008 | 09:38 PM
  #3  
ozzy's Avatar
ozzy
Scooby Regular
 
Joined: Nov 1999
Posts: 10,504
Likes: 1
From: Scotland, UK
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.
Reply
Old Aug 14, 2008 | 12:40 AM
  #4  
stevem2k's Avatar
stevem2k
Scooby Regular
 
Joined: Sep 2001
Posts: 4,670
Likes: 0
From: Kingston ( Surrey, not Jamaica )
Default

You can go 8 > 10 , but not the other way though.... ( 10 > 9 doesn't work easily either ... )
Reply
Old Aug 14, 2008 | 09:28 PM
  #5  
J4CKO's Avatar
J4CKO
Scooby Regular
iTrader: (1)
 
Joined: Jan 2003
Posts: 19,384
Likes: 1
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
Reply
Old Aug 15, 2008 | 02:09 PM
  #6  
T4molie's Avatar
T4molie
Scooby Regular
 
Joined: Dec 2002
Posts: 2,617
Likes: 0
From: Dum dum de dum....
Default

Originally Posted by J4CKO
J4CKO, Oracle 8i, 9i, 10G OCP
You HAD to put that in there
Reply
Old Aug 17, 2008 | 12:22 PM
  #7  
J4CKO's Avatar
J4CKO
Scooby Regular
iTrader: (1)
 
Joined: Jan 2003
Posts: 19,384
Likes: 1
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.
Reply
Old Aug 18, 2008 | 10:17 AM
  #8  
T4molie's Avatar
T4molie
Scooby Regular
 
Joined: Dec 2002
Posts: 2,617
Likes: 0
From: Dum dum de dum....
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
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Kevin Mc
Computer & Technology Related
1
Nov 5, 2003 03:06 PM
darlodge
Computer & Technology Related
10
Oct 18, 2003 04:08 PM
stan
Non Scooby Related
5
Sep 20, 2000 02:07 PM




All times are GMT +1. The time now is 12:11 AM.