- Shutdown db. - Startup mount. - Nid target =sys/password as sysdba DBNAME=<newdbname> setname=yes logfile=newdbname.log - Change dbame in pfile. - Startup db with modified pfile. - Create spfile from pfile.
DB rename with new DBID (resetlogs)
- Create pfile from spfile.
- Shutdown db. - Startup mount. - Nid target =sys/password as sysdba DBNAME=<newdbname> logfile=newdbname.log - Change dbame in pfile. - Startup mount with modified pfile. - Alter database open resetlogs. - Create spfile from pfile.