SQL Language (MOSC)

MOSC Banner

Querying alertlog in rds

edited May 27, 2020 12:33AM in SQL Language (MOSC) 5 commentsAnswered

I'm trying to fetch alertlog from sqlplus for the last 24 hours but its fetching data only for the last 20 hours,

Oracle version i'm trying to run is  19c & 12c r1.

select to_char(originating_timestamp,'DD/MM/YYYY HH24:MI:SS')

from alertlog

WHERE originating_timestamp > systimestamp - 1 order by 1 desc

Please let me know if there is a method to appropriately fetch the last 24 hours.

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