Scripts
Taking RMAN Backup Using Shell Script On CrontabEnable tracing for an Oracle SessionChecks ASM Disk groups, FRA & TABLESPACES Size on the databaseTo Show Top 5 Sessions Consuming CPUTo get session informationRMAN FULL Backup of a databaseREBUILD A GIVEN TABLE AND IT’s INDEXESFAILED LOGIN ATTEMPTS in the last n of days.Deletes Applied Archives older than Specified N hours on STANDBY DATABASEBackup & Gather Statistics On SCHEMA or TABLE.To check invalid objectsEXPORT DATABASE or SCHEMA or TABLE.Kill long running queries for more than N hoursTo check last logon time for EACH UserTo unlock locked usersTo generate ORABEDUG reportBackup Controlfile & SPFILE & Generate AWR Report on ALL Running DatabasesTo show ASM disks information and their groupDatabase COLD Backup Script.To show the size of all datafileTo check the LAG between Primary & Standby databaseTo shows the AUDIT records for a userDeletes the ARCHIVE LOGS of a databaseGathers object stats using ANALYZEGenerate DDL for all usersTo get all sessions informationTo show all Active Sessions infoIntroducing Our New Logo AnnouncementOracle Schema DDLTo find the oracle database redo logs and switches per dayFind the CPU usage by sessionTo check the Library Cache Lock contentionOracle 10 Largest Objects in DatabaseOracle Database SizeShow the top 10 longest-active user sessionsCurrently Oracle Active SessionsCheck Oracle ACTIVE and INACTIVE SessionsQuery to find the session that is generating more ArchivesFind and Clear INACTIVE SESSIONSQuery to find tablespace usage above 80%Find Total archive generated with Size – day wiseQuery to find out the Disk Group Details in RACCompile Invalid Objects in oracleOracle Database Schema sizeOracle Datapump monitoring scriptsTo check the standby sync status with primaryBlocking information in Oracle RAC environmentTo check the plan change for the bad SQL_IDTo find the size of Oracle databaseTo get the all schemas size from the oracle databaseTo get the list of Oracle fragmented tablesDisplay A Oracle Tablespace UsageTo Get The Oracle Table size and index sizeRun the gather statistics for a Oracle tableFind the Database uptime in terms of Days, Hours and Minutes.To Analyze the DISK I/o’sTo check INACTIVE sessions with HIGH DISK IO