--Oracle 8i
SQL> select NAME,CLASS,SQL_FEATURE from v$sql_hint where VERSION LIKE '8%';
88 rows selected.
--Oracle 9i
SQL> select NAME,CLASS,SQL_FEATURE from v$sql_hint where VERSION LIKE '9%';
NAME CLASS SQL_FEATURE
---------------------------------------- ---------------------------------------- ------------------------------
REF_CASCADE_CURSOR REF_CASCADE_CURSOR QKSFM_CBO
NO_REF_CASCADE REF_CASCADE_CURSOR QKSFM_CBO
FORCE_XML_QUERY_REWRITE FORCE_XML_QUERY_REWRITE QKSFM_XML_REWRITE
NO_XML_QUERY_REWRITE FORCE_XML_QUERY_REWRITE QKSFM_XML_REWRITE
IGNORE_WHERE_CLAUSE IGNORE_WHERE_CLAUSE QKSFM_ALL
SYS_DL_CURSOR SYS_DL_CURSOR QKSFM_CBO
SQLLDR SQLLDR QKSFM_CBO
DML_UPDATE DML_UPDATE QKSFM_CBO
SKIP_EXT_OPTIMIZER SKIP_EXT_OPTIMIZER QKSFM_CBO
CPU_COSTING CPU_COSTING QKSFM_CPU_COSTING
NO_CPU_COSTING CPU_COSTING QKSFM_CPU_COSTING
NO_PUSH_SUBQ PUSH_SUBQ QKSFM_TRANSFORMATION
ANTIJOIN ANTIJOIN QKSFM_TRANSFORMATION
SEMIJOIN SEMIJOIN QKSFM_TRANSFORMATION
NO_SEMIJOIN SEMIJOIN QKSFM_TRANSFORMATION
LOCAL_INDEXES LOCAL_INDEXES QKSFM_CBO
HWM_BROKERED HWM_BROKERED QKSFM_CBO
OVERFLOW_NOMOVE OVERFLOW_NOMOVE QKSFM_CBO
SYS_RID_ORDER SYS_RID_ORDER QKSFM_ALL
BYPASS_RECURSIVE_CHECK BYPASS_RECURSIVE_CHECK QKSFM_ALL
MATERIALIZE INLINE QKSFM_TRANSFORMATION
INLINE INLINE QKSFM_TRANSFORMATION
NO_QKN_BUFF NO_QKN_BUFF QKSFM_CBO
CURSOR_SHARING_EXACT CURSOR_SHARING_EXACT QKSFM_CBO
MV_MERGE MV_MERGE QKSFM_TRANSFORMATION
EXPAND_GSET_TO_UNION EXPAND_GSET_TO_UNION QKSFM_TRANSFORMATION
NO_EXPAND_GSET_TO_UNION EXPAND_GSET_TO_UNION QKSFM_TRANSFORMATION
NO_PRUNE_GSETS NO_PRUNE_GSETS QKSFM_TRANSFORMATION
USE_TTT_FOR_GSETS USE_TTT_FOR_GSETS QKSFM_TRANSFORMATION
GBY_CONC_ROLLUP GBY_CONC_ROLLUP QKSFM_TRANSFORMATION
DYNAMIC_SAMPLING DYNAMIC_SAMPLING QKSFM_DYNAMIC_SAMPLING
CARDINALITY CARDINALITY QKSFM_STATS
PQ_MAP PQ_MAP QKSFM_PQ_MAP
PQ_NOMAP PQ_MAP QKSFM_PQ_MAP
INDEX_SS ACCESS QKSFM_INDEX_SS
INDEX_SS_ASC ACCESS QKSFM_INDEX_SS_ASC
INDEX_SS_DESC ACCESS QKSFM_INDEX_SS_DESC
INDEX_RRS ACCESS QKSFM_CBO
DYNAMIC_SAMPLING_EST_CDN DYNAMIC_SAMPLING_EST_CDN QKSFM_DYNAMIC_SAMPLING_EST_CDN
39 rows selected.
--Oracle 10gR1
SQL> select NAME,CLASS,SQL_FEATURE from v$sql_hint where VERSION LIKE '10.1%';
NAME CLASS SQL_FEATURE
---------------------------------------- ---------------------------------------- ------------------------------
NESTED_TABLE_FAST_INSERT NESTED_TABLE_FAST_INSERT QKSFM_ALL
OPAQUE_TRANSFORM OPAQUE_TRANSFORM QKSFM_TRANSFORMATION
OPAQUE_XCANONICAL OPAQUE_XCANONICAL QKSFM_TRANSFORMATION
VECTOR_READ VECTOR_READ QKSFM_CBO
VECTOR_READ_TRACE VECTOR_READ_TRACE QKSFM_CBO
STREAMS STREAMS QKSFM_CBO
USE_WEAK_NAME_RESL USE_WEAK_NAME_RESL QKSFM_ALL
NO_QUERY_TRANSFORMATION NO_QUERY_TRANSFORMATION QKSFM_TRANSFORMATION
OPTIMIZER_FEATURES_ENABLE OPTIMIZER_FEATURES_ENABLE QKSFM_ALL
FBTSCAN FBTSCAN QKSFM_CBO
GATHER_PLAN_STATISTICS GATHER_PLAN_STATISTICS QKSFM_GATHER_PLAN_STATISTICS
IGNORE_OPTIM_EMBEDDED_HINTS IGNORE_OPTIM_EMBEDDED_HINTS QKSFM_ALL
TABLE_STATS TABLE_STATS QKSFM_STATS
INDEX_STATS TABLE_STATS QKSFM_STATS
COLUMN_STATS TABLE_STATS QKSFM_STATS
NO_STAR_TRANSFORMATION STAR_TRANSFORMATION QKSFM_STAR_TRANS
NO_MULTIMV_REWRITE REWRITE QKSFM_ALL
NO_BASETABLE_MULTIMV_REWRITE REWRITE QKSFM_ALL
REWRITE_OR_ERROR REWRITE QKSFM_TRANSFORMATION
SET_TO_JOIN SET_TO_JOIN QKSFM_SET_TO_JOIN
NO_SET_TO_JOIN SET_TO_JOIN QKSFM_SET_TO_JOIN
MODEL_MIN_ANALYSIS MODEL_MIN_ANALYSIS QKSFM_TRANSFORMATION
MODEL_NO_ANALYSIS MODEL_MIN_ANALYSIS QKSFM_ALL
MODEL_PUSH_REF MODEL_PUSH_REF QKSFM_TRANSFORMATION
NO_MODEL_PUSH_REF MODEL_PUSH_REF QKSFM_ALL
MODEL_DONTVERIFY_UNIQUENESS MODEL_DONTVERIFY_UNIQUENESS QKSFM_TRANSFORMATION
QB_NAME QB_NAME QKSFM_ALL
NO_PARALLEL SHARED QKSFM_CBO
NO_USE_MERGE NO_USE_MERGE QKSFM_USE_MERGE
NO_USE_HASH NO_USE_HASH QKSFM_USE_HASH
USE_NL_WITH_INDEX USE_NL_WITH_INDEX QKSFM_USE_NL_WITH_INDEX
NO_USE_NL NO_USE_NL QKSFM_USE_NL
NO_INDEX_FFS NO_INDEX_FFS QKSFM_INDEX_FFS
NO_INDEX_SS NO_INDEX_SS QKSFM_INDEX_SS
NO_SWAP_JOIN_INPUTS SWAP_JOIN_INPUTS QKSFM_CBO
OPT_ESTIMATE OPT_ESTIMATE QKSFM_OPT_ESTIMATE
X_DYN_PRUNE X_DYN_PRUNE QKSFM_CBO
RESTRICT_ALL_REF_CONS RESTRICT_ALL_REF_CONS QKSFM_ALL
SKIP_UNQ_UNUSABLE_IDX SKIP_UNQ_UNUSABLE_IDX QKSFM_CBO
TRACING TRACING QKSFM_EXECUTION
NO_PARTIAL_COMMIT NO_PARTIAL_COMMIT QKSFM_CBO
INCLUDE_VERSION INCLUDE_VERSION QKSFM_ALL
42 rows selected.
--Oracle 10gR2
SQL> select NAME,CLASS,SQL_FEATURE,VERSION from v$sql_hint where VERSION LIKE '10.2%' order by 4;
38 rows selected.
--Oracle 11gR1
SQL> select NAME,CLASS,SQL_FEATURE,VERSION from v$sql_hint where VERSION LIKE '11.1%' order by 4;
NAME CLASS SQL_FEATURE VERSION
--------------------------------- -------------------------- ----------------------------- ----------
DB_VERSION DB_VERSION QKSFM_ALL 11.1.0.6
OUTER_JOIN_TO_INNER OUTER_JOIN_TO_INNER QKSFM_OUTER_JOIN_TO_INNER 11.1.0.6
NO_USE_INVISIBLE_INDEXES USE_INVISIBLE_INDEXES QKSFM_INDEX 11.1.0.6
USE_INVISIBLE_INDEXES USE_INVISIBLE_INDEXES QKSFM_INDEX 11.1.0.6
NO_MONITOR MONITOR QKSFM_ALL 11.1.0.6
MONITOR MONITOR QKSFM_ALL 11.1.0.6
NO_OUTER_JOIN_TO_INNER OUTER_JOIN_TO_INNER QKSFM_OUTER_JOIN_TO_INNER 11.1.0.6
USE_MERGE_CARTESIAN JOIN QKSFM_USE_MERGE_CARTESIAN 11.1.0.6
SUBQUERY_PRUNING SUBQUERY_PRUNING QKSFM_CBO 11.1.0.6
NO_SUBQUERY_PRUNING SUBQUERY_PRUNING QKSFM_CBO 11.1.0.6
DOMAIN_INDEX_FILTER DOMAIN_INDEX_FILTER QKSFM_CBO 11.1.0.6
NO_DOMAIN_INDEX_FILTER NO_DOMAIN_INDEX_FILTER QKSFM_CBO 11.1.0.6
RESULT_CACHE RESULT_CACHE QKSFM_EXECUTION 11.1.0.6
NO_RESULT_CACHE RESULT_CACHE QKSFM_EXECUTION 11.1.0.6
XML_DML_RWT_STMT XML_DML_RWT_STMT QKSFM_XML_REWRITE 11.1.0.6
PLACE_GROUP_BY PLACE_GROUP_BY QKSFM_PLACE_GROUP_BY 11.1.0.6
NO_PLACE_GROUP_BY PLACE_GROUP_BY QKSFM_PLACE_GROUP_BY 11.1.0.6
INDEX_RS_ASC ACCESS QKSFM_INDEX_RS_ASC 11.1.0.6
INDEX_RS_DESC ACCESS QKSFM_INDEX_RS_DESC 11.1.0.6
NO_LOAD NO_LOAD QKSFM_EXECUTION 11.1.0.6
CHECK_ACL_REWRITE CHECK_ACL_REWRITE QKSFM_CHECK_ACL_REWRITE 11.1.0.6
NO_CHECK_ACL_REWRITE NO_CHECK_ACL_REWRITE QKSFM_CHECK_ACL_REWRITE 11.1.0.6
XMLINDEX_REWRITE XMLINDEX_REWRITE QKSFM_XMLINDEX_REWRITE 11.1.0.6
NO_XMLINDEX_REWRITE XMLINDEX_REWRITE QKSFM_XMLINDEX_REWRITE 11.1.0.6
XMLINDEX_REWRITE_IN_SELECT XMLINDEX_REWRITE QKSFM_XMLINDEX_REWRITE 11.1.0.6
NO_XMLINDEX_REWRITE_IN_SELECT XMLINDEX_REWRITE QKSFM_XMLINDEX_REWRITE 11.1.0.6
COST_XML_QUERY_REWRITE COST_XML_QUERY_REWRITE QKSFM_COST_XML_QUERY_REWRITE 11.1.0.6
NO_COST_XML_QUERY_REWRITE NO_COST_XML_QUERY_REWRITE QKSFM_COST_XML_QUERY_REWRITE 11.1.0.6
NLJ_PREFETCH ACCESS QKSFM_EXECUTION 11.1.0.6
NO_NLJ_PREFETCH ACCESS QKSFM_EXECUTION 11.1.0.6
NLJ_BATCHING ACCESS QKSFM_EXECUTION 11.1.0.6
NO_NLJ_BATCHING ACCESS QKSFM_EXECUTION 11.1.0.6
NO_BIND_AWARE BIND_AWARE QKSFM_CURSOR_SHARING 11.1.0.7
BIND_AWARE BIND_AWARE QKSFM_CURSOR_SHARING 11.1.0.7
CHANGE_DUPKEY_ERROR_INDEX CHANGE_DUPKEY_ERROR_INDEX QKSFM_DML 11.1.0.7
IGNORE_ROW_ON_DUPKEY_INDEX IGNORE_ROW_ON_DUPKEY_INDEX QKSFM_DML 11.1.0.7
RETRY_ON_ROW_CHANGE RETRY_ON_ROW_CHANGE QKSFM_DML 11.1.0.7
37 rows selected.
--Oracle11gR2
SQL> select NAME,CLASS,SQL_FEATURE,VERSION from v$sql_hint where VERSION LIKE '11.2%' order by 4;
NAME CLASS SQL_FEATURE VERSION
--------------------------------- -------------------------- ----------------------------- ----------
COALESCE_SQ COALESCE_SQ QKSFM_COALESCE_SQ 11.2.0.1
NO_COALESCE_SQ COALESCE_SQ QKSFM_COALESCE_SQ 11.2.0.1
NO_SUBSTRB_PAD NO_SUBSTRB_PAD QKSFM_EXECUTION 11.2.0.1
NO_PLACE_DISTINCT PLACE_DISTINCT QKSFM_DIST_PLCMT 11.2.0.1
PLACE_DISTINCT PLACE_DISTINCT QKSFM_DIST_PLCMT 11.2.0.1
APPEND_VALUES APPEND_VALUES QKSFM_CBO 11.2.0.1
NO_FACTORIZE_JOIN FACTORIZE_JOIN QKSFM_JOINFAC 11.2.0.1
FACTORIZE_JOIN FACTORIZE_JOIN QKSFM_JOINFAC 11.2.0.1
XMLINDEX_SEL_IDX_TBL XMLINDEX_SEL_IDX_TBL QKSFM_ALL 11.2.0.1
NO_EXPAND_TABLE EXPAND_TABLE QKSFM_TABLE_EXPANSION 11.2.0.1
EXPAND_TABLE EXPAND_TABLE QKSFM_TABLE_EXPANSION 11.2.0.1
NO_STATEMENT_QUEUING STATEMENT_QUEUING QKSFM_PARALLEL 11.2.0.1
STATEMENT_QUEUING STATEMENT_QUEUING QKSFM_PARALLEL 11.2.0.1
NO_DST_UPGRADE_INSERT_CONV DST_UPGRADE_INSERT_CONV QKSFM_ALL 11.2.0.1
DST_UPGRADE_INSERT_CONV DST_UPGRADE_INSERT_CONV QKSFM_ALL 11.2.0.1
TRANSFORM_DISTINCT_AGG TRANSFORM_DISTINCT_AGG QKSFM_TRANSFORMATION 11.2.0.1
NO_TRANSFORM_DISTINCT_AGG TRANSFORM_DISTINCT_AGG QKSFM_TRANSFORMATION 11.2.0.1
CONNECT_BY_ELIM_DUPS CONNECT_BY_ELIM_DUPS QKSFM_ALL 11.2.0.1
NO_CONNECT_BY_ELIM_DUPS CONNECT_BY_ELIM_DUPS QKSFM_ALL 11.2.0.1
XDB_FASTPATH_INSERT XDB_FASTPATH_INSERT QKSFM_ALL 11.2.0.2
USE_HASH_GBY_FOR_PUSHDOWN USE_HASH_GBY_FOR_PUSHDOWN QKSFM_ALL 11.2.0.2
NO_USE_HASH_GBY_FOR_PUSHDOWN USE_HASH_GBY_FOR_PUSHDOWN QKSFM_ALL 11.2.0.2
NO_XDB_FASTPATH_INSERT XDB_FASTPATH_INSERT QKSFM_ALL 11.2.0.2
TABLE_LOOKUP_BY_NL TABLE_LOOKUP_BY_NL QKSFM_TABLE_LOOKUP_BY_NL 11.2.0.2
NO_TABLE_LOOKUP_BY_NL TABLE_LOOKUP_BY_NL QKSFM_TABLE_LOOKUP_BY_NL 11.2.0.2
SEMI_TO_INNER SEMI_TO_INNER QKSFM_CBO 11.2.0.3
NO_SEMI_TO_INNER NO_SEMI_TO_INNER QKSFM_CBO 11.2.0.3
NO_OUTER_JOIN_TO_ANTI OUTER_JOIN_TO_ANTI QKSFM_CBO 11.2.0.3
FULL_OUTER_JOIN_TO_OUTER FULL_OUTER_JOIN_TO_OUTER QKSFM_CBO 11.2.0.3
NO_FULL_OUTER_JOIN_TO_OUTER FULL_OUTER_JOIN_TO_OUTER QKSFM_CBO 11.2.0.3
OUTER_JOIN_TO_ANTI OUTER_JOIN_TO_ANTI QKSFM_CBO 11.2.0.3
NO_CLUSTER_BY_ROWID CLUSTER_BY_ROWID QKSFM_CLUSTER_BY_ROWID 11.2.0.4
CLUSTER_BY_ROWID CLUSTER_BY_ROWID QKSFM_CLUSTER_BY_ROWID 11.2.0.4
33 rows selected.