You can use Query Monitor plugin
From Plugin Documention:
Here’s an overview of what’s shown:
Database Queries
- Shows all database queries performed on the current page
- Shows affected rows and time for all queries
- Show notifications for slow queries and queries with errors
- Filter queries by query type (SELECT, UPDATE, DELETE, etc)
- Filter queries by component (WordPress core, Plugin X, Plugin Y, theme)
- Filter queries by calling function
- View aggregate query information grouped by component, calling function, and type
- Super advanced: Supports multiple instances of wpdb on one page
Filtering queries by component or calling function makes it easy to
see which plugins, themes, or functions on your site are making the
most (or the slowest) database queries.
Related Posts:
- How to properly insert data into custom table via plugin
- How does WordPress handle MySQL row lock errors?
- Can I explicitly specify ENGINE=InnoDB in WordPress?
- Bad Request (Invalid Hostname) on working server, database problem
- Changing BIGINT to INT
- greatest() function returns undefined property
- How to write one comment and publish on every post using database or plugin?
- Help With MySQL to WPDB Query Conversion
- How can I perform high-level database merging for WordPress within continues delivery?
- WordPress Backend HA (Automatic failover)
- Automatic switch to backup database on fail
- Migrating to WordPress Recipe Plugin and Some SQL Issues
- Multiple instance of data in plugin custom database table on plugin activation
- Better ads plugin has 500.000 entries in wp_postmeta
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- dbDelta not adding additional columns in plugin database update
- Always get creating a new table with foreign key
- How to do database for download stats?
- DB Query not working in Plugin
- External wpdb connections in different plugins on single page
- WordPress plugin: efficient way to store large data
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Integrating Custom Database with WordPress
- How to display results from a data table with an encrypted user id?
- add_action for publish_post doesn’t work
- What database state changes happen after a post is manually “updated” with no changes?
- Cant create table on plugin activation
- Performing CRUD operations on front end in wordpress
- Store GravityForm data in phpmyadmin (mysql)
- Moving a few select DB tables to a new WP instance
- WordPress database problem wp_posts, primary key
- HyperDB failover Delay
- Write mysql credentials in plugin
- How can I delete the options from DB when the plugin is deleted?
- Delete tables from database when deleting plugin
- WordPress sharding: which multi-DB plugin to use?
- Simple form that saves to database
- How do I check what plugins are enabled via the database?
- How can a Firebase user registration and login be integrated into a WordPress site?
- How to update widget_text in the wp_options table
- prefix table and plugins
- Replace existing pages with new pages, keep menu links
- how to show database content in wordpress post
- What is the easiest way to implement cascading database upgrade for my plugin?
- Storing Email Account Passwords for SMTP Mailing for a WordPress Plugin
- If I delete plugins via FTP are settings kept in DB?
- What kind of data is that?
- Cannot login to ADMIN even after changing password in phpmyadmin
- Building an email signup form. Where should the information be saved in the DB?
- Prevent duplicate records in plugin table
- WpDataTables – View Image Directory
- Create a table with wordpress plugin boilerplate
- WordPress page and plugin list using sql query
- Why this function not working for install database on plugin activation
- plugin code is pulling information from database in one instance and not in other. What is wrong?
- Can I create a table on my DB without creating a plugin?
- WordPress : Explain Plugins & Theme string value in database
- Plugins in WP_Options but not Active
- Mass SQL WordPress Meta Key deletion
- Gathering and logging data from a plugin: how to do it without race conditions?
- How to pass the API key to the client from the database? [closed]
- Updating options into the wp database performance
- Ajax save data to database on document ready, no data being saved
- How to edit a published post?
- Plugin has added weird data in wp_options, set to autoload
- How can I fetch data from another website to my wordpress website with mysql database
- Getting error “Warning: mysql_query(): Can’t connect to local MySQL server through socket ‘FILEPATH/cccatalog-plugin.php on line 1656”
- Plugin generating unexpected output – on WP mysql dump import
- Is this plugin safe to run?
- Getting URL GET parameter with Code snippets and storing it in database?
- how can we migrate wordpress 5.9 website from aws ec2 to new installed wp 5.9 oci compute
- Same Plugin tables between wordpress installations
- Some error in mysql script ? Can’t working to create table
- How to get the custom field value using SQL query
- Need to know if my approach to designing a geneaology plug-in for wordpress makes sense
- I created a plugin with ‘view page’ that uses MYSQL + PHP. When I use wp_insert_post(), it turns everything to HTML
- create pages automatically and dynamically in wordPress
- add_action(‘the_content’, ‘my_plugin_content’) is null
- How to allow URL with filename & extension in wordpress?
- Programmatically generate new pages for a site based on page template and content elements accessed via DB
- PHP message: WordPress database error Deadlock found when trying to get lock
- using wordpress login details for other website / application / forum?
- how to create database to use it in wordpress website?
- how can i get records from wp_postmeta table using particular meta_key in database?
- How to create a custom page for unrelated database?
- User content database [closed]
- Help with sorting and storing data on WordPress
- MySql Query for WordPress
- How to find an option in the database?
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- Get the url of attachments from the post?
- Create New Admin Menu Section – Like how custom post type works, in a way
- Using wp config to connect to a DB from a plugin
- Shortcode returning specific content of a post
- get_option returning a different value from what’s saved
- Share or sync user table data with another user table
- Very slow page loads
- Form with response button after on table after submission
- Split Million WordPress Post’s Into Multiple Database Server
- Can’t save formdata in DB