Database Administration (MOSC)

MOSC Banner

CDB and / Or PDB reboot time query and alert log

Oracle 19.20 - 4 node RAC enterprise Oracle database

OS: Oracle Linux 7

we have 3 CDBs and each have two PDBs. Once in a while, CDB or just PDBs reboot due to hardware issues.

  1. I use the following query to find the uptime for each PDBs.

SELECT instance_name,host_name,TO_CHAR (startup_time, 'DD-MON-YYYY HH24:MI:SS')  "INST Startup Time",DATABASE_STATUS,status,ACTIVE_STATE

FROM sys.gv_$instance order by 3 desc 

Q1. Which query should I run in CDB and/or PDB to figure if CDB and PDB rebooted or just PDB, etc.?

Q2. There is only one Alert log for each CDB, correct? So, all DB alert info is just written for a particular CDB + All PDBs underneath in ONE Alert log, is this correct?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center