Title: Database Tables Optimization
Last modified: August 15, 2020

---

# Database Tables Optimization

 *  Resolved Anonymous User 9824923
 * (@anonymized-9824923)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/database-tables-optimization/)
 * Hello, I have a question. I have two plugins on my website:
 * 1 – WP-Optimize – Clean, Compress, Cache
    2 – Database
 * Both have the function of optimizing database tables; I would like someone to
   tell me if they really do the same thing, or if the functions, despite being 
   tables optimization, operate differently.
 * Thankful,
 * Irina
    -  This topic was modified 5 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Developing with WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-tables-optimization%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/database-tables-optimization/#post-13259040)
 * WP Optimize runs the SQL query `"OPTIMIZE TABLE $table_name;"` to do so. It also
   does something about orphaned data and tables, but I’m not sure what. I’m unfamiliar
   with a “Database” plugin. In any case, I recommend asking in the dedicated plugin
   forums for each plugin where the devs and expert users there are in the best 
   place to accurately answer your question.
 *  Thread Starter Anonymous User 9824923
 * (@anonymized-9824923)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/database-tables-optimization/#post-13260558)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/) Hallo! Thank you for
   your help. I’ll do that, post the question in the dedicated plugin foruns, so
   I have a better accurately answear, because it looks like they do the same.
 * Best regards,
 * Irina

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

The topic ‘Database Tables Optimization’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [optimization](https://wordpress.org/support/topic-tag/optimization/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 9824923
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/database-tables-optimization/#post-13260558)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
