DB Starts with SQLPlus not SRVCTL
Reason why DB was able to be started using SQL*Plus and not srvctl because DB was configured incorrectly with srvctl. $ srvctl start database -d DB01 PRCR-1079 : Failed to start resource ora.db01.db...
View ArticleFinding EM Configuration
DIRECTORY STRUCTURE AND LOCATIONS OF IMPORTANT TRACE AND LOG FILES OF ENTERPRISE MANAGER CLOUD CONTROL 13C MW_HOME=/u01/middleware OMS_HOME=$MW_HOME/13.2.0 EM_INST_HOME=$OMS_HOME/gc_inst ps -ef|grep...
View ArticleDB 12.2 NF for Goldengate
Logical Replication Error Handling Improvements for Oracle GoldenGate Integrated Replicat Database views can manage and display details about Oracle GoldenGate conflict resolution methods,...
View ArticleKUP-04095: preprocessor command qopiprep.bat
WARNING: Please open SR to confirm this is applicable to your environment as there are too many errors which look similar. Applying Patch 26635880 – Database Proactive Bundle Patch 12.1.0.2.171017 #...
View ArticleUse ORACLE_UNQNAME for DataGuard Environment
If you are running only 1 database on the host, then it may not be useful. However, if you run multiple databases, then it makes it easier to automate provided there are consistencies and/or...
View ArticleUsing sed to backup file and remove lines
[oracle@racnode-dc1-2 ~]$ cd /u01/app/oracle/12.1.0.2/db1/rdbms/log/ --- DDL will fail since datafile is hard coded! [oracle@racnode-dc1-2 log]$ cat tablespaces_ddl.sql -- CONNECT SYS ALTER SESSION SET...
View ArticleNot Another adrci Examples
I know there are a lot of blog posts on ADRI, etc… However, none of them solved what I was looking for, “How to show all specific problems?” --- When there are more than 50 incidents 50 rows fetched...
View ArticleUNIFORM_LOG_TIMESTAMP_FORMAT CANNOT BE SET ON ASM INSTANCE (Doc ID 2308274.1)
Alert.log: New timestamp format in Oracle 12.2 Whats new with the timestamp format in Oracle 12c Release 2? UNIFORM_LOG_TIMESTAMP_FORMAT CANNOT BE SET ON ASM INSTANCE (Doc ID 2308274.1) It's expected...
View ArticleMore Fun With sed
Objective is to convert what looks to be Samba share from Windows to Linux current directory path. Basically, the core of the code using sed. sed -i.bak -e 's|C\:\\\\scripts|'"$PWD"'|g' -e...
View ArticleBe Friend With awk/sed | ASM Mapping
I had request to add disks to ASM Disk Group without any further details for what new disks were added. Need to figure out which disks are on ASM now, which disks should be used as new ones. Got lazy...
View ArticleGoldengate Tracing Network Ports
--- Find mgr process $ ps -ef|grep ./mgr ggs 11823 1 0 2017 ? 00:29:13 ./mgr PARAMFILE /u01/app/ggs/dirprm/mgr.prm REPORTFILE /u01/app/ggs/dirrpt/MGR.rpt PROCESSID MGR ggs 45054 30127 0 14:15 pts/0...
View ArticlePURGEOLDEXTRACTS Not Purging Trail Files Part2
If you read the post PURGEOLDEXTRACTS Not Purging Trail Files, you will find the solution is to replace syntax from mgr.prm as shown below: Replace PURGEOLDEXTRACTS ./dirdat/*, USECHECKPOINTS,...
View ArticleGoldengate REPORTING
There were performance issues due to a new table being introduced to replication and I was asked to gather number of DMLs on table for 1 day. Using DBA_TAB_MODIFICATIONS did not meet the requirements...
View Article12c DataGuard / Broker Pitfalls
In a broker configuration, you use the DGConnectIdentifer property to specify a connect identifier for each database. The connect identifier for a database must: Allow all other databases in the...
View ArticleHow Do You Create Data Guard Configuration?
I have taken for granted to create Data Guard Configuration the same way most of the time that I don’t know what goes wrong when done differently. oracle@racnode-dc1-1:hawk1:/home/oracle $ sqlplus / as...
View ArticleUpgrade 12.2 Journey – DataGuard
Oracle Data Guard Broker Changes in Oracle Database 12c Release 2 (12.2.0.1) How to resolve MRP stuck issues on a physical standby database? (Doc ID 1221163.1) Starting from 12.2 use...
View ArticleInconsistencies – Are they good or bad?
Different companies will have different implementations of the same, e.g. backup, naming convention, to name a few. However, should there be different implementations of the same in the company itself?...
View ArticleGood But Not Good Enough Coding Practice
Good: Alert from from localhost but what script is this? If there was only 1 cron entry and intuitive, then I would not be blogging about it. ALERT … Goldengate process “EXTRACT(PU)” has a lag of 02...
View ArticleOracle Different Levels of Hell
Did not know there exists many levels of hell and Oracle certainly has them. Would it be bad if someone is searching for hell and this blog is listed as top 10? :=( Here’s the effort one needs to go...
View ArticleCheck 12.1.0.2 Alert Log For HugePages Usage
What! Another post on hugepages – seriously? + grep 'Dump of system resources acquired for SHARED GLOBAL AREA' -B1 -A22 database alert log + tail -25 2018-04-13T09:40:23.908633-07:00 Dump of system...
View Article