WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Debug Queries

List query-actions only for admins; for debug purposes

Other Notes

Params

The plugin has since version 1.0.0 a constant to disable the mySQL Session cache. On defoult is the value on true and the cache is off for an better analyse! For change this, set the constant QUERY_CACHE_TYPE_OFF to FALSE.

Example

This is a example for evaluation.

# Time: 0.00198888778687
Query: SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'
Call from: require, require_once, require_once, require_once, is_blog_installed, wp_load_alloptions
# Time: 0.000695943832397
Query: UPDATE 'wp_options' SET 'option_value' = 'a:3:{i:0;b:0;s:25:\"adminimize/adminimize.php\";a:2:{i:0;O:10:\"adminimize\":1:{s:12:\"wp_filter_id\";i:0;}i:1;s:12:\"on_deinstall\";}s:31:\"debug_queries/debug_queries.php\";a:2:{i:0;O:12:\"DebugQueries\":1:{s:12:\"wp_filter_id\";i:0;}i:1;s:10:\"deactivate\";}}' WHERE 'option_name' = 'uninstall_plugins'
Call from: require, require_once, require_once, require_once, include_once, adminimize->adminimize, register_uninstall_hook, update_option
. . .
Total query time: 0.0155501365662 for 23 queries.
Total num_query time: 0.392 for 23 num_queries.

Acknowledgements

Thanks to Joost de Valk on yoast.com for small modifed on the plugin for some extra info.

Licence

Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a small donation for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;)

Requires: 1.5 or higher
Compatible up to: 3.9.2
Last Updated: 2014-4-17
Downloads: 28,202

Ratings

4 stars
4.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1 100,1,1
100,3,3
100,2,2
80,5,4 100,1,1
0,1,0
50,2,1
100,1,1
50,2,1
50,2,1
50,2,1
100,2,2
100,1,1
100,1,1
100,2,2
0,1,0
0,1,0
100,1,1