在Oracle数据库中,可以使用以下命令查看数据库的状态:
SELECT open_mode FROM v$database;
SELECT status FROM v$instance;
SELECT name FROM v$active_services;
SELECT COUNT(*) FROM v$session;
SELECT tablespace_name, used_percent FROM dba_tablespace_usage_metrics;