DBAHelper

What is DBAHelper?

DBAHelper is a collection of scripts to ease the day-to-day work of an Oracle DBA. Not everything can be done automatically (otherwise we'ld lose our jobs ;) - but certain tasks re-occur in the same order very often. In these cases we like to save some keystrokes and let the scripts do the job.

What scripts are available with DBAHelper?

Script Explanation
Generate_createdb.shReverse engineer the database creation script from a running instance
ExportOracleDBCreate a full database backup for the local instance specified by ORACLE_SID using the `exp` utility
analobj.shAnalyze tables and/or indices of a given schema and, for tables, report concerning chained/migrated rows
idxmove.shMove all indices from one tablespace to another
idxrebuild_all.shRebuild all indices for a given tablespace (or for the entire database) and adjust storage settings for faster access and less fragmentation
idxrebuild_inv.shRebuild all invalid indices for a given tablespace (or for the entire database)
lazywaste.shShow resources wasted by "lazy" (long time inactive) sessions
sqltuneRun an SQL Tuning Advisor Task and display results (for Oracle 10g and higher)
tabmove.shMove all tables from a given tablespace into another tablespace
tabreorg.shRe-organize all tables where the amount of chained/migrated rows exceeds a given treshhold and adjusts their storage settings for faster access and less fragmentation
undo_used.shList up undo records used by current processes to identify the "eaters" (Oracle 9i and higher)
rman/rman.shA front-end to the Oracle Recovery Manager aka RMAN to ease its use.

Where to find the latest information/version?

Usually here - check the Timeline, Roadmap, Tickets and Discussion tabs. Moreover, there is an article available on the RMan Framework (rman/rman.sh) - and the latest version can be found in the download area.

Last modified by izzy, 09/17/08 19:44:03 (4 years ago)