I have oracle_19C. I get this error unable to extend index string.string partition string by string in tablespace string
for users tablespace, then I create DATAFILE by mistake as shown as:
ALTER TABLESPACE System ADD DATAFILE 'G:\oracleDB\ORCL\USERS15.DBF' SIZE 200M;
ALTER TABLESPACE System ADD DATAFILE 'G:\oracleDB\ORCL\USERS16.DBF' SIZE 200M;
ALTER TABLESPACE System ADD DATAFILE 'G:\oracleDB\ORCL\USERS17.DBF' SIZE 200M;
ALTER DATABASE DATAFILE 'G:\oracleDB\ORCL\USERS15.DBFF' autoextend on maxsize unlimited ;
After the above commands, I realized that I created DATAFILE for System
TABLESPACE and not for USERS
TABLESPACE. So I deleted the created files(USERS15.DBF, USERS16.DBF, USERS17.DBF) with delete+shift button.
For now I cant connect to db with this error ORA-01033: ORACLE initialization or shutdown in progress
. when I want recover like this tutorial I get below error:
SQL> recover database using backup controlfile until cancel;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 19: 'G:\oracleDB\ORCL\USERS15.DBF'
ORA-01122: database file 19 failed verification check
ORA-01110: data file 19: 'G:\oracleDB\ORCL\USERS15.DBF'
ORA-01210: data file header is media corrupt
I use this tutorial and I recover datafile user15.dbf, 16,17.
shutdown immediate
startup nomount
alter database datafile ''G:\oracleDB\ORCL\USERS15.DBF' offline;
alter database datafile ''G:\oracleDB\ORCL\USERS16.DBF' offline;
alter database datafile ''G:\oracleDB\ORCL\USERS17.DBF' offline;
But I cant alter database open;
, That give me below error:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open 01589. 00000 - "must use RESETLOGS or NORESETLOGS option for database open" *Cause: Either incomplete or backup control file recovery has been performed. After these types of recovery you must specify either the RESETLOGS option or the NORESETLOGS option to open your database. *Action: Specify the appropriate option.
How can I fix without loose data. How can I backup my table for restor to another server? Note:I haven't any backup and I have sqlPlus.
until cancel
or RMAN will recover to the current time after the files were added.recover database
command suggested that you had...alter database
command and decide which option is right for you.