I have an employee dimension where I am applying SCD2. This dimension table has 54 fields. The change any of the attributes needs to be tracked , so a record would be inserted.I have already separated out the fields for which I don't need to maintain history (27 fields) into another table.
Now, with the main employee table with 54 fields and inserts happening for any attribute change, what are the ways to optimize queries. If queries hit this table, the processing time would be large.
There are 3-4 frequently used 'where' attributes for which I am planning to create bit-map indexes.
Also, for each employee, there will be one record which would be a 'latest' record giving his latest profile. I have field called 'latest_transaction_flag' on which I am also planning to create a partition i.e. a partition having only latest employee data.
Am I going on the right track? Can anybody suggest any useful techniques to handle this situation.
My database is Oracle 9i and reporting tool is BO.
Regards
Now, with the main employee table with 54 fields and inserts happening for any attribute change, what are the ways to optimize queries. If queries hit this table, the processing time would be large.
There are 3-4 frequently used 'where' attributes for which I am planning to create bit-map indexes.
Also, for each employee, there will be one record which would be a 'latest' record giving his latest profile. I have field called 'latest_transaction_flag' on which I am also planning to create a partition i.e. a partition having only latest employee data.
Am I going on the right track? Can anybody suggest any useful techniques to handle this situation.
My database is Oracle 9i and reporting tool is BO.
Regards