Oracle Tidbits – December 2019 #OraTidbit

Oracle *daily* TidBits” (#oratidbit) published on Facebook &Twitter, during weekdays in December 2019. December Tidbits are a repeat of the popular tidbits from 2019. I hope you find these helpful to learn something new or to remind you of its existence and use.

#OraTidbit DBA_AUTO_STAT_EXECUTIONS view in #db19c displays information about automatic optimizer statistics collection tasks, which are executed by the automated maintenance tasks infrastructure (known as AutoTask).
#oratidbit The CLUSTER_DATABASE_INSTANCES parameter is deprecated in #db19c. Starting with Oracle Database release 19c, version 19.1, the number of configurable Oracle RAC instances is derived from Oracle Clusterware.
#OraTidbit #ThinkAutonomous Though there is no Operating System access, you can create directories in Oracle Autonomous Database (ADW/ATP). CREATE DIRECTORY command creates the necessary directories and sub-directories on the OS side for you.
#OraTidbit #ThinkAutonomous Autonomous Database (ADW/ATP) allows user directories. Since there is no OS access to ATP/ADW machines, use DBMS_CLOUD.LIST_FILES function to list files in a directory. Use DBMS_CLOUD.DELETE_FILE function to remove a file.
#OraTidbit ORAchk/EXAchk -autostart will perform compliance checks for the most severe problems at 2 am daily, and all known problems once a week at 3 am on a Sunday.
#OraTidbit Init parameter ADG_ACCOUNT_INFO_TRACKING controls login attempts of users on Oracle Active Data Guard standby databases. Value GLOBAL maintains a single global copy of users’ account information across all databases (primary and standby).
#OraTidbit ORAchk, EXAchk and Trace File Analyzer (TFA) are now combined into a single installer called Autonomous Health Framework (AHF 19.3). There is no change to the command-line tools. Use Oracle Support Doc ID 2550798.1 to download AHF.
#OraTidbit Oracle Database Personal Edition includes all of the Enterprise Edition components except Oracle RAC. Oracle PE is available on Linux and Windows platforms only and Oracle management packs cannot be used.
#oratidbit #OracleASM You can upgrade Oracle ASM 11g 11.2 and later without shutting down an Oracle RAC database by performing a rolling upgrade either of individual nodes or of a set of nodes in the cluster.
#oratidbit Oracle Data Pump in #db19c has a new transform parameter OMIT_ENCRYPTION_CLAUSE that causes Data Pump to suppress any encryption clauses associated with objects using encrypted columns.
#OraTidbit #DB19c For Enterprise and Standard editions of Oracle database, if you are not licensed for Oracle Multitenant, then you may have up to 3 PDBs in a given container database at any time.
#oratidbit Using Fleet Patching and Provisioning to patch Oracle Restart automates and standardizes the processes that are implemented in Oracle RAC database installations. It also reduces operational demands and risks, especially for large numbers of Oracle Restart deployments.
#oratidbit DBA_AUTO_INDEX_CONFIG displays the current configuration parameter settings for automatic indexing in #db19c. Set automatic indexing configuration parameters by using the DBMS_AUTO_INDEX.CONFIGURE procedure.
#OraTidbit #DB19c In Oracle Database 19c, you can create a duplicate of an Oracle Database by using the createDuplicateDB command of Database Configuration Assistant (DBCA) in silent mode.
#oratidbit Enable deferred insert (#db19c feature) for a table by using the MEMOPTIMIZE FOR WRITE clause in ALTER TABLE or CREATE TABLE. Initiate deferred insert using the /*+ MEMOPTIMIZE_WRITE */ hint in the INSERT statement.
#OraTidbit #OrclDB Global Data Services is a highly effective solution for automatic workload management across a set of replicated databases. Data Guard, GoldenGate, or any replication technology, can be used to sync the databases. Requires the Oracle Active Data Guard license.
#OraTidbit The I/O calibration feature of #OrclDB is using the DBMS_RESOURCE_MANAGER.CALIBRATE_IO procedure- issues random I/O intensive read-only I/Os to the database files to determine the maximum IOPS and MBPS that can be sustained by the storage subsystem.
#oratidbit #OracleRAC Starting with Oracle Grid Infrastructure 19c, the Grid Infrastructure Management Repository (GIMR) is optional for new installations of Oracle Standalone Cluster. Reduces functionality in CHAG, CHACTL, TFA.
#OraTidbit Starting with Oracle Database Release 19c, invalidated PL/SQL objects run on Active Data Guard standby database can be automatically recompiled by setting the ADG_REDIRECT_DML initialization parameter to TRUE.
#OraTidbit #DB19c Real-Time Statistics feature is when a DML operation is currently modifying a table, Oracle Database dynamically computes values for the most essential statistics. The NO_GATHER_OPTIMIZER_STATISTICS hint prevents the collection of real-time statistics.