How to Properly Uninstall Gravity Forms and Database Tables (wp_rg_)

I recently migrated from the WordPress premium Gravity Forms plugin over to the free version of WPForms. Why? Well, I don’t really use any of the premium features of Gravity Forms and while I like their plugin, it really was a waste of money to keep renewing it. All I use on my sites is a simple contact form with basic drop-down menu options. However, there is a correct way to uninstall Gravity Forms, otherwise, you will be left with a bunch of old database tables.

Gravity Forms Tables

Gravity forms uses the following tables. And depending on how many forms you process, these tables could add up to quite a bit of space. So if you aren’t using the plugin, you shouldn’t leave them behind. One of the biggest contributors to database bloat is not properly uninstalling a plugin. Some plugins also don’t have options for “database table cleanups,” but all the popular ones should. If they don’t, let them know that they should.

  • wp_rg_form
  • wp_rg_form_meta
  • wp_rg_form_view
  • wp_rg_incomplete_submissions
  • wp_rg_lead
  • wp_rg_lead_detail
  • wp_rg_lead_detail_long
  • wp_rg_lead_meta
  • wp_rg_lead_notes

How to Properly Uninstall Gravity Forms

To properly uninstall the Gravity Forms plugins, you should browse to the settings page and click on “Uninstall Gravity Forms.” This will remove all the database tables automatically and deactivate the plugin. Remember that this is wiping out any data for past form submissions.

Uninstall Gravity Forms plugin
Uninstall Gravity Forms plugin

How to Manually Cleanup Gravity Forms Tables

If you have already deleted the plugin and don’t have access to download it anymore, you can always clean up the tables manually. I highly recommend backing up your database before doing this, just in case. Simply log in to phpMyAdmin at your host and look for the tables mentioned above or seen below.

Gravity Forms database tables
Gravity Forms database tables

Select the tables and at the bottom click on “Drop” from the drop-down menu. This will remove the Gravity Forms tables.

Drop Gravity Forms database tables
Drop Gravity Forms database tables

Make sure that whenever you delete or uninstall a plugin that you look at their documentation first to see if there is a proper way to remove it. If you don’t, you could be leaving behind a bunch of un-needed data in your database. And over time, this can become a much bigger problem.

Another easy way to prevent database bloat is to disable or limit post revisions. You can easily do this with our perfmatters plugin.

Have you been uninstalling plugins the right way? If not, don’t feel ashamed to let me know below.

GET MORE STUFF LIKE THIS

Marketing, WordPress, Blogging Tips, SEO and Reviews, once a week.

Thank you for subscribing.

Something went wrong.

Leave a Comment

4 Shares
Tweet
Share
Share
Buffer