We help IT Professionals succeed at work.
Get Started

Oracle DB 12.1.0.2.0,  v$active_session_history

Rao_S
Rao_S asked
on
152 Views
Last Modified: 2016-02-05
Need a query to go against v$active _session_history to calculate the current active sessions, so that we can alert on it..
I have attached a screen shot of the time period between Feb 3rd 9pm to Feb 4th 12 am, which shows a spike of about 310 active sessions.
The first screen shot shows about 300 + active sessions and second screen shot shows that there are only 4 o5 active sessions.
I need a query that will show me that value of 300+ active sessions that occurred the day before..
Can you please help?
-3DFF9851DD9A1B32.bmp
-2E62494C4F96C6.bmp
Comment
Watch Question
Database Developer & Administrator
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2012
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE