How To Change RMAN Config For Standby DB
Here is the typical error when changing RMAN configuration for standby database. [oracle@ol7-112-dg2 ~]$ rman target / Recovery Manager: Release 19.0.0.0.0 - Production on Tue Oct 12 21:02:07 2021...
View ArticleRecover Dropped User Using Standby Database
A critical user was accidentally dropped around one week ago and will need be recovered. Here are semi detailed steps used to flashback standby database, export user from standby, and import to...
View ArticleAHFCTL setresourcelimit CPU
It was detemrined that AHF was using too much CPU affecting RAC cluster performance. AHF was shutdown temporarily over the weekend to prevent issues with application. --- SHORT version to limit CPU...
View ArticleFlashback DataGuard Primary Database
Practicing flashback just in case it is needed during production deployment. It’s recommended to use DGMGRL where DataGuard Broker is used. The disadvantage is commands will be different for each...
View ArticleHow To Resolve Tablespace Created With Windows Path In Linux
Now I understand the rationale for not providing DBA privileges to inexperience developers. Currently, I am uncertain if the current environment is production or not. Here is demo for 11.2.0.4 to...
View ArticleFind Statistics and SQL Using Index
Database is facing issues with enq: TX – allocate ITL entry. Research to find Troubleshooting waits for ‘enq: TX – allocate ITL entry’ (Doc ID 1472175.1) Index DINH.INFO_IX1 was rebuilt. To find SQL...
View ArticleOEM Log4j Vulnerability
Surprise that Oracle did not automate the solution vs manual work. Test case below is for EM 13.5 only. Hopefully, I did it right and would be nice to have some sort of validations. Security Alert For...
View ArticleReview RMAN Backup for All Databases On Host
There are 15+ databases on host. Here’s a nice and easy method to run any SQL for all databases. [oracle@xxxxxxxxxx dinh]$ for db in $(ps -ef|grep [p]mon|egrep -v 'ASM|APX|MGMTDB'|cut -d_ -f3|sort);...
View ArticleHOW TO LOAD BALANCE RMAN RAC DATABASE BACKUP
First, I will share the incorrect method since it is hard coded. CONFIGURE CHANNEL 1 DEVICE TYPE DISK CONNECT 'sys/passwd@inst1'; CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'sys/passwd@inst1';...
View ArticleCOMPLICATED COMMINGLED DATABASE ENVIRONMENT
I have been reviewing RMAN RAC backup for environment having a total of 15 non-production and production databases on the same host excluding APX and MGMTDB. That’s not a big deal, as I have once had...
View ArticleSIMPLIFY A COMPLICATED PROCESS USING SED
For every PDB, there is a perl script used to report tablespace free the that PDB. While I am not able to change how the process was implemented, I can make it easier. Here is the current process....
View ArticleSilent Install Oracle DB 19.3
I was asked to Install Oracle 19c EE with the provided information: DB: /app/oracle/product/19.3.0 SW: /backup/media/oracle19.3_database/LINUX.X64_193000_db_home.zip Not knowing anything about the...
View ArticleDataGuard : ORA-16809: multiple warnings detected
EM13c Daily Report was report contained the errors as shown below: The Data Guard status of EAGLE_PHO is Warning ORA-16809: multiple warnings detected for the member. Started to investigate as shown...
View ArticleDataGuard : ORA-16809: multiple warnings detected – Solution
DataGuard : ORA-16809: multiple warnings detected This is the solution for the issues identified from post above. --- Use SYS password vs OS authenitication. --- Note this is RAC. $ dgmgrl DGMGRL for...
View ArticleValidating RMAN Backup For Restore
Backup is only good if it can be used to restore. Lately, I have been performing a lot of RMAN backup and validation. In summary: Restore validate completed in 0:24:17 (h:m:s) comprising of 39 ARCH, 1...
View ArticleDefault SSH keys Algorithm
I encountered a peculiar incindent for not being able to connect to host after installing Git Bash latest version. Basically old Git version 2.32.0.windows.1 SSH key default is RSA while new Git...
View ArticleGather Oracle ExaData Cloud Service (ExaCS) Region/AD From Hostname
Here are all the ExaData hosts without the instance# as it does not make a difference in the results. ### cn is Client Name abbreviation. cnexaashad2x8na-xxxxx cnexaashad3x8na-xxxxx...
View ArticleSystemd Database GoldenGate Service Start Stop
A complicated solution for a simple process. If you can’t beat them, join them. ================================================== ### Restart vagrant box:...
View ArticleSystemd Persistent Logging
Remembrance from an old friend: Curiosity killed the cat, but satisfaction brought it back. Finally found how to keep systemd logging persistent. ================================================== ###...
View Articleasmcmd find spfile/pwfile for db and asm
Quick and dirty post. [oracle@ol7-19-rac1 ~]$ asmcmd find + spfile* +DATA/CDBRAC/PARAMETERFILE/spfile.272.1107812515 [oracle@ol7-19-rac1 ~]$ [oracle@ol7-19-rac1 ~]$ asmcmd spget...
View Article