Oracle Daily Tidbits – April 2016

Oracle *daily* TidBits” (#oratidbit) published at on weekdays in April 2016. You will also see these tidbits, one tidbit at a time, for each page refresh on the right side of this blog as well… Hope you find these helpful to learn something new or to remind you of its existence and use…

#oratidbit ORACLE_OCM is a predefined non-administrative account in DB that is expired and locked, used by Oracle Configuration Manager (OCM) used to associate the configuration information for the Oracle Database instance with My Oracle Support. When you log a service request, information is readily available and associated to the Service Request.
#oratidbit SQL92_SECURITY parameter specifies whether users must be granted the SELECT object privilege to execute UPDATE or DELETE statements. Default is FALSE and you do not require SELECT to perform UPDATE or DELETE on table. So, by using DELETE/UPDATE statements with different WHERE clauses you may be able to verify the content of table.
#oratidbit Oracle Virtual Private Database (VPD), Oracle Label Security (OLS), and Oracle Data Redaction enable you to restrict the data that different users can see in database tables. #security
#oratidbit Use DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL procedure to clean audit records from unified audit trail (UNIFIED_AUDIT_TRAIL) and standard audit trail (DBA_AUDIT_TRAIL).
#oratidbit 101: ALL_ALL_TABLES shows tables (relational and object) that you have access to, USER_ALL_TABLES shows tables you own, DBA_ALL_TABLES shows tables in the database or PDB, CDB_ALL_TABLES shows tables from all PDB.
#oratidbit 101: On non-CDB, CDB_ and DBA_ views have same content. The CDB_ view has CON_ID=0 for all rows.
#oratidbit To enable full database caching in 12c, do ALTER DATABASE FORCE FULL DATABASE CACHING in MOUNT state of DB. Enabling force full database cache mode applies to the CDB and all PDBs when using the multitenant option.
#oratidbit In, job_queue_process was a Container Database (CDB) modifiable parameter (ie. at a global level). In, the job_queue_process parameter is not CDB modifiable; instead it’s PDB modifiable which means each PDB can have its own job_queue_process value.
#oratidbit Oracle Scheduler in 12c has different interpreters to run custom jobs. SQL Script uses sqlplus, External script uses unix shell or windows command, Backup script uses RMAN.
#oratidbit In 12c, DBMS_STATS.REPORT_STATS_OPERATIONS API can be used to find if automated statistics job or manual statistics collected stats on a table. Filter automatic stats operation by using AUTO_ONLY => TRUE.
#oratidbit To preserve the in-memory column store configuration during import, use TRANSFORM=INMEMORY:Y option in impdp. When the TRANSFORM=INMEMORY:n option is specified, Data Pump drops the IM column store clause from all objects that have one.
#oratidbit You can use full transportable export/import to upgrade a database from an Oracle Database 11g Release 2 ( or later to Oracle Database 12c.
#oratidbit In a CDB, the default Data Pump directory object, DATA_PUMP_DIR, does not work with PDBs. You must define an explicit directory object within the PDB that you are using with Data Pump export/import.
#oratidbit 101: Oracle Container Database CDB includes CDB$ROOT (Oracle-supplied metadata and common users), PDB$SEED (template to create new PDBs) and Pluggable Databases.
#oratidbit The Oracle Pluggable Database Self-Service Provisioning application provides an interface to Oracle Database 12c Multitenant and allows for the self-service provisioning of Pluggable Databases (PDBs). Available from
#oratidbit Oracle PDB Self-service provisioning application requires AL32UTF8 database characterset, Oracle APEX 4.2.5+ and REST Data Services 2.0.7+.
#oratidbit 101: A CDB uses single SPFILE. The user who creates or modifies the SPFILE must be a common user with SYSDBA, SYSOPER, or SYSBACKUP administrative privilege.
#oratidbit 101: All of the PDBs in the CDB must use the characterset of the CDB.
#oratidbit 101: There is separate SYSTEM and SYSAUX tablespaces for CDB root (CDB$ROOT) and each PDB.

Leave a Reply

%d bloggers like this: