Oracle CDBVIEW
Version 18.3.0.1

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers? Software Defined Servers can improve performance and security while lowering complexity and cost. With Software Defined Servers you define servers with an optimum configuration to your environment rather than being memory starved and cpu over-provisioned. Find out how you can improve your computing environment with TidalScale. your friends.
Purpose Creates CDB views for all DBA views. Source code is all clear-text.
AUTHID DEFINER
Dependencies
CDBVIEW_INTERNAL DBMS_STANDARD OBJ$
COM$ GETLONG USER$
Documented No
First Available 12.1.0
Security Model Owned by SYS with EXECUTE granted to the EXECUTE_CATALOG_ROLE role
Source {ORACLE_HOME}/rdbms/admin/catcdbviews.sql
Subprograms
 
CREATE_CDBVIEW
Creates, or recreates, the CDB Views

This package appears to be broken in 12.1.0.2
cdbview.create_cdbview(
chk_upgrd    IN BOOLEAN,
owner        IN VARCHAR2,
oldview_name IN VARCHAR2,
newview_name IN VARCHAR2);


True indicates the call is part of an upgrade and the views are not recreated.
False indicates the call is not part of an upgrade and all CDB views are (re)created.
-- do not run the following statements ... they are examples found in {ORACLE_HOME}/rdbms/admin files
exec cdbview.create_cdbview(FALSE,'SYS','DBA_CONTEXT','XXX_CONTEXT');
 
GETLONG
opcode = 1 accesses view$, opcode = 2 accesses cdef$ cdbview.getlong(
opcode  IN NUMBER
p_rowid IN ROWID)
RETURN VARCHAR2;
exec cdbview.getlong(1,'AAAABfAABAAAARhAAC');

Related Topics
CDBVIEW_INTERNAL
Container Database
DBMS_PDB
Packages
Pluggable Database
What's New In 12cR2
What's New In 18cR3

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2019 Daniel A. Morgan All Rights Reserved