Dynamic Statistics in Oracle Database 12c Release 1 (12.1)
This article describes the changes made to dynamic sampling in Oracle Database 12c Release 1 (12.1).
oracle 12cconfigurationintermediate
by OracleDba
14 views
This article describes the changes made to dynamic sampling in Oracle Database 12c Release 1 (12.1).
1234567891011
-- System level. Don't do this!
ALTER SYSTEM SET OPTIMIZER_DYNAMIC_SAMPLING=11;
-- Session level.
ALTER SESSION SET OPTIMIZER_DYNAMIC_SAMPLING=11;
-- Statement level.
SELECT /*+ dynamic_sampling(emp 11) */
empno, ename, job, sal
FROM emp
WHERE deptno = 30;Please to add comments
No comments yet. Be the first to comment!