Quantcast
Channel: Trivadis Blog - DBA survival BLOG
Browsing index pages (69 articles)

Oracle Home Management – part 5: Oracle Home Inventory and Naming Conventions

Having the capability of managing multiple Oracle Homes is fundamental for the following reasons: Out-of-place patching: cloning and patching a new Oracle Home usually takes less downtime than stopping...

View Article


Image may be NSFW.
Clik here to view.

Oracle Home Management – part 4: Challenges and Opportunities of the New...

Starting with the upcoming next release (18c), the Oracle Database will be a yearly release. (18c, 19c, etc). New yearly releases will contain only new features ready to go, and eventually some new...

View Article


Data Guard, Easy Connect and the Observer for multiple configurations

EZConnect One of the challenges of automation in bin Oracle Environments is dealing with tnsnames.ora files. These files might grow big and are sometimes hard to distribute/maintain properly. The worst...

View Article

Script to check Data Guard status from SQL

In a previous blog post I have explained how to get the basic configuration from x$drc and display something like:OBJECT_ID DATABASE INTENDED_STATE CONNECT_STRING ENABLED ROLE RECEIVE_FROM SHIP_TO...

View Article

Image may be NSFW.
Clik here to view.

Real-Time Cascade Standby Container Databases without Oracle Managed Files

OK, the title might not be the best… I just would like to add more detail to content you can already find in other blogs (E.g. this nice one from Philippe Fierens...

View Article


Image may be NSFW.
Clik here to view.

How to get the Data Guard broker configuration from a SQL query?

Everybody knows that you can get the Data Guard configuration in dgmgrl with the command:show configuration;but few know that this information is actually available in x$drc:SQL> desc x$drc Name...

View Article

Awk to format the files .ora (listener.ora, tnsnames.ora, etc)

Tired of formatting the tnsnames.ora to make it more readable, I have taken the nice awk examples from Jeremy Schneider: https://ardentperf.com/2008/11/28/parsing-listenerora-with-awk-and-sed/ and...

View Article

Image may be NSFW.
Clik here to view.

Multitenant Pills: Partial PDB cloning (and cleanup)

When consolidating to multitenant, there are several consolidation patterns. Big, complex databases usually have special requirements for which it might be a good choice to go to single-tenant (a...

View Article


Multitenant Pills – Change DBID for an existing PDB

When you plug the same PDB many times you have to specify “AS COPY” in the syntax:CREATE PLUGGABLE DATABASE ludo AS CLONE USING '/u01/app/oradata/ludo/ludo.xml';Otherwise, you will get an error similar...

View Article


Parallel Oracle Catalog/Catproc creation with catpcat.sql

With Oracle 19c, Oracle has released a new script, annotated for parallel execution, to create the CATALOG and CATPROC in parallel at instance creation. I have a customer who is in the process of...

View Article

Image may be NSFW.
Clik here to view.

Oracle Home Management – part 7: Putting all together

Last part of the blog series… let’s see how to put everything together and have a single script that creates and provisions Oracle Home golden images: Review of the points The scripts will: let create...

View Article

Image may be NSFW.
Clik here to view.

Oracle Home Management – part 6: Simple Golden Image Blueprint

As I explained in the previous blog posts, from a manageability perspective, you should not change the patch level of a deployed Oracle Home, but rather install and patch a new Oracle Home. With the...

View Article

Oracle Home Management – part 5: Oracle Home Inventory and Naming Conventions

Having the capability of managing multiple Oracle Homes is fundamental for the following reasons: Out-of-place patching: cloning and patching a new Oracle Home usually takes less downtime than stopping...

View Article


Image may be NSFW.
Clik here to view.

Oracle Home Management – part 4: Challenges and Opportunities of the New...

Starting with the upcoming next release (18c), the Oracle Database will be a yearly release. (18c, 19c, etc). New yearly releases will contain only new features ready to go, and eventually some new...

View Article

Image may be NSFW.
Clik here to view.

Oracle Home Management – part 3: Strengths and limitations of Rapid Home...

In the previous post I mentioned that having a central repository storing the Golden Images would be the best solution for the Oracle Home provisioning. In this context, Oracle provides Rapid Home...

View Article


Image may be NSFW.
Clik here to view.

Oracle Home Management – part 2: Common patching patterns

Let’s see some common approaches to Oracle Home patching. First, how patches are applied No, I will not talk about how to use opatch It is an overview of the “high-level” methods… when you have...

View Article

Image may be NSFW.
Clik here to view.

Oracle Home Management – part 1: “Patch soon, patch often” vs. reality

With this post, I am starting a new blog series about Oracle Database home management, provisioning, patching… Best (and worst) practices, common practices and blueprints from my point of view as...

View Article


DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL not working on 12c? Here’s why…

It is bad to realize, after a few years, that my customer’s Audit Cleanup procedures are not working properly for every database… NOTE: The post is based on standard audit, not unified audit. My...

View Article

Image may be NSFW.
Clik here to view.

Basic Vagrantfile for multiple groups of VMs

In case you want to prepare multiple sets of machines quickly using Vagrant, ready for different setups, this might be something for you:## -*- mode: ruby -*- ## vi: set ft=ruby : require 'ipaddr'...

View Article

Image may be NSFW.
Clik here to view.

BP and Patch 22652097: set optimizer_adaptive_statistics to FALSE explicitly...

Update 14.03.2018: After some exchanges with Nigel Bayliss, the behaviour described here has been filed as unpublished bug 27626925: OPTIMIZER ADAPTIVE STATS DEFAULT FALSE NOT HONORED WHEN ENABLED IN...

View Article
Browsing index pages (69 articles)


Latest Images