Cardinality Hint
Hi Experts,
Can any of you please tell me when to use cardinality hint in sql code. As far as I know " The cardinality hint is used in two general cases, complex joins and dynamically created tables like global temporary tables" - but I think the hint can be used for other reason as well.
An ex-employee has wriitten the following code - but I am not sure what the cardinality hint is doing here
SELECT /*+ cardinality (df 100) */ c.c_id,
c.number,
mcc.code,
df.trans_date
FROM dp_enquiries de,
dp_files df,
dp_cases c,
mag_committees mcc
Can you please explain?