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

Restore and Recovery from Incremental Backups : Video

A Youtube Video on Restore and Recovery from Incremental Backups.

View Article


Compression -- 8 : DROPping a Column of a Compressed Table

Building on the series on Compression .....What happens if we try to DROP a column in a Compressed Table ?  How can we execute the DROP ?Starting with BASIC Compression.SQL> connect...

View Article


Blog Series on 11gR2 RAC, GI, ASM

These were my blog posts on 11gR2 RAC, Grid Infrastructure and ASM in 20141.  RAC Commands  :  1 --  Viewing Configuration  (Jul-14)2.  RAC Commands  :  2 --  Updating Configuration for Services...

View Article

Data Recovery Advisor (11g)

Here's my YouTube video on using the 11g Data Recovery Advisor from the RMAN command line.Other videos are in my YouTube Channel....

View Article

Services -- 1 : Services in non-RAC 12c MultiTenant

It is generally accepted that service definition is required in RAC environments.However, the concept of Services was made available in 8i --- predating RAC.   Services can be defined in non-OPS /...

View Article


Services -- 2 : Starting and Connecting to Services (non-RAC)

Continuing with the 12.1.0.2 non-RAC MultiTenant environment and two services demonstrated earlier,I have restarted the environment today :[grid@ora12102 ~]$ lsnrctl servicesLSNRCTL for Linux: Version...

View Article

Services -- 3 : Monitoring Usage of Custom Services

In my previous blog post, I had demonstrated a few custom services created and started with DBMS_SERVICE.Let's look at a couple of examples of monitoring usage of these services.[oracle@ora12102...

View Article

Services -- 4 : Using the SERVICE_NAMES parameter (non-RAC, PDB)

In my previous blog post, I have demonstrated using DBMS_SERVICE to create and start services.But there is another way.  Using the SERVICE_NAMES parameter.  Going by most google references,...

View Article


ACS, SQL Patch and SQL Plan Baseline

Marko Sutic's blog post on Adaptive Cursor Sharing and SQL Plan Baselines, with an example of SQL Patch as well....

View Article


Loading SQL*Plus HELP into the Database

Oracle provides scripts to load the HELP command for SQL*Plus.See $ORACLE_HOME/sqlplus/admin/helpThe schema to use is SYSTEM, not SYS.I demonstrate(a) How to load SQLPlus Help  into the database(b) How...

View Article

CODE : Persistent Variables via PL/SQL Package and DBMS_APPLICATION_INFO

I am now introducing some code samples in my blog.  I won't restrict myself to SQL but will also include PL/SQL  (C ? Bourne/Korn Shell ? what else ?)This is the first of such samples.Here I...

View Article

Index of Posts

My friend, Ravi Muthupalani has created an Index of my Blog Posts. p1 {font-size:smaller;} Hemant's Oracle DBA BlogAs on 18-Sep-162016-09SQL*Net Message WaitsCODE :  View My Source Code -- a...

View Article

CODE : View My Source Code -- a Function

If you need to view the source code of a stored program you need to either :a.  Be the owner of the programb.  Have EXECUTE privilege on the programc.  Have EXECUTE ANY ... privilege or the DBA roleIf...

View Article


SQL*Net Message Waits

Here are some extracts from an 11.2.0.4 AWR Report  I ran a simulated workload on this server for about 40minutes and generated this report.  I understand that some DBAs may be misinterpreting SQL*Net...

View Article

SQLLoader DIRECT option and Unique Index

The DIRECT parameter for SQLLoader Command-Line enables Direct Path Load which uses a Direct Path API instead of a regular INSERT statement to load data into the target table. However, one needs to...

View Article


Obj# and DataObj# in 12c AWR

The 12c AWR Report section on Segment Statistics now reports both Obj# (OBJECT_ID) and DataObj# (DATA_OBJECT_ID).  This is useful information when you have (table) objects undergoing TRUNCATEs during...

View Article

Undo and Redo

Quick and Rough Notes :Undo and RedoUndo is where Oracle logs how to reverse a transaction (one or more DMLs in a transaction)Redo is where Oracle logs how to replay a transactionUndo and Redo are...

View Article


OTN Appreciation Day : Undo and Redo

On OTN Appreciation Day, let me say I like the Undo and Redo features of Oracle.  I name them together as they work together.Undo also supports MultiVersionReadConsistency -- a great advantage of...

View Article

Multi-Version Read Consistency in Oracle

My Linked-In post on this topic....

View Article

Flashback Database Logs can exceed the Retention Target

The documentation on the Flashback Retention Target in 11.2 and 12.1 states that this parameter specifies an upper limit on how far the database may be flashed back.However, if the FRA...

View Article
Browsing all 464 articles
Browse latest View live