Wednesday, May 20, 2009
The simplest query for checking what’s happening in a database
select event, state, count(*) from v$session_wait group by event, state order by 3 desc;SQL> select sql_hash_value, count(*) from v$sessionwhere status = 'ACTIVE' group by sql_hash_value order by 2 desc;select sql_text,users_executing from v$sql where hash_value = &hash_value;
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(30)
-
►
September
(15)
- Cloning Oracle Database - Cold Cloning, Hot Clonin...
- Recovering a Lost Datafile Without a Backup: Examp...
- Recovering a Database in NOARCHIVELOG Mode: Exampl...
- Restoring When Multiple Databases in the Catalog S...
- Restoring Datafile Copies to a New Host: Example
- Recovering Blocks Listed in V$DATABASE_BLOCK_CORRU...
- Performing Disaster Recovery
- Testing the Restore of a Database to a New Host: S...
- Determining the SCN for Incomplete Recovery After ...
- Point-in-Time Recovery to a Previous Incarnation
- Performing Point-in-Time Recovery with a Current C...
- Performing Database Point-In-Time Recovery
- To recover the database with a backup control file...
- To recover the database with an autobackup of the ...
- Oracle Database Block corruption
-
▼
May
(13)
- To find total size of the database
- The simplest query for checking what’s happening i...
- Starting Up with a Non-Default Server Parameter Fi...
- How to backup the archivelogs which are not backed...
- Migrating to Automatic Undo Management
- Create Schema stmt
- Disabling the Recyclebin at session level and syst...
- how to know whether 32-bit or 64-bit oracle s/w in...
- max_enabled_roles error in all the versions includ...
- How to find TOP SQL in a particular period.
- How to do database characterset migration
- Using metadata
- Finding 64-bit or 32-bit at OS level
-
►
September
(15)
0 comments:
Post a Comment