Performance Issue with Virtual Private Database [message #430708] |
Wed, 11 November 2009 21:33 |
rawat_me
Messages: 45 Registered: September 2005
|
Member |
|
|
I am thinking to apply some archiving process in our database system and have two options in front of me:
1) Move Unwanted data to another schema and delete Unwanted Data from main schema and thus performace would be increased.
2) Add a new flag which tells me if the Data is wanted or Unwanted.
Then using Virtual Private Database Policy restrict Users_sesion to Retrieve Either wanted OR unwanted Data.
By biggest worry for this VPD approach is that Oracle Internally add a new Query Predicate : Select * from ( select * from user ) where userid="authorised" will slow down the overall performace of the System.
VPD would save me to MOVE data from one schema to another and worry about all constraints while moving data across Schema.
Does any body any such experience with performance issue with VPD and what is the best way to achieve my requirment
Thanks
|
|
|
|
|