Skip to content

Oracle ASM – Commands

SQL select * from v$asm_diskgroup order by free_mb asmcmd asmcmd lsdg|awk ‘{sub(/\//,””,$14);print}’|tr -dc ‘[:print:]\n’|awk -v date=”$(date +”%Y-%m-%d %r”)” ‘{print $14 “\t\t” $9″\t\t”$8″ : ” date}’|sort -k 2 -n

Oracle Virtual Machine Manager

Also see: Troubleshoot high cpu usage – Java Thread OVM Manager consists of a MySQL database and a Weblogic Server. I have found that the cpu usage is at nearly 100% on the OVMM Linux… 

Oracle – Install Database Software 11.2.0.4.0

From MOS, search for patch 13390677 (it’s a full install) p13390677_112040_platform_1of7.zipĀ (Oracle Database, including Oracle RAC components) p13390677_112040_platform_2of7.zipĀ (Oracle Database, including Oracle RAC components)        

Oracle – ezconnect

sqlplus username/pwd@//host[:port]/service prompt for password: sqlplus username@\”//host/[:port]/service\”

Oracle – Idle Connections

Determine connections that have been idle for more than a certain amount of time (be aware that last_call_et also shows number of seconds active also) Examples — Connections idle for > 60 minutes select s.sid,s.serial#,s.username,s.status,…