Quantcast
Channel: Thinking Out Loud
Browsing all 668 articles
Browse latest View live

Framework To Run SQL For All Active DB Instances

Requirement is to configure hugepages for multiple RAC database instances. pmon processes grid 12692 1 0 09:39 ? 00:00:00 asm_pmon_+ASM1 grid 13296 1 0 09:39 ? 00:00:00 mdb_pmon_-MGMTDB oracle 13849 1...

View Article


Skip Goldengate Replicat Transaction

Overview: It’s easy to skip replicat transaction; however, there is a requirement to understand the result. In the example provided, DELETE from PARENT table was not successful because there are ROWS...

View Article


Who’s Gathering DB Stats?

There was an incident where statistics were being gathered during prime operating hours causing performance issues. One DBA already verified GATHER_STATS_JOB has already been configured to not run...

View Article

Multiplex Redo Log

When db_create_online_log_dest_1 is defined, REDO log is not multiplexed which is good for creating STANDBY REDO. REDO log is created at db_create_online_log_dest_1 ONLY. However, when creating ONLINE...

View Article

DBFS Nightmare

==================================================================================================== How to cleanup DBFS tablespace after removing files at DBFS filesystem (Doc ID 2331565.1)...

View Article


DataGuard Convention

Good convention and implementation make life and automation so much simpler and more time for golfing. I have seen some really poor and really good implementation and here’s a good one. Wish I can take...

View Article

Goldengate REPORTING P2

Previous post for Goldengate REPORTING Goldengate reporting has to be the least implemented functionality until it is needed and often in hindsight. Here is an example of what I would normally...

View Article

Using GoldenGate LogDump To Find Bad Data

GoldenGate Primary Extract from source database captured data without any issues; however, target was not able to consume the data since GoldenGate process would ABEND. Unfortunately, I cannot provide...

View Article


Image may be NSFW.
Clik here to view.

Using Postman For REST API on Oracle Cloud Infrastructure

Just completed quick training for Oracle Cloud Infrastructure (OCI) REST API can be used on OCI for automation and presentation. I find presentation for JSON results from CLI on server is UGLY....

View Article


Oracle Cloud Orchestration

Oracle Cloud has a pretty cool concept (Orchestration) to recreate an instance; however, it’s all hard coded. The orchestration cannot be shared with some else to create the configuration with...

View Article

How To Delete Integrated Extract Replicat

Why is this important? If processes are not unregistered from database, they are orphaned. Hence: unregister replicat $replicat_name DATABASE unregister extract $extract_name DATABASE $ ./ggsci Oracle...

View Article

Playing With Service Relocation 12c

With 12c, use verbose to display services running. [oracle@racnode-dc1-1 rac_relocate]$ srvctl -V srvctl version: 12.1.0.2.0 [oracle@racnode-dc1-1 rac_relocate]$ srvctl status database -d hawk -v...

View Article

Patching GoldenGate with DBFS

There seems to be no consistency as to what directories should be on DBFS for when GoldenGate is implemented with RAC. Here I will share my thoughts based on issues encountered....

View Article


Cluster Resource To Check When Patching RAC DBFS OGG

crsctl stat res|grep -i type|sort -u TYPE=app.appvipx.type TYPE=local_resource TYPE=ora.asm.type TYPE=ora.cluster_vip_net1.type TYPE=ora.cvu.type TYPE=ora.database.type TYPE=ora.diskgroup.type...

View Article

ReCreate ASM Disks RAC

A long time ago I had written about ReCreate ASM Disks; however this was single instance. Basically, need to duplicate 11.2.0.4 database to 12.2 RAC. Unfortunately, compatible.rdbms=12.1.0.2.0. alter...

View Article


RMAN Commands

Note to self to configure and clear settings, and all things RMAN. Will add more as time goes by. catalog start with '/u01/app/oracle/backup/' noprompt; catalog backuppiece...

View Article

RMAN: Synchronize standby database using production archivelog

I know what you are thinking, “Why is this nut of a DBA writing shell script to synchronize standby with achivelog !” It just happens the environment is very restrictive and NO changes can be made...

View Article


RMAN: Synchronize standby database using production archivelog backupset

If you have not read RMAN: Synchronize standby database using production archivelog, then please do so. # Primary archivelog is on local vs shared storage. # Primary RMAN archivelog backupset resides...

View Article

How Backup Spfile to Pfile Saved My Arse

Typically when I perform backup review, I always suggest to add the following: run { allocate channel c1 device type disk; SQL "alter database backup controlfile to trace as ''/tmp/ctl_@_trace.sql''...

View Article

tnsping for DataGuard

I am preparing Dataguard for switchover with 1 primary and 3 standbys and should be able to tnsping all the services from log_archive_config=DG_CONFIG=(HAWKA,HAWKB,HAWKC) Not sure how valuable this may...

View Article
Browsing all 668 articles
Browse latest View live