Home » RDBMS Server » Server Administration » database migration
database migration [message #147602] Fri, 18 November 2005 08:08 Go to next message
vgs2005
Messages: 123
Registered: April 2005
Senior Member
hi,
i am to migrate our db from solaris to linux. it would be the same instances, same users, same data, same schema, same evrything. can you please provide me a guideline or any useful link.. i'm not a dba and the dba is not available - but this is urgent. so it would be nice if i can get simple instructions. anyway, it's the development db, not prod, so am doing it...

thanks in advance..
Re: database migration [message #147618 is a reply to message #147602] Fri, 18 November 2005 09:54 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
There are only two options available.
Export and import
or
using materialized views.
In your case, exporting the source and importing into target is the simplest way.
Re: database migration [message #147633 is a reply to message #147602] Fri, 18 November 2005 11:30 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Although why

a) this would be done at all
b) this would be done by a non-dba

would be questions I'd want answered if I were working there.
Re: database migration [message #148145 is a reply to message #147633] Tue, 22 November 2005 22:24 Go to previous messageGo to next message
srinivas4u2
Messages: 66
Registered: June 2005
Member
Mahesh,

Can you please explain how materialized views can be used to migrate a database from one O.S to another.

Re: database migration [message #147618 is a reply to message #147602 ] Fri, 18 November 2005 10:54
Mahesh Rajendran
Messages: 5231
Registered: March 2002 Senior Member add to buddy list
ignore all messages by this user

There are only two options available.
Export and import
or
using materialized views.
In your case, exporting the source and importing into target is the simplest way.

Re: database migration [message #148207 is a reply to message #148145] Wed, 23 November 2005 01:37 Go to previous messageGo to next message
ndefontenay
Messages: 14
Registered: November 2005
Location: Thailand
Junior Member
If you are non-DBA then it may be good to know that you should create the tablespaces with the exact name existing in your solaris environment.

If you don't create the tablespaces then when you import it in Linux all your objects will go in your system tablespace by default and this is really serious problem.

If you are not able to create the tablespace on your own then it may be a good idea to ask someone else to perform the task. Export/Import is easy but not that easy if you are not DBA.
Re: database migration [message #148380 is a reply to message #148207] Wed, 23 November 2005 20:57 Go to previous messageGo to next message
srinivas4u2
Messages: 66
Registered: June 2005
Member
Thanks for your response! But that doesn't answer my question.

I want to know how one can migrate a database from one O.S to another O.S using materialized views. This was one of the suggestions made in the same thread. I am just curious to know how that can be done.

Re: database migration [message #148460 is a reply to message #148380] Thu, 24 November 2005 05:30 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
@srinivas4u2
Using materialized views are painful ( to some extent. You need to spend some time into this but definitely better than exporting/importing a large database).
But the method does succor, if the downtime required to do the migration should be very minimal.
Other hidden advantage is, you can have a working , migrated database in parallel.
So you can continue testing your code /functionality in the new platform with the latest data.
If everything is all set, one fine day, ask all the users to stop operation and do a quick refresh and
switch the users to the migrated database.

Tom Kyte gives a working example.

http://asktom.oracle.com/pls/ask/f?p=4950:8:12956091875742080632::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:744625626787

[Updated on: Thu, 24 November 2005 05:32]

Report message to a moderator

Re: database migration [message #148741 is a reply to message #148460] Sun, 27 November 2005 13:59 Go to previous messageGo to next message
srinivas4u2
Messages: 66
Registered: June 2005
Member
Thanks very much Mahesh!

Appreciate it!
Re: database migration [message #148906 is a reply to message #147602] Mon, 28 November 2005 23:51 Go to previous message
ybrahma
Messages: 3
Registered: November 2005
Junior Member
Hi, If you are using 10g there is another method to do is using RMAN convert command. for complete steps please refer to oracle's RMAN advanced users guide.
Previous Topic: Listener Failure - Strange Problem - Need Help
Next Topic: help me about SVRMGR
Goto Forum:
  


Current Time: Sat Feb 15 16:42:06 CST 2025