Home   IT Stuff   Contact link Contact:  jack@dughaille.info
|
Reminders: Odds and Ends General: miniscripts

-->
Script NameDescription
bytes.sqlShow a bytes value as kilobytes, MB and GB.
acl.sqlAccess Control List setup.
addm.sqlShow the results of the latest ADDM run(s)
asp.sqlShow users who have access to a defined system privilege.
audits.sqlShow current Oracle audit settings
autotask.sqlShow automatic tasks.
ccount.sqlGenerates sql to return a schema's table name and total number of records.
close_dbl.sqlCloses any database links open in the session.
cstrings.sqlCompare two strings.
dpds.sqlDependency chain.
ds.sqlDisplays segment data for owner/name/object type and/or tablespace.
elink.sqlTakes an input statement and creates copies using all database links in the users' schema.
f_sp.sqlFree and used space for tablespaces.
findit.sqlCreates DML to interrogate tables holding specific data in a named column
gvlatch.sqlShow latch contention (from gv$latch) with miss > 0.
icols.sqlDisplays table indexes and columns for a given owner.
in_source.sqlSearches DBA_SOURCE for a given text string
invaln.sqlList invalid objects.
io.sqlInput/output statistics over a thirty second period.
jbs.sqlList current jobs and their statuses.
listcode.sqlLists code between two line-numbers entered; useful for identifying where an error is happening when logged using dbms_utility.format_error_backtrace()
meta.sqlExtracts the DDL for creating an object, e.g. table, view, trigger. Uses dbms_metadata.get_ddl
recomp.sqlCreate DDL to recompile invalid objects.
recov.sqlShow recovery details, e.g. archive logs etc.
rmans.sqlShow rman backup history.
sess.sqlSession listing.
sga_general.sqlGeneral overview of SGA settings and movement.
sga_search.sqlShows sql in the SGA for a given username/SID
soa.sqlSearch all objects based on partial input values for owner, type, name and/or id.
sql_id.sqlShows DML and explain plan for a given SQL_ID.
tf.sqlTablespace files; all files for a tablespace.
the_needful.sqlFor use when asked to 'Do the needful'.
tlinks.sqlTable links: structure, primary and foreign keys, unique constraints, triggers etc.
topsql.sqlReturns top n number of SQL statments based on an entered sort order.
trans.sqlShows current transaction data, including start time, run time, undo records used blocks, program etc.
udets.sqlExpanded user details, including system privileges and tablespace quotas.
uo.sqlLists basic details of user accounts, short for 'user only'; see udets.sql for a more detailed user report.
uobjects.sqlShow summary of number of objects in schemas.
v.sqlDisplay data from a select statement vertically.
waits.sqlWaits by session.