Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Speed up the forum (access)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Speed up the forum (access)

 Post Reply Post Reply
Author
hans3702 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 March 2003
Location: Netherlands
Status: Offline
Points: 141
Post Options Post Options   Thanks (0) Thanks(0)   Quote hans3702 Quote  Post ReplyReply Direct Link To This Post Topic: Speed up the forum (access)
    Posted: 27 April 2003 at 4:55am

As a addition to this topic: hide what you can’t use! and Fastest access driver? I found an interesting article on www.15seconds.com.

Do Stored Queries Increase the Speed of Access Queries?

Conclusion

There are two main conclusions that can be drawn from these results.

  • First, if you are executing the same dynamic queries every time in your script (i.e. without any variables), significant performance gains (in this case, 36%) can be achieved simply by switching to Stored Queries. With this comes the aforementioned fringe benefit of increased ease of query administration. For queries which do contain variables, there are still performance gains to be had, but they are less significant (8% for the query tested).

  • Second (and contrary to my own expectations), using the Command object's Parameters collection in preference to simply appending the parameter values to the end of the stored query SQL statement yields only a minor performance increase. In practice it may be worth completely avoiding this collection, especially since it is since the extra complication that it adds to your scripts (i.e. creating parameter objects, defining the data type, setting the value, and then adding the parameter object to the collection) may not


Edited by hans3702
Back to Top
hans3702 View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 March 2003
Location: Netherlands
Status: Offline
Points: 141
Post Options Post Options   Thanks (0) Thanks(0)   Quote hans3702 Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2003 at 9:54am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.