Unix Technical Forum

bringing together two different databases (with different schemes) into one database

This is a discussion on bringing together two different databases (with different schemes) into one database within the Oracle Database forums, part of the Database Server Software category; --> Hi, I use Oracle 9i and would like to mix two different databases into one. These two databases have ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 02:07 PM
Dennis
 
Posts: n/a
Default bringing together two different databases (with different schemes) into one database

Hi,

I use Oracle 9i and would like to mix two different databases into one.
These two databases have different tables and views. Each name of a
table or view is unique and does not exist in the other database.
Now I would like to bring them all together into a new database so that
this new database has all the information of the other two databases
(table-descriptions and contents of tables/views).
Also it would be great if this would be possible autimatically at a
special time, i.e. in the night.

If you can help me and have a manual reference, please tell me the URL
because I am really new to Oracle.

Thank you very much,
Dennis

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 02:07 PM
sjaffarhussain@gmail.com
 
Posts: n/a
Default Re: bringing together two different databases (with different schemes) into one database

How big the schmeas are in those database? I think export and import
would be a good idea in this case.
Take schema export from one database and import it in the a database
where you want.

For an example,
On database A
exp system/password@tnsname file=username.dmp log=username.log
owner=user_name_which_you_want_to_export direct=y statistics=none

On Database B
Create a similar user and with the exact default tablespace (for
convineance purpose).
Once done with user creation.
imp system/password@tnsname file=username.dmp log=imp_username.log
fromuser=username touser=username statistics=none

once you see 'imported successfully finished without warning', then
analyze the newly imported schema in database B.

For more help, search at http://asktom.oracle.com site.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 02:08 PM
Yang
 
Posts: n/a
Default Re: bringing together two different databases (with different schemes) into one database

if you are really sure that none of table has same name :
export from database A
import into database B

use google with "exp imp expdp impdp"

yang


"Dennis" <arbeitend@yahoo.de> a écrit dans le message de news:
1115118724.026195.306960@o13g2000cwo.googlegroups. com...
> Hi,
>
> I use Oracle 9i and would like to mix two different databases into one.
> These two databases have different tables and views. Each name of a
> table or view is unique and does not exist in the other database.
> Now I would like to bring them all together into a new database so that
> this new database has all the information of the other two databases
> (table-descriptions and contents of tables/views).
> Also it would be great if this would be possible autimatically at a
> special time, i.e. in the night.
>
> If you can help me and have a manual reference, please tell me the URL
> because I am really new to Oracle.
>
> Thank you very much,
> Dennis
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 02:08 PM
Dennis
 
Posts: n/a
Default Re: bringing together two different databases (with different schemes) into one database

Thank you very much. I tried it and it worked :-)

Dennis

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 02:08 PM
Dennis
 
Posts: n/a
Default Re: bringing together two different databases (with different schemes) into one database

Thank you very much. I tried it and it worked :-)

Dennis

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com