Comparing database backups 

This is one of the easier methods to compare the changes, instead of reviewing executed queries, and identify them. In this method, we take a database backup using phpMyAdmin, execute the user request, and take another database backup. Then, we can use a file compare tool like MELD (http://meldmerge.org/) to check how the database is changed within the request. The limitation of this process is that you need to manually take database backups, and comparing may become time-consuming for larger databases.

Get WordPress Development Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.