Hi All,
We have a table partitioned on the basis of create_date column such that each day's data residing in a different partition. This table has no index other than the index associated with the primary key column. Every day through a script ( which runs at midnight) we are dropping the previous day's partition and creating a partition for the next day.
Do we need to drop and recreate or rebuild the primary key index every time we drop or create a new partition?
Recently we got the following error while trying to insert into the table :-
ORA-01502: index 'ORADBA_DEV.OLSS_SESSION_WORK_PK' or partition of such index is in unusable state
Is this due to the fact that we are droppping and creating new partions every day ? If so what needs to be done to resolve this ?
Thanks and Regards,
Suman