Title: Orphan comments
Last modified: November 23, 2025

---

# Orphan comments

 *  [Tooni](https://wordpress.org/support/users/tooni/)
 * (@tooni)
 * [8 months, 4 weeks ago](https://wordpress.org/support/topic/orphan-comments/)
 * Does Optimize DB also take care of orphan comments?
   With orphan comments I mean
   comments, which still exist in the DB although their parent has been deleted.
   E.g. comments which belong to a post or page, but the corresponding post or page
   is gone. Or (even more important for me) comments belonging to a deeply nested
   comment structure, where the first comment has been deleted.Are those orphan 
   comments removed during an Optimize DB run?If not: Could that be done in a future
   version? Please. 🙂

The topic ‘Orphan comments’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [Tooni](https://wordpress.org/support/users/tooni/)
 * Last activity: [8 months, 4 weeks ago](https://wordpress.org/support/topic/orphan-comments/)
 * Status: not resolved