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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

DEMO schema script

goodluck247Mar 20 2014 — edited Mar 20 2014

Hello

does anyone have the script for the DEMO schema?

Thanks.

Comments

Gurjas
You should create a bitmap or btree index on the action_id of the history table depending on the cardinality of the column.
Which will fasten the checking of action usage in the history table.

As per my understanding the isused idea is not good.

Why don't you go for the foreign key in the table? If you have already implement the foreign key in the table then this problem should not be there.. now you have to check the existense manually in the table. If possible you can also implement the foreign key now.
668031
Thanks,
after all they did create a index. The problem of having a foreign key without having a index by that key is that it takes very long to check if it is used.
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 17 2014
Added on Mar 20 2014
12 comments
378 views