My Oracle Support Banner

The dbid is different in v$database and v$container view in 12C (Doc ID 2536626.1)

Last updated on DECEMBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

On 12.1.0.2, In a non-cdb, the DBID is different in v$database and v$container view.

SQL> select dbid,con_dbid from v$database;

  DBID CON_DBID
---------- ----------
 <DBID1>  <DBID1> <<<<< <DBID1> is  in v$database

SQL> select dbid from v$containers;

  DBID
----------
DBID2> <<<<< <DBID2> is in v$container


The DBID is different.

Changes

Duplicate a new database from a source (NON-CDB) database. The v$containers.dbid is not updated and keep the old value as the source database。

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.