Title: MySQL Profiler
Author: tombenner
Published: <strong>مارچ 6, 2012</strong>
Last modified: مارچ 6, 2012

---

پلگ انز ئے شوھاز کن

اے پلگ ان **hasn’t گوں ورڈپریس ءِ نوکیں 3 مزنیں ریلیزاں** آزمائش کنگ بوتگ۔ اے دگہ
برجاہ دارگ یا حمایت نہ کنگ بیت ءُ ورڈپریس ءِ نوکیں ورژنانی گوں کارمرز کنگ ءِ وھد
ءَ مطابقت ءِ جیڑھ بوت کنت۔

![](https://s.w.org/plugins/geopattern-icon/mysql-profiler.svg)

# MySQL Profiler

 [tombenner](https://profiles.wordpress.org/tombenner/) ئے وسیلہ ئا

[ایرگیج](https://downloads.wordpress.org/plugin/mysql-profiler.1.0.zip)

 * [سرجمیں](https://bcc.wordpress.org/plugins/mysql-profiler/#description)
 * [جائزہ](https://bcc.wordpress.org/plugins/mysql-profiler/#reviews)
 *  [انسٹالیشن](https://bcc.wordpress.org/plugins/mysql-profiler/#installation)
 * [دیمروی](https://bcc.wordpress.org/plugins/mysql-profiler/#developers)

 [کمک](https://wordpress.org/support/plugin/mysql-profiler/)

## سرجمیں

MySQL Profiler displays debugging information about SQL queries to admin WordPress
users. For each query, the profiler displays the time, syntax-highlighted SQL, and
a trace of the functions (as well as the file and line number that the functions
were called from) that were called.

The list can be sorted by any of its columns, so you can, for example:

 * Order the list by ID to see the chronological order of the queries
 * Order the list by time to see the slowest queries
 * Order the list by query to group the queries by type (SELECT, UPDATE, etc)
 * Order the list by trace to group the queries by similar origins

The list can also filtered by typing in the search box, so you can, for example:

 * View all queries that use the wp_posts table
 * View all queries that are related to the use of a function in taxonomy.php
 * View all queries that are related to the use of a specific function or class
 * View all queries that call a specific MySQL function

To turn off syntax highlighting, put the following in wp-config.php:

    ```
    define('MP_HIGHLIGHT_SYNTAX', false);
    ```

To omit the file and line number from the function trace and display the functions
as a comma-separated list (to save vertical space), define the following in wp-config.
php:

    ```
    define('MP_DISPLAY_FILES', false);
    ```

This plugin was loosely based on [Frank Bueltge](http://bueltge.de/)‘s [Debug Queries](https://wordpress.org/extend/plugins/debug-queries/)
plugin, so a hearty thanks to him for the development of that.

If you’d like to grab development releases, see what new features are being added,
or browse the source code please visit/follow the [GitHub repo](http://github.com/tombenner/mysql-profiler).

## اسکرین شاٹ

[⌊Profiling for a typical single post page, filtered to show only queries containing
references to wp_posts and ordered by the time column to show the slowest queries
at the top.⌉⌊Profiling for a typical single post page, filtered to show only queries
containing references to wp_posts and ordered by the time column to show the slowest
queries at the top.⌉[

Profiling for a typical single post page, filtered to show only queries containing
references to wp_posts and ordered by the time column to show the slowest queries
at the top.

[⌊Profiling for a typical single post page, with syntax highlighting turned off 
and the display of file and line numbers turned off (by setting MP_DISPLAY_FILES
and MP_HIGHLIGHT_SYNTAX to false).⌉⌊Profiling for a typical single post page, with
syntax highlighting turned off and the display of file and line numbers turned off(
by setting MP_DISPLAY_FILES and MP_HIGHLIGHT_SYNTAX to false).⌉[

Profiling for a typical single post page, with syntax highlighting turned off and
the display of file and line numbers turned off (by setting MP_DISPLAY_FILES and
MP_HIGHLIGHT_SYNTAX to false).

## انسٹالیشن

 1. Put `mysql-profiler` into the `wp-content/plugins` directory
 2. Activate the plugin in the “Plugins” menu in WordPress to turn on the profiling
 3. Deactivate when you’ve finished using the profiling

## جُست ءُ پُرس

  Is feature X available?

If there’s widely-needed functionality that you’d like that isn’t implemented, I’d
likely be willing to implement it myself or to accept any well-written code that
implements it. Please feel free to either add a topic in the WordPress forum or 
contact me through GitHub for any such requests:

 * [WordPress Forum](https://wordpress.org/tags/mysql-profiler?forum_id=10)
 * [GitHub](http://github.com/tombenner)

## جائزہ

![](https://secure.gravatar.com/avatar/dcfc9e725e033c628fb236b28b0a22a328d811b9e868f1533cc32e6d7bb2f770?
s=60&d=retro&r=g)

### 󠀁[No documentation](https://wordpress.org/support/topic/no-documentation-43/)󠁿

 [webstpro](https://profiles.wordpress.org/webstpro/) جُون 25, 2020

I have no idea how to make this work. There is no documentation and no links in 
the admin left menu. Lots of error messages when I look at the home page.

 [ کلیں 5 جائزہ ئا پڑھ ](https://wordpress.org/support/plugin/mysql-profiler/reviews/)

## کمک کنوک & دیمروئی کنوک

“MySQL Profiler” اوپن سورس سافٹ ویئر اِنت۔ اے پلگ ان ءِ تہا رند ءِ مردماں وتی کرد
پیلو کتگ۔

کمک کار

 *   [ tombenner ](https://profiles.wordpress.org/tombenner/)

[“MySQL Profiler” ءَ وتی زبان ءَ رجانک کن اِت۔](https://translate.wordpress.org/projects/wp-plugins/mysql-profiler)

### دیمروئی ءِ تہا دلچسپی داریت؟

[کڈ ءَ براؤز کن اِت](https://plugins.trac.wordpress.org/browser/mysql-profiler/)،
[SVN ءِ ذخیرہ](https://plugins.svn.wordpress.org/mysql-profiler/) ءَ بچار اِت، یا
[دیمروئی ءِ لاگ](https://plugins.trac.wordpress.org/log/mysql-profiler/) ءَ [RSS](https://plugins.trac.wordpress.org/log/mysql-profiler/?limit=100&mode=stop_on_copy&format=rss)
ءِ وسیلہ ءَ سبسکرائب بہ کن اِت۔

## میٹا

 *  ورژن **1.0**
 *  گڈی رند ءَ نوک کنگ بوتگ **15 سال پیشا**
 *  فعالیں تنصیبات **10+**
 *  ورڈپریس ورژن ** 2.9 یا گیشتر **
 *  **3.3.2** ءَ داں آزمائش کنگ بوتگ۔
 *  زبان
 * [English (US)](https://wordpress.org/plugins/mysql-profiler/)
 * ٹیگ
 * [debug](https://bcc.wordpress.org/plugins/tags/debug/)[debugging](https://bcc.wordpress.org/plugins/tags/debugging/)
   [mysql](https://bcc.wordpress.org/plugins/tags/mysql/)[profiler](https://bcc.wordpress.org/plugins/tags/profiler/)
   [profiling](https://bcc.wordpress.org/plugins/tags/profiling/)
 *  [دیمروئی کتگیں ندارگ](https://bcc.wordpress.org/plugins/mysql-profiler/advanced/)

## درجہ بندی

 4.2 چہ 5 استاراں

 *  [  4 5-ستارہ جائزہ     ](https://wordpress.org/support/plugin/mysql-profiler/reviews/?filter=5)
 *  [  0 4-ستارہ جائزہ     ](https://wordpress.org/support/plugin/mysql-profiler/reviews/?filter=4)
 *  [  0 3-ستارہ جائزہ     ](https://wordpress.org/support/plugin/mysql-profiler/reviews/?filter=3)
 *  [  0 2-ستارہ جائزہ     ](https://wordpress.org/support/plugin/mysql-profiler/reviews/?filter=2)
 *  [  1 1-ستارہ جائزہ     ](https://wordpress.org/support/plugin/mysql-profiler/reviews/?filter=1)

[تئی جائزہ](https://wordpress.org/support/plugin/mysql-profiler/reviews/#new-post)

[کلیں جائزہ ئا بہ گند](https://wordpress.org/support/plugin/mysql-profiler/reviews/)

## کمک کار

 *   [ tombenner ](https://profiles.wordpress.org/tombenner/)

## کمک

چیزے گشگ ءِ ھاترا رستگ؟ کمک لوٹ ئے؟

 [سپورٹ فورم ئا بہ گند](https://wordpress.org/support/plugin/mysql-profiler/)