10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX C DIAGNOSTIC SCRIPTSScript Namesnapper.sqlss_off.sqlss_on.sqltable_size.sqlvalid_events.sqlwhoami.sqlDescriptionThis is far and away the most robust script used in the book. It is reallymore like a monitoring program that can report on an extremely widerange of information about active sessions. Documentation can befound on Tanel’s blog.This script turns off Smart Scans via alter session (that is, it setsCELL_OFFLOAD_PROCESSING=FALSE).This script Turns on Smart Scans via alter session (that is, it setsCELL_OFFLOAD_PROCESSING=TRUE).This script shows sizes of objects as reported by DBA_SEGMENTS. There isanother version (table_size2.sql) that is basically the same script witha reduced number of output columns.This script displays a list of wait events that match a text string.This script displays current session information, including SID, Serial#,Previous SQL Hash Value, and OS Shadow Process ID.550

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!