patrickdrd
Programmer
Hi guys!
I am issuing this query on a database table that has around 12 million rows:
SELECT zone_cd, sector_cd, agent_cd, terminal_nr, device_id, occured_dt, event_id
FROM machine_events
WHERE occured_dt BETWEEN TO_DATE ('14/01/2004 00:00:00', 'dd/mm/yyyy hh24:mi:ss')
AND TO_DATE ('14/01/2004 23:59:59', 'dd/mm/yyyy hh24:mi:ss')
and I have an index on all the select fields: zone_cd, sector_cd, agent_cd, terminal_nr, device_id, occured_dt, event_id
However, when I see the Explain Plan, I get a TABLE ACCESS FULL message?
How can this be corrected?
I am issuing this query on a database table that has around 12 million rows:
SELECT zone_cd, sector_cd, agent_cd, terminal_nr, device_id, occured_dt, event_id
FROM machine_events
WHERE occured_dt BETWEEN TO_DATE ('14/01/2004 00:00:00', 'dd/mm/yyyy hh24:mi:ss')
AND TO_DATE ('14/01/2004 23:59:59', 'dd/mm/yyyy hh24:mi:ss')
and I have an index on all the select fields: zone_cd, sector_cd, agent_cd, terminal_nr, device_id, occured_dt, event_id
However, when I see the Explain Plan, I get a TABLE ACCESS FULL message?
How can this be corrected?