Database Tuning (MOSC)

MOSC Banner

Getting information about any possible connection to the database

edited Feb 26, 2020 7:02AM in Database Tuning (MOSC) 8 commentsAnswered

Hi

We have a requirement to gather information on every possible sessions connecting to the database and preserve that data historically (couple of months)

Our database is 11.2.0.4 Enterprise Edition and we have the Tuning and Diagnostic pack license

We created a script that extract information from gv$session every hour and writes that to a custom table

While validating that process, we found out that certain sessions are not getting recorded

And we concur that because when we query the dba_hist_active_sess_hist for the same sample time that we queried the gv$session for, we found sessions recorded in there but not in the gv$session view

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