I have the following query:
SELECT /*+ STAR_TRANSFORMATION */
f_exp_det.adjust_flag,
f_exp_det.deal_id,
f_exp_det.approved_approach_id,
f_exp_det.asset_class_id,
d_asset_class.exposure_type,
d_asset_class.exposure_type_desc,
d_asset_class.exposure_sub_type,
d_asset_class.exposure_sub_type_desc,
d_asset_class.b1_fsa_reg_exp_type,
d_asset_class.b2_std_fsa_reg_exp_type,
d_asset_class.aclm_product_type
FROM d_asset_class,
f_exp_det
WHERE f_exp_det.as_at_date = TO_DATE ('01/30/2009', 'MM/DD/YYYY')
AND f_exp_det.adjust_flag = 'U'
AND f_exp_det.asset_class_id = d_asset_class.asset_class_id
All tables have recently been analyzed, after data has been loaded.
Star Transformations have been enabled.
Bitmap indexes are present on the table F_EXP_DET.
F_EXP_DET is partitioned on date, and sub-partitioned on adjust_flag.
Explain plan is:
Operation Object Name Rows Bytes Cost
SELECT STATEMENT Optimizer Mode=ALL_ROWS 2 M 62591
HASH JOIN 2 M 461 M 62591
TABLE ACCESS FULL RRA_DIM_OWNER.D_ASSET_CLASS 106 K 13 M 501
PARTITION RANGE SINGLE 2 M 115 M 53985
PARTITION LIST SINGLE 2 M 115 M 53985
TABLE ACCESS FULL RRA_FACT_OWNER.F_EXP_DET 2 M 115 M 53985
Can anyone help explain why the bitmap indexes are not used in a Star Transformation?
Many thanks.
SELECT /*+ STAR_TRANSFORMATION */
f_exp_det.adjust_flag,
f_exp_det.deal_id,
f_exp_det.approved_approach_id,
f_exp_det.asset_class_id,
d_asset_class.exposure_type,
d_asset_class.exposure_type_desc,
d_asset_class.exposure_sub_type,
d_asset_class.exposure_sub_type_desc,
d_asset_class.b1_fsa_reg_exp_type,
d_asset_class.b2_std_fsa_reg_exp_type,
d_asset_class.aclm_product_type
FROM d_asset_class,
f_exp_det
WHERE f_exp_det.as_at_date = TO_DATE ('01/30/2009', 'MM/DD/YYYY')
AND f_exp_det.adjust_flag = 'U'
AND f_exp_det.asset_class_id = d_asset_class.asset_class_id
All tables have recently been analyzed, after data has been loaded.
Star Transformations have been enabled.
Bitmap indexes are present on the table F_EXP_DET.
F_EXP_DET is partitioned on date, and sub-partitioned on adjust_flag.
Explain plan is:
Operation Object Name Rows Bytes Cost
SELECT STATEMENT Optimizer Mode=ALL_ROWS 2 M 62591
HASH JOIN 2 M 461 M 62591
TABLE ACCESS FULL RRA_DIM_OWNER.D_ASSET_CLASS 106 K 13 M 501
PARTITION RANGE SINGLE 2 M 115 M 53985
PARTITION LIST SINGLE 2 M 115 M 53985
TABLE ACCESS FULL RRA_FACT_OWNER.F_EXP_DET 2 M 115 M 53985
Can anyone help explain why the bitmap indexes are not used in a Star Transformation?
Many thanks.