create a distributed database on two servers [message #610586] |
Fri, 21 March 2014 09:29 |
|
Oussama
Messages: 6 Registered: March 2014
|
Junior Member |
|
|
Hi everyone,
I have two Windows XP machines connected as a LAN
I have installed the Oracle database software on the first one (11g R2) and the SQL SERVER 2012 software on the second one
I want to create a database (really simple just for test) distributed between both machines (half of data on one machine and the other half on the other) so as I could run SQL queries on any of the machines and get data just like if it was a single database.
Thanks in advance for any answer or help
|
|
|
|
|
|
|
|
|
|
Re: create a distributed database on two servers [message #610596 is a reply to message #610593] |
Fri, 21 March 2014 10:44 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
It's somewhat possible of course.
You can create a Link from SQL Server to Oracle via the "Linked Server to Oracle" functionality in SQL Server for one direction.
For the other direction you can create a "Database Link" in Oracle via Oracle "Heterogeneous Services" to connect to the SQL server.
It's not really trivial of course, and you will never really be able to use it "as if it were the same database" It might work for 50% of the "standard" SQLs you can come up with, but most of the time you have to tweak the SQLs you run pretty much so that they work sufficiently over the link. And "running identical queries on both sides" would be really hard to achieve.
[Updated on: Fri, 21 March 2014 10:45] Report message to a moderator
|
|
|
|
|
|