Quantcast
Channel: Hemant's Oracle DBA Blog
Browsing all 151 articles
Browse latest View live

Restoring Standby Database after Failover

 In the previous post, I demonstrated how the Database Incarnation changed after a Failover was issued for a Standby Database.Let's assume that Read-Write testing of the Standby has been done and now I...

View Article



Image may be NSFW.
Clik here to view.

Identifying Patches applied to an Oracle Installation and Database

"opatch" and "datapatch" are the methods to apply Oracle Patches in recent versions."opatch" applies updates to the library and binary files to the ORACLE_HOME at the OS level."datapatch" then applies...

View Article

ADG and DML Redirection -- with Multiple Standbys

 Building on my previous blog post on Active Data Guard with DML Redirection, here are a few more tests.First, on the Primary :22:03:50 SQL> select name, db_unique_name, database_role from...

View Article

Resuming Standby Databases after a RESETLOGS (without Data Loss from Online...

 Supposing that you lose the Online Redo Logs of the Primary [after it has been SHUTDOWN NORMAL/IMMEDIATE] and you have to  OPEN RESETLOGS, how do you handle the Standbys ?This scenario demonstrated...

View Article

Download Oracle Database Virtual Box / Vagrant / Docker Images

 A few websites where you can download Oracle Database images for practice at home under single user licencesPrebuilt Oracle Virtual Box VMs from Oracle's download siteOracle's Vagrant Projects on...

View Article


My Posts on Parallel Execution

My series of blog posts on Parallel Execution(These demonstrations were against Oracle 11gR2.  19c may have new features / changes / improvements)1.  Parallel Execution -- 1 The PARALLEL Hint and...

View Article

My Posts on Database Flashback

 My Blog Posts on Database Flashback(The first 5 demonstrations are in 11gR2.  The last demonstration is in 19c)My Blog Posts on the FLASHBACK DATABASE command1.  Introduction to Operations2....

View Article

My Posts on Standby Database[s] -- Data Guard

Although I have, in previous posts, covered Data Guard in 12c (and 12cR1 RAC), this is a list of recent Blog Posts on Data Guard. 1.  Quickly creating a Standby Database in 19c  (Feb-20)2.  Redo...

View Article


Image may be NSFW.
Clik here to view.

Loading Documents into Oracle

A short demonstration of loading documents into an Oracle Database. SQL> @create_docs_tableSQL> spool create_docs_tableSQL>SQL> drop table my_documents purge;Table dropped.SQL> create...

View Article


Indexing Documents in Oracle

 In the previous post, I had demonstrated how to load documents into an Oracle Database.  (Note : I am referring to documents as in PDF files, PowerPoint presentations, Word documents and text files in...

View Article

SQL Server Migration Assistant for Oracle

 Here's a Video Demo of the SQL Server Migration Assistant for Oracle   https://youtu.be/zNTF1ncr45g  The tool is available for download here

View Article

Refreshable Clone PDB -- 1 Manual Refresh

 The facility of creating Clone PDBs that are Refreshable either "on-demand" or to a set schedule was introduced in 12.2.  The Refreshable PDB can be opened only as a Read-Only databaseThis is somewhat...

View Article

Refreshable Clone PDB -- 2 Datafile Names

 In my previous post, I demonstrated creating a Refreshable Clone PDB.  How do you handle datafile names ? You can use the FILE_NAME_CONVERT to change file names based on substring matching of the file...

View Article


Refreshable Clone PDB -- 3 The ArchiveLog and ArchParLog files

 In my previous blog post about Datafile Name mapping for a Refreshable Clone PDB, I had presented only a portion of the trace file for the ALTER PLUGGABLE DATABASE RO_PDB REFRESH command.Here is the...

View Article

DataPump Export using SQL Developer

 I have published a video demonstration of using SQL Developer to run a DataPump export.Although I did not choose the "Export read-consistent view of data" (at 04:00 in the video), I strongly recommend...

View Article


Most Viewed Blog Posts of H1-2021

 These are the most viewed Blog Posts among those published in the first half (January to June) of 2021 :RMAN's CATALOG command : 26-Jan-21 Primary and Standby in the same RMAN Catalog :...

View Article

The contents of the Database Controlfile -- 1 : Logical Structure

 (No, I am not referring to the "alter database backup controlfile to trace ..." command here.)In Oracle, the controlfile for a database is the "master" reference to the physical structure of the...

View Article


The contents of the Database Controlfile -- 2 : Physical Structure

 In my previous post, I had demonstrated how you can view the "count of records" in different sections of the controlfile.  However, you cannot actually view the data in those records.You can, however,...

View Article

The Contents of the Database Controlfile -- 3 : Recreating the Controlfile

 In my previous posts, I have shown the Logical Structure and the Physical Contents of the Controlfile.  It is clear that some of the sections (e.g. for "ARCHIVED LOG" entries) have many slots (or...

View Article

Refreshable Clone PDB -- 4 Converting it to a Read Write PDB

 As demonstrated in my first post on Refreshable Clone PDBs, the Clone PDB can be opened in only READ ONLY mode.  This is akin to a Basic Materialized View or a Read Only Standby Database, either of...

View Article
Browsing all 151 articles
Browse latest View live




Latest Images