Title: Optimization on bigger databases
Last modified: April 15, 2020

---

# Optimization on bigger databases

 *  Resolved [Nikodemsky](https://wordpress.org/support/users/nikodemsky/)
 * (@nikodemsky)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/optimization-on-bigger-databases/)
 * So today i’ve encountered same problem again, with bigger database, when there’s
   more than few custom fields it’s always either killing the server, 504 or simply
   it won’t finish the task.
 * It’s okay-ish if i switch off orphans from cleaning, but that’s the main reason
   i would like to run optimization in the first place for some cases.
 * Any idea how should i with that?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/optimization-on-bigger-databases/#post-12683957)
 * Hey Nikodemsky,
 * Seems like you have too many orphans in your database…
 * First make a backup of your database.
 * Then follow the instructions on this page:
    [http://scottnelle.com/648/clean-bloated-wp_term_relationships-table/](http://scottnelle.com/648/clean-bloated-wp_term_relationships-table/)
 * Please let me know if that worked.
 * Stay safe and healthy!
    Rolf

Viewing 1 replies (of 1 total)

The topic ‘Optimization on bigger databases’ is closed to new replies.

 * ![](https://ps.w.org/rvg-optimize-database/assets/icon-256x256.png?rev=3350597)
 * [Optimize Database after Deleting Revisions](https://wordpress.org/plugins/rvg-optimize-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rvg-optimize-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rvg-optimize-database/)
 * [Active Topics](https://wordpress.org/support/plugin/rvg-optimize-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rvg-optimize-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rvg-optimize-database/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cageehv](https://wordpress.org/support/users/cageehv/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/optimization-on-bigger-databases/#post-12683957)
 * Status: resolved