Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

************************************************* Getting This kind of error

ORA-01110: data file 44:


'/u01/app/oracle/product/12.1.0/dbhome_1/dbs/MISSING00044'
***************************************

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


(SCP_DISTRIBUTION_ID)
2 tablespace indexes
3 pctfree 10
4 initrans 2
5 maxtrans 255
6 storage
7 (
8 initial 80K
9 next 1M
10 minextents 1
11 maxextents unlimited
12 );
Index created

Step: and reconstruct indexes in sourece db side.

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';

You might also like