Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Design table for performance (order - ordervisibility)

TimWong765Oct 27 2012 — edited Oct 29 2012
I have tables like order, orderitem, etc. and requirements for order visibility:
- One order can be seen by many users
- One user can see many orders

create table order (orderid number, ...);
create table ordervisibility (orderid number, username varchar2(20));

Order size is estimated to be >=500Mio. Application is a data warehouse with reporting.
The relationship order - user will be skewed: some users will be allowed to see many orders while some will only see a small percentage.

How should we design the system for performance?
We think about creating table ordervisibility as index-organized table. Or are there better approaches like partitioning? Or is the approach with tables order na ordervisibility already suboptimal?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2012
Added on Oct 27 2012
10 comments
155 views