Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SELECT-OPTIONS 'EQ' vs. 'BT' performance issue

Former Member
0 Likes
1,403

Hi Experts,

I have a query which uses select-options feature for a date range...

If we give a single date, the report runs instantly but if we use the date range it takes forever to get the reports even though both the low and high dates are the same....

We had informix earlier and it ran smoothly but now that we are on Oracle we are seeing this issue....

I am just trying to understand the performance issues with using the 'BT' clause compared to the 'EQ' clause...

Any inputs are appreaciated...

Thanks

1 REPLY 1
Read only

Former Member
0 Likes
530

Run the SELECT both ways (with high and low date the same for the second one), and in ST05, do a performance trace on each. Then use the 'explain' function to see if both are using the index.

Rob