How would you determine what sessions are connected and what
resources they are waiting for?

Answer Posted / santosh

You can use v$session and v$locks to view this. If you want
to see which process is taking long time you can query
v$session_longops

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA

571


how can you schedule a job in database?

607


What is the difference between dropping a database and taking a database offline? : sql server DBA

588


How do you trace the traffic hitting a sql server? : sql server DBA

852


how can you create a user-defined lock?

594






What are the steps you will take to improve performance of a poor performing query?

2427


suppose you want to audit specific activities on sensitive data. How can you achieve that?

557


I got an error SQL1042C. An unexpected system error occurred. Explanation: A system error occurred. One possible reason for this error is that the database manager is not installed correctly or the environment is not set up correctly. On OS/2, while trying to start the database manager, a very common reason for this error is a corrupted NET.ACC file. The command cannot be processed. The tables and views would not be opened. What is the way to open the dataase? pls help me

3813


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA

591


. I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

1992


i have 10gp file.now i need store in database..but database have only 7gb memory only..how do u store the file ?

1648


What is dbcc? : sql server DBA

786


How to start SQL Server in minimal configuration mode?

6968


What is the default fill factor value? : sql server DBA

579


What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA

559