Quantcast
Channel: Hemant's Oracle DBA Blog
Browsing latest articles
Browse All 464 View Live

Installing and Running DBSAT on 21c

 DBSAT is Oracle's "Database Security Assessment Tool" that you can get from Oracle Support Document "Oracle Database Security Assessment Tool (DBSAT) (Doc ID 2138254.1)" .This is the User Guide for...

View Article


Image may be NSFW.
Clik here to view.

Grid Infrastructure --- OCR and Voting Disks Location at Installation

 In Oracle Grid Infrastructure, the OCR (Oracle Cluster Registry) and Voting "Disks" must be on Shared Storage accessible by all the nodes of the Cluster.  Typically, these are on ASM.In ASM, a...

View Article


Video on Host Names, SCAN and IP Addresses

 I've posted a new Video on Host Names, SCAN and Virtual IPs in RAC (using a 2-node 19c Cluster)

View Article

Video on Client Side Failover in RAC

 I've posted a new video demonstrating Client Side Failover defined by the tnsnames.ora file

View Article

Video on monitoring (a single instance) DataGuard Standby for a RAC (2-node)...

 I've just uploaded a new video on monitoring DataGuard where the Standby is a Single Instance environment for a 2-node RAC Cluster.The script used in the demo are in this ZIP  (script files with...

View Article


Testing DB_FLASHBACK_LOG_DEST in 23ai

 Pre-23ai, Database Flashback Logs always were created in the DB_RECOVERY_FILE_DEST location (i.e.. the well-known "Fast Recovery Area" also known as "FRA").However, these would share space with...

View Article

Testing DEFAULT ON NULL FOR UPDATE in 23ai

 Testing  a new feature in 23ai that allows you to define a DEFAULT value for a column if a user/front-end/application sends a NULL :[oracle@oel9 ~]$ sqlplus hemant/hemant@freepdb1 SQL*Plus: Release...

View Article

Testing RENAME LOB (Segment) in 23ai

Another new feature of 23ai is the ability to rename a LOB (Segment) in-place without having to use the MOVE clause.A quick demo :SQL> -- Version 23ai Free Edition SQL> select banner from...

View Article


Testing Open a PDB as a Hybrid Read Only PDB in 23ai

 Oracle 23ai now allows the DBA to open a PDB in Hybrid Read Only mode.  This mode allows Common Users (e.g. SYS or SYSTEM or others defined as Common Users from the Root CDB) to access a PDB in...

View Article


Testing updated ORA-942 Error Message in 23ai

 Oracle 23ai now has a long-requested fix to the ORA-942 "table or view does not exist" error message.  The error message would not print out *which* table or view was missing -- this was particularly...

View Article

Video on the Maximum Availability Protection Mode in Oracle DataGuard (with RAC)

 I've published a new video demonstrating Maximum Availability Protection Mode in Oracle DataGuard.

View Article

Video on OCR and OLR commands in RAC GI/ClusterWare

 Last week I published a new video on OCR and OLR commands.ocrcheck  :  Lists the locations of the OCR and checks for corruption (run as root to check for logical corruption as well)ocrconfig -add DG...

View Article

A few dgmgrl (DataGuard Broker) commands

 I haven't create a video with commentary but here are a few dgmgrl commands.In the output "RACDB" (or "racdb") is a 2-node RAC database (managed by ClusterWare) and "STDBY" (or "stdby") is a Single...

View Article


Video on DataGuard Switchover -- with RAC and Single Instance

 I've posted a demonstration of DataGuard Switchover, using RAC and Single Instance as the Primary/Standby pair.Fundamentally, there is no difference if either or both of the databases are RAC or...

View Article

Video on DataGuard Snapshot Standby

 I have posted a new video on creating a "Snapshot Standby" database in DataGuard.Typically such a Standby can be used for "destructive testing" like D.R. simulation with dummy transactions,...

View Article


Using Oracle's Autonomous Health Framework to get an "Insight" into a RAC...

 I've posted a video demonstration on using Oracle's Autonomous Health Framework ("AHF") get an "Insight" into  a RAC Cluster.AHF (Oracle Support Doc ID 2550798.1) is Oracle's current diagnostic tool...

View Article

The GROUP BY column_position enhancement in 23ai

 Oracle 23ai allows specifying a Column Position (or Alias) in the GROUP BY clause. For backward compatibility, the "group_by_position_enabled" parameter is a new feature that defaults to FALSE.SQL>...

View Article


DataPump with CheckSum in 21c and above

 Oracle introduced a CheckSum parameter in 21c.   Here is a demo in 23.6.  If I run the datapump export without the CheckSum, the behaviour is as expected :[oracle@localhost ~]$ expdp...

View Article

Image may be NSFW.
Clik here to view.

3million PageViews, 303thousand VideoViews

  This blog, begun in December 2006, has now hit a cumulative count of 3million PageViews.This Chart shows counts from the year 2011 :My YouTube Channel, begun in January 2014, has hit a cumulative...

View Article

Querying the Alert log in RAC

 Although v$diag_alert_ext works for a single instance, there is no corresponding gv$ view for RAC.However, the gv$ function can be used to execute a cursor across all instances.  Here I query for the...

View Article

23ai New Feature : Partition HIGH_VALUE in JSON format

 A quick demonstration of the new HIGH_VALUE_JSON column in the USER_TAB_PARTITIONS view in 23ai :[oracle@localhost Hemant]$ sqlplus hemant/hemant@freepdb1 SQL*Plus: Release 23.0.0.0.0 - for Oracle...

View Article


Domains in 23ai Schema Development

 I had heard of Data Use Case Domains in 23ai. However, the New Features nd Database Concepts documentation didn't provide enough examples for me to build on.However, this blog post by Ulrike Schwinn...

View Article


Video on Client Connectivity options for RAC

 Last month, I had posted a new Video on Client Connectivity options in RAC.It shows different methods of Client (ie. Applications as well !) -- not just using SCAN Name in an Oracle RAC Cluster On...

View Article

Flashback a Pluggable Database in RAC with Data Guard

 I have published a new video Flashback PDB in RAC with DG.Here are some important considerations / commands when you want to use Flashback :1.  Ensure that you have FLASHBACK_ON in the Database (at...

View Article

Backup and Restore a Standby Database

 I have seen some I.T. managers that decide to backup only the Primary Database and not the Standby. The logic is "if the Storage or Server for the Standby go down, we can rebuild the database from the...

View Article

Browsing latest articles
Browse All 464 View Live