2.5.1 Verifying That True Cache Is Working as Expected
To verify that True Cache is applying redo and making progress, check the following queries on True Cache.
-
Run SQL*Plus on the True Cache.
sqlplus / as SYSDBA
-
Enter the following query:
SELECT database_role, open_mode FROM v$database;
The output should look like this:
DATABASE_ROLE OPEN_MODE ---------------- -------------------- TRUE CACHE READ ONLY WITH APPLY
If
OPEN_MODE
isREAD ONLY WITH APPLY
, it means that the True Cache redo apply is actively working. -
Enter the following query multiple times:
SELECT current_scn FROM v$database;
If
CURRENT_SCN
is advancing over time, it means that True Cache is moving forward as expected. -
To find the size of each log file, enter the following query:
SELECT THREAD#, SEQUENCE#, BYTES FROM v$standby_log;
Parent topic: Verifying the True Cache Configuration