Subscribe to Posts by Email

Subscriber Count

    696

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 : 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 inheritance property for some parameters must be true.

For other parameters, you can change the inheritance property by running the ALTER SYSTEM SET statement to set the parameter when the current container is the PDB.

If ISPDB_MODIFIABLE is TRUE for an initialization parameter in the V$SYSTEM_PARAMETER view, then the inheritance property can be false for the parameter.


	SQL> select NAME,ISSES_MODIFIABLE,ISSYS_MODIFIABLE,ISINSTANCE_MODIFIABLE from V$SYSTEM_PARAMETER where name='open_cursors';

	NAME              ISSES ISSYS_MOD ISINS   ISPDB
	-----------------  ----- --------- -----  -------
	open_cursors      FALSE IMMEDIATE TRUE    TRUE

	SQL>

The above example of open_cursors for ISPDB_MODIFIABLE is true means that this parameter can be inherited for PDB's from root database

Further the parameters can be changed all together for all databases or for specific container (PDB) by using again a CONTAINER Clause in ALTER SYSTEM

	The following changes the open_cursor parameter to 200 in root and all the PDB's

	ALTER SYSTEM SET OPEN_CURSORS = 200 CONTAINER = ALL;


	If you logged in root, The following changes the open_cursor parameter to 200 in root and all the PDB's as the instance inheritance parameter is true, if you change in root it will applicable to all.

	ALTER SYSTEM SET OPEN_CURSORS = 200 CONTAINER = CURRENT;


	If you logged in PDB, The following changes the open_cursor parameter to 200 in PDB only.

	ALTER SYSTEM SET OPEN_CURSORS = 200 CONTAINER = CURRENT;
	

Important Note: PDB parameters cannot be changed if you are using PFILE, You must use SPFILE

-Thanks
Geek DBA

Comments are closed.