select database_status from v$instance

DATABASE_STATUS
ACTIVE