Make sure that you keep
checking this page since we will be adding new scripts
and tips on a regular basis. This page groups the
scripts, tips and useful info by categories and is
indexed below.
The quickest way to get
going is to "Cut & Paste" between your Web
Browser and a terminal emulation onto the appropriate
platform all in the same directory.
[General]
[Object Management]
[Space Management]
[DB Resource Manager]
[Performance]
[RMAN]
[Utilities]
[Monitor]
[Oracle Applications]
[UNIX]
- General Oracle Database Information
- New
database features introduced from Oracle
7.0 through Oracle9i Release 2 [Updated 05-JUN-02]
- How to use the
Product User Profile table
- List Of 8i
Init.ora parameters and descriptions [Updated 24-MAY-99]
- Translation
table of UNIX commands to DEC VMS
commands including examples
- SUN Kernel
parameters explained with typical values
- Painless
method to create a duplicate database (No
messing with Import/export)
- V$ Table
reference
- Server SQL/PLSQL Scripts
- Object Management
- Table and Index Partition details
- List all
table, role, system privileges
granted to a user
- List
all database link details
(including password)
- Indexes
belonging to a table
- Enable a
schemas foreign keys
- Disable a
schemas foreign keys
- Adjust
Sequence values based upon
sequences in another database
- Analyze Tables Revisited / Gather Statistics
[Updated 26-Feb-02]
- Dynamic
CREATE PUBLIC SYNONYM script
- Dynamic
SELECT,INSERT,UPDATE,DELETE
grants
- Dynamic
SELECT grants
- Dynamic
SELECT,INSERT,UPDATE,DELETE,REFERENCES
grants
- Dynamic
synonyms on
PROCEDURES/FUNCTIONS/PACKAGES
- Dynamic
execute grants on
PROCEDURES/FUNCTIONS/PACKAGES
- Space Management
- Tablespace Fragmentation
- Table Fragmentation
- Online Index Rebuilds
- Datafile Free Space
- Database Usage Report
- Tablespace Usage Report
- Index Statistics [Updated 28-FEB-01]
- Block Space Utilisation in 9i
- Unused
Space in an Extent [Updated 12-SEP-00]
- Is
there space for the next extent
in the tablespace ? [Updated 30-JUL-02]
- Actual
space used by table rows [Updated 28-FEB-01]
- Generate
Create Rollback Segment Script
- Coalesce
Tablespaces in Oracle 7.1 and 7.2
- Generate
Create Tablespace Script
- List
all database datafiles
- List
all tables/indexes extents in a
given tablespace
- List
all tables/indexes with extents
greater than a given value
- List all
used and free extents in a given
tablespace
- List
%age and bytes free in
tablespaces. [Updated 30-MAR-00]
- DB Resource Manager
- Create Resource Manager Plan
- Resource Manager Configuration
- Assign Plan Privileges
- Monitor Resource Manager Sessions
- Drop Resource Manager Plan
- Performance
- TOP 10 CPU Users
- TOP 10 Users Reading Data
- TOP 10 Users Open Cursors
- Sort Usage Report
- Datafile Statistics
- Latch
Contention
- Database hit ratio [Updated
30-MAR-00]
- Quick database performance overview,
check all key database performance indicators
- Free SGA Memory Usage
- Explain Plan TEMPLATE [Updated 28-FEB-01]
- List Unpinned Objects in DB Cache
- Pin Oracle Standard Packages
- Pin All
Database Packages [Updated
30-JUN-99]
- Tables Recently queried by a full scan
- Recently Accessed Indexes
- DB Block Buffer usage [Updated
30-JUN-99]
- Cost of current open cursors
- Session Hit Ratios
- Session Details [Updated
29-MAR-00]
- SQL
Text of database locks [Updated 12-SEP-00]
- RMAN
- RMAN Full Backup
- RMAN Incremental Backup
- RMAN Archive Log Backup
- Monitor RMAN
- RMAN Backup Summary
- Utilities
- Count Rows For Table Partitions
- Set Session in Trace
- Database Info
- Convert EPOC date
- Database Uptime [Updated 8-Jan-02]
- Database Layout [Updated 30-Jul-02]
- Database Documentor
- Count all
records on database for given
table owner
- Change to
another database user without
knowing the password
- Disable
all database triggers
- Enable
all database triggers
- Compare
Objects of 2 different databases [Updated 28-Feb-01]
- Size SGA
based on an existing database
- Calculate
Average Row length for a given
table [Updated 06-JUN-00]
- Monitor
- Monitor Session
- Redo History
- Monitor
Redo Logs
- Monitor
Users [Updated 06-JUN-00]
- Monitor
all database lock details
- Monitor
all database deadlocks
- Monitor
what users are doing in Rollback
Segments [Updated
06-JUN-00]
- Monitor
the key statistics for Open
Cursors
- Monitor
SQL Area [Updated
30-JUN-99]
- Oracle Applications
- Profile Options
- Apps Login Details
- Platform Specific UNIX Scripts
- Common
- Database Size Summary
- List
all installed Oracle products and
versions (NO database needed) [Updated 08-JAN-02]
- Create
Database TEMPLATE
- Database
Startup
- Database
Shutdown
- Backup Scripts
- Cold
backup [Updated 8-Jan-02]
- Hot
backup
- Set
database in ARCHIVELOG mode
- Full
database export and UNIX compress
- Full
database import and UNIX
uncompress
New Since 30th July 2002
|