![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Statistically thats about as fair a test as you can make for this requirement. I am not sure what statistics you want to run at the end of all this to compare them, but a simple t-test for differences between the runtimes would be a good start, as well as some standard descriptive statistics. Even numbers that might look like a big deal dont necessarily mean a statistically valid difference between two sets of results. Obviously if one query takes 1 second to run for each iteration of the test and the other takes a minute for each iteration you have a significant difference, but often times the numbers are much closer and sometimes even backwards to what you think. |
#12
| |||
| |||
|
|
How do I clear down JET's cache? I'm use ADO to run anmd return results - is there a command I can use between calling Queries? |
#13
| |||
| |||
|
|
How do I clear down JET's cache? I'm use ADO to run anmd return results - is there a command I can use between calling Queries? |
#14
| |||
| |||
|
|
Yitzak <terrysha... (AT) yahoo (DOT) co.uk> wrote innews:7dd5bc54-74c5-424b-807e-d8e73104334f (AT) p12g2000vbo (DOT) googlegroups.co m: How do I clear down JET's cache? I'm use ADO to run anmd return results - is there a command I can use between calling Queries? Not with ADO. You can do it with DAO, but I'd have to look it up. I think it's the DBEngine.Idle commands, but there I only see a cache refresh action, no flush. So maybe it's not possible -- somebody else chime in here? -- David W. Fenton * * * * * * * * *http://www.dfenton.com/ contact via website only * *http://www.dfenton.com/DFA/ |
#15
| |||
| |||
|
|
On Feb 9, 2:39*am, "David-W-Fenton" <NoEm... (AT) SeeSignature (DOT) invalid wrote: Yitzak <terrysha... (AT) yahoo (DOT) co.uk> wrote innews:7dd5bc54-74c5-424b-807e-d8e 73104334f (AT) p12g2000vbo (DOT) googlegroups.co m: How do I clear down JET's cache? I'm use ADO to run anmd return results - is there a command I can use between calling Queries? Not with ADO. You can do it with DAO, but I'd have to look it up. I think it's the DBEngine.Idle commands, but there I only see a cache refresh action, no flush. So maybe it's not possible -- somebody else chime in here? The end use program uses ADODB lib to talk to access. I have no prob testing rel. speeds using DAO. I want to find rel speeds, absolute speeds are not important to me. Just want these queries which are executed often to run as quickly as possible. |
|
When trying to speed them up, they got slower in some cases. How can I see query plans? That would be helpfull. |
#16
| |||
| |||
|
|
Yitzak <terrysha... (AT) yahoo (DOT) co.uk> wrote innews:6579a5ee-075b-4184-a730-a92f5aad1576 (AT) m27g2000prj (DOT) googlegroups.co m: On Feb 9, 2:39*am, "David-W-Fenton" <NoEm... (AT) SeeSignature (DOT) invalid wrote: Yitzak <terrysha... (AT) yahoo (DOT) co.uk> wrote innews:7dd5bc54-74c5-424b-807e-d8e 731043... (AT) p12g2000vbo (DOT) googlegroups.co m: How do I clear down JET's cache? I'm use ADO to run anmd return results - is there a command I can use between calling Queries? Not with ADO. You can do it with DAO, but I'd have to look it up. I think it's the DBEngine.Idle commands, but there I only see a cache refresh action, no flush. So maybe it's not possible -- somebody else chime in here? The end use program uses ADODB lib to talk to access. I have no prob testing rel. speeds using DAO. I want to find rel speeds, absolute speeds are not important to me. Just want these queries which are executed often to run as quickly as possible. What kind of queries are you comparing that you need benchmarking? Wouldn't SHOWPLAN give you what you need? When trying to speed them up, they got slower in some cases. How can I see query plans? That would be helpfull. Google JET SHOWPLAN. Keep in mind that while the query optimizer does optimize subqueries, SHOWPLAN doesn't give you that information (because it was never implemented), so if you're trying to test SQL with subqueries, you won't necessarily be able to tell what's going on. -- David W. Fenton * * * * * * * * *http://www.dfenton.com/ contact via website only * *http://www.dfenton.com/DFA/ |
#17
| |||
| |||
|
|
I guess Its going take me a while to understand JET SHOWPLAN if its anyhting like SQL Server's showplan. |
![]() |
| Thread Tools | |
| Display Modes | |
| |