horizontal fragmentation

Posted on 2009-07-03
Last Modified: 2012-05-07
Implement the distributed database system based on the student database.
Horizontal partition distribution to distribute the CS dept student info in one site(oracle3) and Math dept. student info in another site(oracle4).
Tables are created in oracle3 and a view of student is created in oracle4.
have created the databse link

create table stud(ssn number(2), sname varchar2(10), dept varchar2(25))

partition by list(dept)(

stud1@oracle3 where dept='CS',

stud2@oracle4 where dept='Math');

Open in new window

Question by:siddharthkool
LVL 47

Accepted Solution

schwertner earned 500 total points
ID: 24771579
I think itis not possible to partition a table on two servers in this way.
You have to define two different tables and to use dblink on both machines
When you will need the whole table UNION them in a view:
SELECT * FROM stud@oracle3;

On the other instance create the same view but using a DBlink to the first instance.
LVL 14

Expert Comment

ID: 24772255

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Last record chosen in Oracle Query 3 52
Queries 15 34
SQL Query 34 79
Oracle SQL Select unique values from two columns 4 17
Article by: Swadhin
From the Oracle SQL Reference ( we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now