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

Oracle Cloud Shell

The Oracle Cloud (accessible even with a free account) now includes a Cloud Shell feature with 5GB of storage.Here is a quick demo of this feature.

View Article


Re-Register ArchiveLogs and Backups

If you as the DBA or someone else as the SysAdmin has had to delete and restore or relocate ArchiveLogs or RMAN Backups to another mount point, you'd find that Oracle can no longer identify them.This...

View Article


Image may be NSFW.
Clik here to view.

Real Time SQL Monitor using SQL Developer 20.2

Here are a few screenshots of using the Real Time SQL Monitor in SQL Developer 20.2 against a 19c database.  I use the MONITOR hint explicitly in the SQL statements to force them to be visible in the...

View Article

SCN_TO_TIMESTAMP

A quick demo of SCN_TO_TIMESTAMP in 19c oracle19c>sqlplus hemant/hemant@orclpdb1SQL*Plus: Release 19.0.0.0.0 - Production on Tue Aug 11 21:59:56 2020Version 19.3.0.0.0Copyright (c) 1982, 2019,...

View Article

ORA_ROWSCN

 As a follow up to my previous post on SCN_TO_TIMESTAMP, here is a demo of the ORA_ROWSCN function.I have two different sessions and two different tables where I insert one row each.  I then delay the...

View Article


ORA_ROWSCN -- 2 : Multi Table, Multiple Rows

 Instead of the single-table, single-row demonstration in my previous blog post, this demonstrates how ORA_ROWSCN is presented when a single transaction (i.e. one COMMIT at the end of multiple DML...

View Article

ORA_ROWSCN and RowDependencies

 The last three posts in this blog have been on SCNs and the ORA_ROWSCN function with brief mentions about the RowDependencies extended attribute of a table defnition.Here is a quick demonstration of...

View Article

Using SQL Developer to Copy Data to the Oracle Cloud

 I have created a short video demonstrating a copy of selected objects from a 19c database accessible from my desktop to an Autonomous (ATP) Database in the Oracle Cloud using SQL Developer 20.2

View Article


Creating a PDB as a Clone in a DataGuard environment

 In the 19c Primary database, where I want to create NEWPDB as a no-data clone of ORCLPDB1 :SQL> select con_id, name, open_mode from v$pdbs;...

View Article


Checking the new PDB as a no-data-clone

 In the previous post, I had created a NEWDB as a "NO DATA" clone (even also explicitly excluding all USER_TABLESPACES).FYI, these are the entries in the Primary database alert log (entries in the...

View Article

Is SQL (Relational ?) difficult : A lesson from NoSQL

 An excellent article by Franck Pachot : A lesson from NoSQL (vs. RDBMS): listen to your users

View Article

Verifying an RMAN Backup

 In general, most database backups with RMAN always include the "correct" set of ArchiveLogs.  This is done either with :1. BACKUP DATABASE PLUS ARCHIVELOG or2. ALTER SYSTEM ARCHIVE LOG CURRENT ;...

View Article

Verifying an RMAN Backup -- Part 2

 Continuing on my previous blog post,  the question being "when you receive an RMAN Backup from another DBA, how do you confirm that the database can be restored and recovered to a Consistent Point In...

View Article


Image may be NSFW.
Clik here to view.

Extracting DDL using SQL Developer

 The "DDL" command in SQL Developer 20.2 new mimics the command in sqlclHere I extract the definition my table OBJECTS_LIST and it's indexHere I extract the code for a Stored Procedure

View Article

Image may be NSFW.
Clik here to view.

On-Premises SQL Server to Oracle ADB on the Cloud - 1

Setting up a connection between an On-Premises SQL Server Database Instance to an Oracle ADB on the Oracle CloudStrong Caveat :  This is only a POC.  Most organisations would NOT allow an open direct...

View Article


Image may be NSFW.
Clik here to view.

On-Premises SQL Server to Oracle ADB on the Cloud -- 2

 Having configured connectivity between an On-Premises SQL Server Database to an Oracle ADB Database in the Oracle Cloud in the previous post, I will now copy data from SQL Server to OracleCreate the...

View Article

Real Time SQL Monitoring using SQL Developer

Since a previous post with screenshots was very popularI have created a  Video Demoon my Youtube Channel

View Article


Getting your SQL Statement's SQL_ID

 SQL*Plus now can provide you the SQL_ID of the last statement executed in your own session with SET FEEDBACK SQL_ID.A quick demo :SQL> set feedback on sql_idSQL> select count(*) from my_target...

View Article

An SQL Server Blog

 As I have recently started working with SQL Server, I have created a new SQL Server Blog.I will be periodically updating both my Oracle and SQL Server blogs.

View Article

Compressing VARCHAR2 and CHAR column data

 Most applications that I see use VARCHAR2 columns.  However, there are some (including many built by "in house database designers" that use CHAR columns).  CHAR columns are for Fixed-Length character...

View Article
Browsing all 464 articles
Browse latest View live