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

Flashback Database -- 1 : Introduction to Operations

Continuing on my previous post,  ....In 11gR2,  ALTER DATABASE FLASHBACK ON   and OFF can be executed when the database is OPEN.  Setting FLASHBACK OFF results in deletion of all Flashback Files.Here...

View Article


Flashback Database -- 2 : Flashback Requires Redo (ArchiveLog)

Although Flashback Logs support the ability to execute a FLASHBACK DATABASE command, the actual Flashback also requires Redo to be applied.  This is because the Flashback resets the images of blocks...

View Article


Flashback Database -- 3 : Purging (older) Flashback Logs

As demonstrated earlier, Oracle may maintain Flashback Logs for a duration that is longer than the Flashback Retention Target.  This can happen when the db_recovery_filie_dest_size is large enough to...

View Article

12.2 New Features -- 1 : Separate Undo Tablespace for each PDB

Unlike 12.1 MultiTenant, 12.2 introduces a separate Undo Tablespace for each PDB.SQL> l 1 select c.con_id, c.name con_name, t.tablespace_name, t.contents, t.status 2 from v$containers c,...

View Article

12.2 New Features -- 2 : Partitioning an Existing Table

A non-partitioned table can be Partitioned (without having to use DBMS_REDEFINITION) online.SQL> connect hr/Oracle_4U@PDB1Connected.SQL> select count(*) from employees; COUNT(*)----------...

View Article


12.2 New Features -- 3 : Flashback Pluggable Database

12.1 allows Point In Time Recovery of a Pluggable Database but not Flashback of an individual PDB.12.2 now allows Flashback of an individual PDB.   This is easier with a Local Undo Tablespace instead...

View Article

12.2 New Features -- 4 : AWR for Pluggable Database

12.2 now allows AWR Snapshots and Reports to be created at the PDB level.Here I demonstrate a Manual Snapshot.  Although Automatic PDB AWR Snapshots are possible (with the AWR_PDB_AUTOFLUSH_ENABLED...

View Article

12.2 New Features -- 5 : Memory Parameters for Pluggable Database

12.2 allows Instance Memory parameters to be configured at the PDB level.[oracle@HKCORCL ~]$ sqlplus '/ as sysdba'SQL*Plus: Release 12.2.0.1.0 Production on Tue Dec 6 13:56:28 2016Copyright (c) 1982,...

View Article


Blog Series on 12.2 New Features

My posts on 12.2 New Features :1.  1.  Separate Undo Tablespace for each PDB2.  2.  Partitioning an Existing Table3.  3.  Flashback Pluggable Database4.  4.  AWR for Pluggable Database5.  5.  Memory...

View Article


Blog Series on Flashback Database

My Blog Posts on Flashback Database1.  Introduction to Operations2.  Flashback Requires Redo (ArchiveLog)3.  Purging (older) Flashback Logs4.  Flashback Database Logs can exceed the Retention Target5....

View Article

12cR1 RAC Posts -- 1 : Grid Infrastructure Install completed (first cycle)

Just as I had posted 11gR2 RAC Posts in 2014  (listed here), I plan to post some 12cR1 RAC (GI, ASM) posts over the next few weeks.Here's my Grid Infrastructure up and running.  (Yes, I used racattack...

View Article

12cR1 RAC Posts -- 2 : Convert AdminManaged DB to PolicyManaged

I have an AdminManaged Database in my (2node) RAC Cluster.How do I convert it to PolicyManaged ?(Yes, let me admit :  It makes no sense to have PolicyManaged on a 2node Cluster.  But since I can't...

View Article

V$RMAN_BACKUP_JOB_DETAILS, a caveat

Building on a previous blog post (you could read it before or after this post), here's a quick demo of a caveat or quirk with V$RMAN_BACKUP_JOB_DETAILS.This in 11.2.0.4[oracle@ora11204 Desktop]$ rman...

View Article


Copying a Tablespace from NonCDB to a PDB (using TTS)

A Tablespace can be "transported" from a NonCDB to a PDB as a way of copying the Tablespace.  Here I work with ASM as well.First in the NonCDB :[oracle@ora12102 Desktop]$ . oraenvORACLE_SID = [oracle]...

View Article

12cR1 RAC Posts -- 3 : Convert PolicyManaged DB back to AdminManaged

In the previous post on 12cR1 RAC, I had converted my AdminManaged Database to PolicyManaged.Here, I convert it back to AdminManaged.First, I verify that the database is shutdown (note that I have only...

View Article


12cR1 RAC Posts -- 4 : Adding a Disk of a different size

How does 12.1.0.2 ASM handle adding a disk of a different size to an existing DiskGroup ?I currently have 4 disks of 5GB each in 2 DiskGroups[oracle@collabn1 ~]$ sqlplus / as sysasmSQL*Plus: Release...

View Article

12cR1 RAC Posts -- 5 : Relocating OCR and VoteDisk

Most default installation guides for Grid Infrastructure will have you creating a DATA Disk Group during the install.  This results in the OCR, the Vote Disk and MGMTDB being created in the same DATA...

View Article


12cR1 RAC Posts -- 6 :Running the Cluster Verification Utility

With a successful RAC Cluster, running the Cluster Verification Utility[oracle@collabn1 ~]$ cluvfy stage -post crsinst -n collabn1,collabn2Performing post-checks for cluster services setupChecking node...

View Article

12cR1 RAC Posts -- 7 : OCR Commands

[Yes, I know that 12.2 is now available for download but it will be some time before I have a running 12.2 RAC environment]Some OCR / OLR Commands :The OCR is the Cluster Registry.  We also have an OLR...

View Article

12cR1 RAC Posts -- 8a : Setting up SingleInstance DG Standby for RAC

This is the first of a small series of subposts on setting up SingleInstance DataGuard Standby for my 12cR1 RAC environment.Primary Database : 12cR1 MultiTenant RAC : 2 nodes, database on ASMStandby...

View Article
Browsing all 468 articles
Browse latest View live


Latest Images