一、数据库启动状态
1 状态查询
启动状态 | SQL语句 | 结果 |
---|---|---|
nomount | select status from v$instance; | STARTED |
select open_mode from v$database; | ERROR at line 1:ORA-01507: database not mounted | |
mount | select status from v$instance; | MOUNTED |
select open_mode from v$database; | MOUNTED | |
open | select status from v$instance; | OPEN |
select open_mode from v$database; | READ WRITE 或者 READ ONLY |
二、 表空间
oracle删除表空间语句
1 | --删除空的表空间,但是不包含物理文件 |