Subscribe to Posts by Email

Subscriber Count

    701

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

12c Database : Multiple indexes on same columns or column list

From 12c onwards, we can create a mixed indexes (bitmap and btree both) on same columns which is very useful in DW environments. Before to 12c you will receive the such column is already indexed error or index already exists if you want to create the same.

I have a copy of dba_objects as […]

12c Database : Move datafile online, no offline or rename required going forward

12c Introduced the datafiles movement online, Earlier to 12c we have to

a) offline the datafile b) Move the datafile to new location using os command c) Rename the datafile for data dictionary update d) Online the datafile

From 12c, its just need a command "alter database move datafile" Lets see how it works […]

12c Books so far

Few books released so far on 12c features or includes 12c Features, but all are not India (Asia) editions so they might be expensive, Watch out for this books in Flipkart and you may get for lesser prices once they get released here in India.

12c New Features book from Robert Freeman As usual

[…]

12c database Architecture diagram, multitenant database architecture

If you are unable to read, click to download

Diagram Source : Oracle.com (the document is uploaded for education purpose only not for any other commercial purpose)

Click here to download

 

 

[…]

12c Database : Managing PDB’s

Starting/Stopping CDB and PDBs

The traditional approach of starting and stopping databases is now only valid for CDB. So in order to start and stop CDB you will use the familiar startup and shutdown commands.

PDBs don’t get automatically started with CDB. Even if your CDB is up and running it is possible […]

12c Database : Create PDB’s , Plug & Unplug

Create & Plug and Unplug PDB’s

To Create PDB’s the following methods can be followed

Copying

From PDB Seed

Cloning from a existing PDB using

Locally Remotely through DB Link

Plugging in

Plugging in an unplugged DB (unplug and plug as database into same container database) Plugging in a NON-CDB  as […]

12c Database : Truncate with Cascade

From 12c onwards,

Oracle 12c introduced truncate with cascade so when truncate operates on master table the child table rows also get truncated automatically.

SCOTT@PDB > create table MASTER ( 2 ID number generated always as identity PRIMARY KEY, 3 NAME VARCHAR2(20) 4 ); Table created. SCOTT@PDB > create table CHILD ( 2 ID […]

12c Database : RMAN backups and recovery with PDB

RMAN backup scenarios in 12c,

With the advent of 12c PDB/CDB rman backup has changed a lot while taking backups or restoration.

Backups on PDB or CDB “BACKUP PLUGGABLE DATABASE” – To take backups for a pluggable database “BACKUP DATABASE” – “BACKUP DATABASE;” on root container backs up the whole container includes SEED Container […]

12c Database: New groups for OS Authentication and New Sys roles and users

From 12c onwards we have seperate roles to be created for OS Authentication

Prior to 12c we have OSDBA, OSOPER, OSASM, OSDBA, OSOPER groups

From 12c onwards,

OSBACKUPDBA maps to backupdba by default and is used to allow users to backup the database. Users in this group can connect as SYSBACKUP and have their […]

12c Database : Managing Parameters in Container databases

In a container architecture, the parameters for PDB will inherit from the root database. That means if statistics_level=all in the root that will cascade to the PDB databases.

You can over ride this by using Alter system set, if that parameter is pdb modifiable, there is a new column in v$system_parameter for the same.

The […]