Tips & TricksPC SOFT
News, informations, examples, tips & tricks about WINDEV, WEBDEV and WINDEV MOBILE
HyperFileSQL DataBase – Query optimization
Posted by:
LST Team
12:00 PM Tuesday
Jul. 07, 2009

Using the HyperFileSQL logs, you can figure out which queries are used the most and which queries take a long time to run. These queries should be optimized.

To optimize a query, WinDev offers a query optimizer, accessible via the "Project .. Performances and enhancements .. Optimize the project queries" menu option.

The query optimizer lets you see in just a few click whether you need to add key items to the various data files in order to optimize the queries' execution.
Simply select the queries to check and click the "Run the performance analysis" button. WinDev displays the keys to add to the data files to optimize the queries then.
If the optimizer detected some missing keys, simply click the "Apply all modifications" button and WinDev will automatically create the needed keys.
Then, simply regenerate the analysis with the automatic data file modification option.

Note:
When a query is created, WinDev automatically performs this performance analysis. If an optimization is possible, an AAD (Aided Application Development) suggestion will be displayed in the query editor.

Comment this post
Comments
Add a comment
Name:
Email address:
Comments:

Code:
Remember me
Your IP address (not published): 38.107.191.118
The Blogs
Tips & Tricks
Technology and Market
Recent posts
SCM – Source Code Manager – Branch Management
04:00 PM | 08 Nov. 2009
Tunning & Debugging – Traces
10:35 AM | 25 Aug. 2009 | 1 comment
Tunning & Debugging – Traces
04:00 PM | 20 Aug. 2009
HyperFileSQL DataBase – Frame compression
12:00 PM | 30 Jul. 2009 | 1 comment
HyperFileSQL DataBase – Using stored procedures
03:01 PM | 20 Jul. 2009
Popular posts
Tunning & Debugging – Traces
10:35 AM | 25 Aug. 2009 | 1 comment
HyperFileSQL DataBase – Frame compression
12:00 PM | 30 Jul. 2009 | 1 comment
RSS feeds
Tips & Tricks
Technology and Market
Archives
November 2009 (1)
August 2009 (2)
July 2009 (4)
June 2009 (1)