The document describes steps to resolve an ORA-01110 error related to a missing data file. It involves:
1. Dropping indexes and constraints on tables in the V3CONV_DATA tablespace.
2. Recreating the indexes in the INDEXES tablespace.
3. Reconstructing indexes that were previously in the V3CONV_DATA tablespace, now in the INDEXES tablespace. This allows the V3CONV_DATA tablespace to be dropped, resolving the missing file error.
The document describes steps to resolve an ORA-01110 error related to a missing data file. It involves:
1. Dropping indexes and constraints on tables in the V3CONV_DATA tablespace.
2. Recreating the indexes in the INDEXES tablespace.
3. Reconstructing indexes that were previously in the V3CONV_DATA tablespace, now in the INDEXES tablespace. This allows the V3CONV_DATA tablespace to be dropped, resolving the missing file error.
The document describes steps to resolve an ORA-01110 error related to a missing data file. It involves:
1. Dropping indexes and constraints on tables in the V3CONV_DATA tablespace.
2. Recreating the indexes in the INDEXES tablespace.
3. Reconstructing indexes that were previously in the V3CONV_DATA tablespace, now in the INDEXES tablespace. This allows the V3CONV_DATA tablespace to be dropped, resolving the missing file error.
STEP 1: connect source db through plsql developer.
sql>select * from dba_segments where tablespace_name='V3CONV_DATA' AND owner='DBO'; make sure dropped all the indexes and constraints command>SQL> view DBO.PK_SCP_DISTRIBUTION_LOG; gathered all sql and droped the constraints. SQL window: alter table DBO.SCP_DISTRIBUTION_LOG drop constraint PK_SCP_DISTRIBUTION_LOG cascade drop index DBO.SCP_DISTRIBUTION_LOG_FK1 drop index DBO.SCP_DISTRIBUTION_LOG_FK2 drop index DBO.SCP_DISTRIBUTION_LOG_FK3 alter table DBO.SCP_DISTRIBUTION_LOG drop constraint FK_SCP_DI_LOG__PA_AC_DE_ID alter table DBO.SCP_DISTRIBUTION_LOG drop constraint FK_SCP_DI_LOG__SC_DI_ID
Note: once droped all the necessary indexes then we make sure recontsruct(move all indexes and constraints) to another Ts, and drop the v3conv_data ts.
Command:
SQL> create index DBO.SCP_DISTRIBUTION_LOG_FK1 on DBO.SCP_DISTRIBUTION_LOG
SQL> select index_name from dba_indexes where tablespace_name='V3CONV_DATA'
and owner='DBO'; SQL> select 'alter index '||owner||'.'||index_name||' rebuild tablespace indexes;' from dba_indexes where tablespace_name='V3CONV_DATA' and owner='DBO';