Solution to fail to start database after Oracle data files are mistakenly deleted
Source: Internet
Author: User
Cause: I installed the Oracle database on the Windows system and deleted the Oracle tablespace file without starting Oracle, and the next time I started it, I would have an error, as follows: Ora-01033:oracle Initializationg or Shutdown in progress. Start with the DBA user will be an error: So-and-so file can not find, the file is not found is deleted table space files.
Analysis issues because the data file was deleted without being offline, causing Oracle's data to be inconsistent, the startup failed. Workaround lsnrctl Stop (cmd below) sqlplus conn as SYSDBA SQL shutdown abort SQL startup mount SQL ALTER DATABASE datafile ' file 1 path ' Offline drop; The database has changed. SQL ALTER DATABASE datafile ' file 2 path ' offline drop; The database has changed. SQL ALTER DATABASE open; SQL drop tablespace table space name;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service