Can you help me understand why the queries below perform so differently?
This query returned in 1 second:
select count(*) from oeai3.v_dw_mbr_vers where mbr_key<200000000;
row count = 8,951,890
This query failed with a spool space error:
select count(*) from oeai3.v_dw_mbr_vers where mbr_key>200000000;
This query also failed with a spool space error:
select count(*) from oeai3.v_dw_mbr_vers;
Thanks.
↧