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 ArticleExtracting 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 ArticleOn-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 ArticleOn-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 ArticleReal Time SQL Monitoring using SQL Developer
Since a previous post with screenshots was very popularI have created a Video Demoon my Youtube Channel
View ArticleGetting 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 ArticleAn 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 ArticleCompressing 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 ArticleActive Data Guard and DML Redirection
Active Data Guard (also known as "ADG") allows you to open a Standby Database in Read Only mode and query it while Media Recovery (i.e. Redo Apply from the Primary) is concurrently running.Caveat :...
View ArticleConfiguring Transparent Data Encryption -- 1 : For a Tablespace
Oracle allows TDE (Transparent Data Encryption) for specific (i.e. selected) columns or a full Tablespace.Here is a quick demo of TDE for a Tablespace.First, I setup a target tablespace with some...
View ArticleOracle Database 21c
Oracle Database 21c is now available in the Oracle Cloud.21c is an Innovation Release so it can be used for testing of the new features. For Long Term Support, customers still now upgrading should be...
View ArticleConfiguring Transparent Data Encryption -- 2 : For Columns
The previous demo of TDE in 19c was for a full Tablespace (converting an existing, non-TDE, Tablespace to an Encrypted Tablespace). Pre-creating a Table with an Encrypted column would be...
View ArticleDatapump in Oracle ADB using SQL Developer Web
If you have a small schema in the Oracle Cloud Autonomous Database, you can actually run DataPump from SQL Developer Web. DATA_PUMP_DIR maps to a DBFS mount inside the Oracle Database.Logged in to my...
View ArticleRMAN's CATALOG command
The CATALOG START WITH command allows you to update the RMAN Repository with information about backup pieces (or archivelogs) in the specified location. For example, if older backups have already been...
View ArticleRESTORE and RECOVER a NOARCHIVELOG Database, with Incremental Backups
Oracle does support all Incremental (as well as Full) Backups of Databases running in NOARCHIVELOG mode. Such backups can be made when the database is in MOUNT (not OPEN) mode.There are 2 "downsides"...
View ArticleChecking for Active Transactions
Oracle 11.2 introduced the WAIT_ON_PENDING_DML function in the DBMS_UTILITY Package.Here is a demonstration of how to use it :17:05:21 SQL> @Check_for_Transactions17:05:22 SQL> declare17:05:22 2...
View ArticleRESTORE and RECOVER a NOARCHIVELOG Database, with Incremental Backups -- 2nd...
As a follow up on a question in the previous blog post, I demonstrate it again without restoring the ControlfileThe current SCN and available backups (Level-0 and Level-1) :SQL> select current_scn...
View ArticlePatching -- opatch and datapatch in Oracle vs a single executable in SQL Server
In the Oracle universe, when applying a Release Update patch, the DBA has to run "opatch" to patch the binaries and library files but also has to run a separate "datapatch" to update the data...
View ArticleUsing the SESSION_LONGOPS view with DBMS_APPLICATION_INFO
I have, in the past, demonstrated DBMS_APPLICATION_INFO here and here.Also, I have demonstrated how V$SESSION_LONGOPS can be used (and misunderstood !!) Here is a demo of how you can use both...
View Article
More Pages to Explore .....