Posts Tagged ‘ sql ’

See what SQL is executing in Oracle ‘right now’.

December 14, 2007
By gary

select sesion.sid, sesion.username, optimizer_mode, hash_value, address, cpu_time, elapsed_time, sql_text from v$sqlarea...
Read more »

Tags: ,
Posted in Scripts, oracle | No Comments »

Useful Oracle scripts

December 12, 2007
By gary

space.sql Display tablespace size and current utilisation. SQL> @/u/little/mycode/sql/dba/space % % MaxPoss Max Tablespace Name KBytes Used Free Used Largest Kbytes Used ------------------- ------------- ------------ ------------ ------ ------------ ------------ ------ m SYSTEM 1,048,576 ...
Read more »

Tags: , ,
Posted in Scripts, oracle | No Comments »