Sei sulla pagina 1di 2

Date: 01-Feb_2003 NAME ACT_LOG ACTIVETR ACTVIUD ACTVSQLS IUD_SQLS ANALYZE_TAB ARCH_LOG LOG_HIST AUD_SHOW AUD_SUM DLYAUD_SHOW DLYAUD_SUM

AUDIT_PROC

LIST OF DBA SCRIPTS


DESCRIPTION To Print the Daily Audit Activity Log for Machines To List the Currently Active Transaction in the System Currently Active Insert/Update/Delete SQL Currently Active SQL statements Running SQL with INSERT/UPDATE/DELETE only Create a SQL scripts for all table analyze To display the log archived for the current date To display log archived for any date To display the daily user activity log for any date

To display the user activity log for any range of date To Display the Audit Detail of any Machine from AUD$ To Display the Audit Summary of any Machine from AUD$ Audit Procedure to accumulate the user activity log for AUD$ table AUDIT_VW View created from audit log AUD$ for insert/update/delete BLKTR View the current block transactions CHK_DICT Search the dictionary for specific item by description of table CHKFREE To display free space in a tablespace and max size of table/index CHKLOCKS Display current locked objects LOCKOBJ Display currently locked object with session start time DLYACM Daily accumulation of user activity log from AUD$ table DLYTRUNC Daily truncate of Audit log table SYS$ DUPROW_DEL Delete duplicate rows from table ERR_PROCEDURE All errors found in Procedure/view and triggers EXPNSV_SQL Expensive sql statements traced in the v$sql FILESIZE Display Data files size and free space % FILESTAT Data files statistics for physical reads and writes FILESTAT2 Data files statistics with i/o time FINDEXT Display temporary extent assigned in any datafile FREE_CHUNKS Displays the % free tablespace, no of chunks and largest chunk size FREE_LIST Free blocks in the user tables FREE_SPACE Display the detail position of free space and blocks in data files GATHER_STATS To gather the stats for all schema objects except sys/system GENSEQ SQL to generate the sequence number along with query display HIGH_WM To display the high water mark of datafile in order to resize HITRATIO Database cache hit ratio statistics LIST_INDEX List all Index Object of an owner LIST_SCHMA List all schema objects LIST_TRGR List all triggers name in a schema LIST_VIEW List all views in a schema LOGTRG Triggers source for the User audit log

LONGOP LONGOP2 MACHINE OBJ_IN_USE OBJINUSE ORAIO RBS RBSNAME RBSUSE REDO_ACT REDO_STATS ROW_CHAINS SESSION SORT_BUSY SORT_SIZE SORT_STAT SORT_TYPE SQLFIND TRGRBDY_PRINT TSP_STATS

Display the sessions with long running operation Display the sessions with long running operations with sid/serial Script to display the server and instance name Display all the objects in use in owner order Display objects in use by a selective machine only I/O statistics of the database ROLLBACK SEGMENT STATISTICS ROLLBACK SEGMENT DETAIL IN USE OR NOT ROLLBACK SEGMENT IN CURRENT USE Display all session generating redo activity Redo log operation statistics List of tables with row chains Display all sessions Session busy with sorts Maximum sort size used Sorts Memory/Disk statistics Sessions with kind of sort memory or disk To find any running sql from the text To print a trigger body of any selective trigger Tablespace statistics list

Potrebbero piacerti anche