- Local time
- Today, 15:55
- Joined
- Feb 19, 2002
- Messages
- 45,333
Whew, that makes sense. I thought since the record count value was there and editable, I could set it. I agree, the number of rows has little bearing on the time. I just couldn't make sense of the counts and why I kept blowing up the db with so many rows.
The comparison between 1 and 3 is relevant. The other 4 are Access methods which always take longer and can't really be compared to #1. Only #3 can be compared to #1.
All we were talking about here is how much overhead do you get by having to recreate the execution plan each time the query runs rather than being able to use the saved plan using a querydef and since the time the calculation takes is small, you need to have a high loop count. I'm going to change the select query to use the record count control so I can test the effect of the loop without blowing out the size of the databases with 10,000 rows each time.
Thanks
The comparison between 1 and 3 is relevant. The other 4 are Access methods which always take longer and can't really be compared to #1. Only #3 can be compared to #1.
All we were talking about here is how much overhead do you get by having to recreate the execution plan each time the query runs rather than being able to use the saved plan using a querydef and since the time the calculation takes is small, you need to have a high loop count. I'm going to change the select query to use the record count control so I can test the effect of the loop without blowing out the size of the databases with 10,000 rows each time.
Thanks