Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle get running queries

SELECT s.SID,
       s.USERNAME,
       sql.OPTIMIZER_MODE,
       sql.CPU_TIME,
       sql.ELAPSED_TIME,
       sql.SQL_TEXT,
       s.SERIAL#
FROM V$SQLAREA sql,
     V$SESSION s
WHERE s.SQL_HASH_VALUE = sql.HASH_VALUE
  AND s.SQL_ADDRESS = sql.ADDRESS
  AND s.USERNAME IS NOT NULL;
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql union 
Sql :: left join in codeigniter query builder 
Sql :: sql table 
Sql :: sql change a colum to unique 
Sql :: function in plsql 
Sql :: mysql select true or false 
Sql :: mysql delete table with foreign key 
Sql :: view databases in mysql 
Sql :: how to change the auto increment in existing table mysql 
Sql :: what is default mysql database password in linux 
Sql :: SQL Error 1040 : Too many connections 
Sql :: DATEDIFF minute postgres 
Sql :: oracle difference between two dates in years 
Sql :: mysql select default if null 
Sql :: how to uninstall postgresql 13 on mac 
Sql :: create user mariadb 
Sql :: mysql user 
Sql :: difference between join vs union 
Sql :: activate log mysql 
Sql :: show query code after create table in sql 
Sql :: ERROR 3948 (42000): Loading local data is disabled; this must be enabled on both the client and server sides 
Sql :: partition by sql server 
Sql :: how to change column name in mysql 
Sql :: sql log file inof 
Sql :: sql period overlap 
Sql :: q operator in sql 
Sql :: combine 2 columns search query mysql 
Sql :: is numeric in sql 
Sql :: is sql fast 
Sql :: nvl in oracle 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =