0

ファクト テーブルとディメンション間の BJI を作成する場合

CREATE BITMAP INDEX IDX_BITJ ON fact(dimension.city) 
FROM fact, dimension 
WHERE fact.id_customer = dimension.id_customer;

そしてクエリ:

select sum(a.count) from fact a, dimension b 
where a.id_customer = b.id_customer and b.city = 'London';

説明計画では、常にテーブルでフルスキャンが使用されます...誰かが理由を説明できますか? ビットマップ インデックスを使用するべきではありませんか?

4

0 に答える 0