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

New Database Administration Bundle | DBA_BUNDLE 5.0

DBA_BUNDLE5 is now available for download:https://www.dropbox.com/s/k96rl0f4g39ukih/DBA_BUNDLE5.tar?dl=0It comes with the Following new features:Database monitoring script [dbalarm] can perform the...

View Article


Image may be NSFW.
Clik here to view.

Database Monitoring Script Is Now HTMLized

Now dbalarm script for database and server monitoring has its vast majority E-mail alerts in HTML format. This will give the E-mail alerts a friendly look when you check them from your mobile.For...

View Article


Image may be NSFW.
Clik here to view.

Database Health Check Script Is Now HTMLized

The HTMLization campaign continues on the DBA Bundle scripts as I received enormous requests asking to make the scripts send the email alerts/reports in HTML format, I understand that HTML format...

View Article

Image may be NSFW.
Clik here to view.

DBA Bundle V5.1

The latest version of DBA Bundle is now available:https://www.dropbox.com/s/k96rl0f4g39ukih/DBA_BUNDLE5.tar?dl=0Many awesome features added to the bundle including but not limited to:Database...

View Article

Image may be NSFW.
Clik here to view.

Hello Brother

"Hello brother" were the last words said by Daoud Nabi "the first victim of NZ Mosque shooting" to his killer before he is brutally gunned down!مرحبا أخىهى اخر كلمات قالها دواود نبى (رحمه الله عليه)...

View Article


How To Import A Schema on Amazon RDS

As you know there are two types of cloud services AWS provides (EC2 & RDS) while EC2 let you have an Operating System OS access to the DB machine including root access, RDS doesn't give you any...

View Article

ORA-04088: error during execution of trigger 'SYS.XDB_PI_TRIG' PLS-00302:...

While I was testing something on a 12.1 test database got this below error whenever I'm trying to execute specific admin commands:SQL> drop user xx;drop user xx*ERROR at line 1:ORA-04088: error...

View Article

Using RULE Based Optimizer When Querying GV$ Views

I had a complaint from one of the readers that dbalarm script for monitoring the DB is taking very long time to run against one RAC DB [11.2.0.3] especially in the part of reporting locked sessions on...

View Article


Image may be NSFW.
Clik here to view.

Rebuild Table Script And Reclaim Wasted Space For Oracle

I have written a powerful script to rebuild a table and its indexes on Oracle, although I'm reluctant to share scripts that deal directly with the data, but thought it will be a great help for DBAs if...

View Article


Bundle 5.2 Is Now Available

DBA Bundle V5.2 is now available for download:https://www.dropbox.com/s/k96rl0f4g39ukih/DBA_BUNDLE5.tar?dl=0It comes with the following features:- rebuild_table.sh has been totally re-developed to...

View Article

Grid Infrastructure root.sh Fail With Error "Failed to create keys in the OLR"

During the installation of Grid Infrastructure Clusterware 12.1.0.2 on OEL 6.6 root.sh failed with the following error:[root]# /u01/12.1.0/grid/root.sh Performing root user operation. The following...

View Article

RMAN-05502: the target database must be mounted when issuing a DUPLICATE command

Problem:While I was restoring a Non-Production DB using the duplicate method from RMAN backup, I received this error:RMAN-05502: the target database must be mounted when issuing a DUPLICATE commandHere...

View Article

DBA Bundle 5.3 Is Ready

DBA Bundle V5.3 is now available for download:https://www.dropbox.com/s/k96rl0f4g39ukih/DBA_BUNDLE5.tar?dl=0It comes with the following features:- active_sessions.sh script that shows current active...

View Article


Drop Database

Dropping a database sounds like an easy task this is why it's not well documented, but still it needs to be actioned properly.In general, there are two ways of dropping a database, one is using dbca...

View Article

Datafile Rename with minimal Downtime using RMAN

Case:Let's suppose you created a new datafile and missed the .dbf extension or had a typo in the name but you want to fix it.Let's suppose the bad datafile name is /data01/STFBKUAT01/datafile/users012...

View Article


DBA Bundle 5.4 Is Ready

DBA Bundle V5.4 is now available in this link:https://www.dropbox.com/s/k96rl0f4g39ukih/DBA_BUNDLE5.tar?dl=0The following are the new features:- Excluding +APX DB (>=12.2) from the DB list when...

View Article

Prerequisite check "CheckActiveFilesAndExecutables" failed

Problem:While patching the GRID INFRASTRUCTURE home with July2019 RU patch I got this error:[root@fzppon06vs1n 29708769]# $GRID_HOME/OPatch/opatchauto apply $PATCH_LOCATION -oh $GRID_HOMEOPatchauto...

View Article


OPATCHAUTO-72083: Performing bootstrap operations failed OPATCHAUTO-72146:...

Problem:While patching 19.3 GRID_HOME with July2019 RU patch 19.4 I got this error:[root@fzppon06vs1n bin]#  export PATCH_LOCATION=/u01/oracle/RU_PATCHES/29708769[root@fzppon06vs1n bin]#...

View Article

RAC Database Fail To Start Due To "terminating the instance due to error 119"...

Problem:On a Linux 7, after system reboot I have an 11.2.0.3 RAC Database failed to start due to this error in the alertlog:USER (ospid: 13324): terminating the instance due to error 119Instance...

View Article

Image may be NSFW.
Clik here to view.

Upgrade from 11g (11.2.0.3) to 19c (19.4) Using GoldenGate [From A to Z]

Introduction:In this post, I'll discuss the upgrade of 11.2.0.3 RAC DB on Oracle Linux 6 to 19.4 RAC on a different cluster with Oracle Enterprise Linux OEL7 using goldengate for data replication.Facts...

View Article
Browsing all 214 articles
Browse latest View live


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