Please note: If this FAQ s empty you must choose English language from the drop-down-box below. Only English content is available as of now!
Navigation
- FAQ Home
- All categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Schema Synchronization
- MySQL DATA synchronization
- Notification Services
- Importing external data
- Backup/Restore
- SQLyog Job Agent (SJA)

- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Instant Response
- Sitemap
1 Users online :: 1 Guests and 0 Registered
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (128706 views)
- Error no. 2003: Can't connect... (58524 views)
- Error no. 1251: "Client does not support authentication..." (50543 views)
- Error no. 1045: "Connection denied..." (46252 views)
- SQLyog Version History (45078 views)
- Error No. 2005: Unknown MySQL server host... (33381 views)
- What is HTTP-tunneling? (32472 views)
- What Is SSH and SSH-tunneling? (28003 views)
- Why are Stored Procedures not created when I import ... (27059 views)
- Do I need PHP to use SQLyog with MySQL? ... (23937 views)
Latest FAQs 
- SQLyog Version History (2010-09-02 04:20)
- Do I need to replace the PHP tunneler file ... (2010-03-25 10:26)
- Data get truncated when importing a large CSV-file. (2010-03-18 12:30)
- SQLyog is a client for the MySQL server - ... (2009-09-11 07:48)
- Can I use SQLyog with the various SQL-modes available ... (2009-08-20 08:02)
Using the GUI
ID #1129
How shall I understand the 'query execution time' that SQLyog gives me?
SQLyog displays 'query execution time' for each query in three different places: The STATUS bar/line, the MESSAGES tab and the HISTORY tab.
Let us explain what they are and how they are used (note: This is as of SQLyog version 7.1)
To get this TIME information SQLyog makes use of three different TIMESTAMPs
1) First TIMESTAMP (T_1): this is collected when you click 'execute' and the query is sent to the server.
2) Second TIMESTAMP (T_2): After receiving it, the server queues it, executes it and returns a status flag (whether execution was successful or not). When SQLyog receives this status flag the second TIMESTAMP is collected.
3) Third TIMESTAMP (T_3): After receiving, formatting and printing those data to the screen the third TIMESTAMP is collected.
The 3 above timestamps are used for calculations:
* execution time: T_2 - T_1
* transfer time: T_3 - T_2
* total time: T_3 - T_1
In MESSAGES tab all three calculated times are displayed
In HISTORY tab only the calculated execution time is displayed
In proces line total time and execution time is displayed
Note that all those TIMESTAMPs are collected from the client system. There is generally no way for SQLyog to get the Server Time information. If you need that information and need it to be exact, you need to get it from Server logs. However with a reasonable fast connection the data calculated as described are pretty close. Also note that the transfer time displayed will contain the very small (mostly neglible) overhead caused by internal SQLyog processing.
(However Starting from version 5.0.37 MySQL supports 'query profiling' and it is in principle possible to get the information from the server. Currently you will need to execute the appropriate 'query profiling' SQL commands from the SQL editor. We may decide to provide GUI support for this at a later stage, but currently it is not supported).
Also there is a modification for HTTP-tunneled connections: With HTTP-tunnel note that only the total time displayed in all three places as the tunneller file is not able to collect timestamps from neither remote or local system. And it does not make sense in our opinion to include HTTP-related transfer overhead in the information displayed. As a consequence the time displayed in HISTORY for HTTP-tunnelled connections is the total time.
Tags: -
Related entries:
- Do I need PHP to use SQLyog with MySQL?
- SQLyog gives you the most options for connecting to MySQL
- Welcome to the Webyog FAQ
- Installation and upgrading
- Buying and Licensing SQLyog
Last update: 2008-09-19 14:34
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ