This feature is only available on Exadata and Exadata Cloud Service.
Oracle Database 19c introduces real-time statistics, which extends online statistics gathering to also include conventional DML statements. Statistics can now be collected 'on-the-fly' during conventional DML operation
Oracle introduced new parameters
"_optimizer_gather_stats_on_conventional_dml" and "_optimizer_use_stats_on_conventional_dml" which are true by default
"_optimizer_stats_on_conventional_dml_sample_rate" at 100%
By default the "_optimizer_gather_stats_on_conventional_dml" is true so the real-time stats automatically kicks off. Can set these parameters to "FALSE" to disable the same.
Validate spfile parameters for Primary and Standby
Schema Only Accounts
It's a common practice to restrict the direct access to a schema owner, preventing people from accessing it using shared credentials. Instead, they access it to do schema changes via proxy connections, allowing you to audit which users performed which tasks. (9i onwards)
NO AUTHENTICATION clause help to connect user even schema owner get locked.
Automatic replication of restore points from Primary to standby
Restore point is replicated through the redo (MRP process) so primary should be in open mode
DML Operations on Active Data Guard Standby Databases
we need to connect using username/password." / as sysdba" will not work
Inline External Table - inline_ext_tab (Zero DDL)
There is no need for an external table to be explicitly created.
"_optimizer_gather_stats_on_conventional_dml" and "_optimizer_use_stats_on_conventional_dml" which are true by default
"_optimizer_stats_on_conventional_dml_sample_rate" at 100%
By default the "_optimizer_gather_stats_on_conventional_dml" is true so the real-time stats automatically kicks off. Can set these parameters to "FALSE" to disable the same.
USER_TABLES -> NUM_ROWS (no changes)
USER_TAB_STATISTICS -> notes column -> STATS_ON_CONVENTIONAL_DML
USER_TAB_COL_STATISTICS -> notes column -> STATS_ON_CONVENTIONAL_DML
Direct Path INSERT ... SELECT -> No effect
Delete -> No effect
Gathering statistics for a table will wipe out the real-time statistic
High-Frequency Automatic Optimizer Statistics
Schema Only Accounts
It's a common practice to restrict the direct access to a schema owner, preventing people from accessing it using shared credentials. Instead, they access it to do schema changes via proxy connections, allowing you to audit which users performed which tasks. (9i onwards)
NO AUTHENTICATION clause help to connect user even schema owner get locked.
Automatic replication of restore points from Primary to standby
Restore point is replicated through the redo (MRP process) so primary should be in open mode
Enable dml redirect on Primary and Standby , run this on both.
alter system set adg_redirect_dml=true scope=both;
In below example, MY.txt is an external file which has 3 fields.
No comments:
Post a Comment