Vous êtes sur la page 1sur 2

SQL> select * from v$version;

BANNER
-------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE
11.2.0.2.0
Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production

=======================================================
SQL> startup mount
ORACLE instance started.
Total System Global Area 636100608 bytes
Fixed Size
1346048 bytes
Variable Size
398460416 bytes
Database Buffers
230686720 bytes
Redo Buffers
5607424 bytes
Database mounted.
SQL> select open_mode from v$database;
OPEN_MODE
-------------------MOUNTED
SQL> alter database recover managed standby database using current logfile disco
nnect;
Database altered.
SQL> select open_mode from v$database;
OPEN_MODE
-------------------MOUNTED
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> alter database open;
Database altered.
SQL> select open_mode from v$database;
OPEN_MODE
-------------------READ ONLY
SQL> alter database recover managed standby database using current logfile disco
nnect;
Database altered.
SQL> select open_mode from v$database;

OPEN_MODE
-------------------READ ONLY WITH APPLY

=========================================

col
col
col
col

datum_time for a19


time_computed for a19
name for a22
value for a15

select name,value,time_computed,datum_time from v$dataguard_stats;


NAME
---------------------transport lag
apply lag
apply finish time
estimated startup time

VALUE
--------------+00 00:00:00
+00 00:00:00
11

TIME_COMPUTED
------------------01/09/2011 22:50:56
01/09/2011 22:50:56
01/09/2011 22:50:56
01/09/2011 22:50:56

DATUM_TIME
------------------01/09/2011 22:50:55
01/09/2011 22:50:55

select sequence#,archived,applied from v$archived_log order by completion_time;

Vous aimerez peut-être aussi