Quantcast
Channel: Database Administration Tips
Browsing all 214 articles
Browse latest View live

Script to delete applied archivelogs on a STANDBY database

This script is designed to run against STANDBY databases to deleted applied archives older than specific number of hours defined by the user. It maintains that un-applied archives remain...

View Article


RMAN Backup Script

Creating an RMAN backup script to backup your Oracle database is not a big deal, but taking into consideration the options that Oracle add to RMAN tool, plus avioding code mistakes, I've created the...

View Article


Shell Script To Monitor/Check The Lag/Sync Status Between Primary And Standby...

Script Description:This Linux shell script runs from the PRIMARY DB server to monitor and checks the lag/synchronization status between Primary and Standby Oracle DBs and reports the lag [if happened]...

View Article

Oracle Database Health Check Report In HTML Format

I've got numerous requests asking to get the original health check report script to send its report in HTML format. In this post, I'll explain how to do so.1- Download sendEmail executables that will...

View Article

DBA Bundle V4.1 Released

DBA Bundle V4.1 is now released with the following new scripts:backup_ctrl_spf_AWR.shBackup Controlfile as (Trace/RMAN BKP), Backup SPFILE and Generate AWR for full day This script can be scheduled in...

View Article


DBA Bundle V4.2 Is Now Available

Fixed reported bugs inside (dbdailychk.sh, dbalarm.sh, export_data.sh, report_long_runing_queries.sh) scripts.New Features:Added Goldengate log monitoring feature to dbalarm.sh script [Disabled by...

View Article

Report Long Running Queries|Long Active Sessions Script | Oracle On Linux

It's crucial to any DBA to get to know about long running queries that can impact the performance on his/her database environment.Badly coded reports along with developers' bad habit of using "select...

View Article

Script To Automatic Kill of Long Running Sessions Connecting From Specific...

In the previous post, I've shared a script reports long running sessions/queries. In this post I'll explain another simple script that kills long running sessions connecting from specific programs e.g....

View Article


Image may be NSFW.
Clik here to view.

Gather Statistics Shell Script Can Now Run In nohup Mode | Oracle On Linux

I've re-coded the gather statistics shell script for Oracle to run in nohup mode by default, thereby allowing the DBA to close the session without interrupting the gather statistics operation.Script...

View Article


dbalarm Script for Monitoring Oracle DB Server is Now Packed With New Features

I've introduced a new mode called "Paranoid" mode to the dbalarm script (which is used to monitor the Oracle database and listener logs along with monitoring locks, Space, and other events). When the...

View Article

Image may be NSFW.
Clik here to view.

Linux Shell Script To Monitor and Report GoldenGate Lag

This script can monitor GoldenGate lag whenever it happens based on the pre-defined LAG threshold inside the script.It's highly recommended to deploy this script on all (source & destination)...

View Article

DBA Bundle v4.3 Is Now Released

Version 4.3 is now available. It's packed up with the following features:New Scripts:goldengate_lag_mon.sh For monitoring goldengate LAG, more details:...

View Article

Image may be NSFW.
Clik here to view.

How To View Transactions Details Without Having Auditing Enabled Using LogMiner

Scenario: Let's suppose you want to investigate a recent case on a database whereas auditing is NOT enabled, or it's enabled but it didn't cover the activities you are looking for, in this case, you...

View Article


DBA Bundle 4.4

DBA Bundle version 4.4 is released. It comes with the following:Bug fixes:- Fixed small bugs with the following...

View Article

DBA Bundle Version 4.5 Is Now Available

DBA Bundle version 4.5 is now available for download.Enhancements:- Enhanced the display of the Execution Plan when running sql_id_details.sh using sqlid alias.- Added REPORT UNRECOVERABLE DATABASE...

View Article


Bundle V4.6 Is Released

The new features of Bundle V4.6 are:db_locks.sh script: Replaced the column that checks the wait in seconds from SECONDS_IN_WAIT to use WAIT_TIME_MICRO (which is more accurate) for 11gr2...

View Article

Monitoring Of Failed RMAN Backup Jobs

dbalarm script is now capable of monitoring RMAN backup failures. Just make sure to adjust the interval of the following parameter (in minutes) to the same execution interval of dbalarm.sh in your...

View Article


DBA BUNDLE 4.7 released

New features of DBA Bundle 4.7active_sessions.sh script:- Show current running RMAN Backups if exist.- Fixed divide by zero bug when TOTALWORK=0 in v$session_longopsdbalarm.sh script:- Enclosing OS...

View Article

Image may be NSFW.
Clik here to view.

DBA Bundle v4.8 | December 2018 Release

DBA Bundle V4.8 download:https://www.dropbox.com/s/xn0tf2pfeq04koi/DBA_BUNDLE4.tar?dl=0What is new in this version:oracle_cleanup.sh script: - Verify the log/trace files location validity before the...

View Article

360 Degree Database Server Monitoring Script For Oracle

Do you have a Linux server with a critical Oracle database running on it?Are you tired of searching google for a free script that can fully monitor that server in one go?If your answer is Yes, then...

View Article
Browsing all 214 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>