Title: Database
Last modified: September 8, 2018

---

# Database

 *  Resolved [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/)
 * Is it possible to make it so that if the file is fully permanently deleted the
   entry will also be deleted from the plugin database?
 * Or is there a benefit/reason to still keep it there.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [dbarrere](https://wordpress.org/support/users/dbarrere/)
 * (@dbarrere)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/#post-10669034)
 * Hi,
 * This is currently not the behavior of this plugin.
    And to be honest I don’t 
   currently think about including this feature.
 * This feature would implies to :
    -  check regularly all folders and subfolders in the uploads folder, it could
      need a lot of cpu and memory resources if there is a lot of files and subfolders
    - Remove from posts and all database columns the reference to the image, which
      means changing the html structure
    - and more …
 * The plugin already deal with things that could goes wrong if a plugin doesn’t
   deal with attachements the same way as the usual one, adding this feature would
   make it al lot more sensitive.
 * Cheers
    -  This reply was modified 7 years, 8 months ago by [dbarrere](https://wordpress.org/support/users/dbarrere/).
 *  Thread Starter [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/#post-10669094)
 * Thanks for your Quick reply!
 * Yeah about other plug-ins, did you test it with shortpixel the best image opti
   plug-in?
 * Are there more things that can go wrong in the long run if I use this on all 
   Images on an big woostore with alot of Images?
 * Does the plug-in only edit its own database table Or also other Parts of the 
   dbase?
 * Cheers
 *  Plugin Author [dbarrere](https://wordpress.org/support/users/dbarrere/)
 * (@dbarrere)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/#post-10669290)
 * Nop it has not been tested with Shortpixel.
    I assume that Shortpixel only replaces
   the actual image content by an optimized one. Then you should not have problem
   with the main content, I mean the post content. I don’t know how the plugin deals
   with keeping an history of what has been optimized or not, you could have some
   issues here but nothing that could break your website.
 * You should not have any problem with woocommerce but always make a backup of 
   your whole site before using the plugin.
    What it does is not a common practice
   and WordPress has not been built to allow that.
 * No the plugin replace all urls it finds in all the database tables.
    It has to
   because if an attachments is actually moved, all references to this file would
   be broken, if it’s not replaced in all tables it.
 * Best regards
 *  Thread Starter [phj123](https://wordpress.org/support/users/phj123/)
 * (@phj123)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/#post-10669933)
 * Regarding the database, I only mean the entries in Table: wpmfs_queue
 * If a refolded renamed image is fully deleted from wpmedialibrary I see it is 
   removed from FTP removed from the postmeta table also removed from the posts 
   table but not from the plugin table wpmfs_queue.
 * To keep the plugin dbase clean would it not be nice to remove it there also?
 *  Plugin Author [dbarrere](https://wordpress.org/support/users/dbarrere/)
 * (@dbarrere)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/#post-10670080)
 * The plugin only keeps the elements of the last week.
    All other entries are removed
   automatically. Just wait until next Saturday and you should no see anymore this
   deleted file in the database.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database’ is closed to new replies.

 * ![](https://ps.w.org/wp-media-folders/assets/icon-256x256.png?rev=1899022)
 * [WP Media folders](https://wordpress.org/plugins/wp-media-folders/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-media-folders/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-media-folders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-media-folders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-media-folders/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [dbarrere](https://wordpress.org/support/users/dbarrere/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/database-73/#post-10670080)
 * Status: resolved