# \#delete-entries

**URL:** https://community.gravityforms.com/tag/delete-entries/393.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Database management](https://community.gravityforms.com/t/database-management/18766)

<div class="topic-metadata">

**Author:** [@user648c88d38f0fe544](https://community.gravityforms.com/u/user648c88d38f0fe544)\
**Replies:** 1\
**Last updated:** [January 16, 2025, 7:55pm UTC](https://community.gravityforms.com/t/database-management/18766 "2025-01-16T19:55:46Z")

</div>

A few questions on GF and the site’s database. Does deleting an entry also delete all database rows associated with that entry? Is there any instance when deleting an entry would not remove all rows associated with th…

---

## [Gravity forms delete entries automation](https://community.gravityforms.com/t/gravity-forms-delete-entries-automation/18063)

<div class="topic-metadata">

**Author:** [@user60c9b7ca6cfa8319](https://community.gravityforms.com/u/user60c9b7ca6cfa8319)\
**Replies:** 0\
**Last updated:** [August 25, 2024, 7:43am UTC](https://community.gravityforms.com/t/gravity-forms-delete-entries-automation/18063 "2024-08-25T07:43:40Z")

</div>

I have a gravity forms on my site and I would like to use the “Trash entries automatically” feature to remove the entries submitted in the previous day. My question is when or at what time the entry deletion occurs? Is t…

---

## [How do I limit the amount of saved entries so disk space on server does not become an issue?](https://community.gravityforms.com/t/how-do-i-limit-the-amount-of-saved-entries-so-disk-space-on-server-does-not-become-an-issue/15876)

<div class="topic-metadata">

**Author:** [@user642f00a0515ee967](https://community.gravityforms.com/u/user642f00a0515ee967)\
**Replies:** 1\
**Last updated:** [September 15, 2023, 4:14pm UTC](https://community.gravityforms.com/t/how-do-i-limit-the-amount-of-saved-entries-so-disk-space-on-server-does-not-become-an-issue/15876 "2023-09-15T16:14:41Z")

</div>

I do not wish to save entries once they are submitted to make sure disk space is not exceeded over time. For example, I have entries dating back a few years with images as part of the submissions. Is there a way to tur…

---

## [Restore entries from backup](https://community.gravityforms.com/t/restore-entries-from-backup/12182)

<div class="topic-metadata">

**Author:** [@user5a3bdaf0cdf4f8.8](https://community.gravityforms.com/u/user5a3bdaf0cdf4f8.8)\
**Replies:** 2\
**Last updated:** [March 21, 2022, 10:04pm UTC](https://community.gravityforms.com/t/restore-entries-from-backup/12182 "2022-03-21T22:04:00Z")

</div>

Hi, By mistake, I permanently deleted the entries of one of my forms, but I have several backups of my database. Do you know a way to restore the entries in the form as they were before? Thank you

---

## [How to bulk delete old entries using WP-CLI?](https://community.gravityforms.com/t/how-to-bulk-delete-old-entries-using-wp-cli/11209)

<div class="topic-metadata">

**Author:** [@michaeledi](https://community.gravityforms.com/u/michaeledi)\
**Replies:** 3\
**Last updated:** [November 19, 2021, 2:08am UTC](https://community.gravityforms.com/t/how-to-bulk-delete-old-entries-using-wp-cli/11209 "2021-11-19T02:08:47Z")

</div>

I checked the docs and the wp gf entry delete only supports id lists, even though it supports inline listing like wp gf entry list 1 --status=trash --format=ids , there’s no parameter like start\_date or end\_date, which m…

---

## [How to cleanly delete Gravity Forms entries with SQL?](https://community.gravityforms.com/t/how-to-cleanly-delete-gravity-forms-entries-with-sql/8460)

<div class="topic-metadata">

**Author:** [@michaeledi](https://community.gravityforms.com/u/michaeledi)\
**Replies:** 5\
**Last updated:** [April 8, 2021, 1:03am UTC](https://community.gravityforms.com/t/how-to-cleanly-delete-gravity-forms-entries-with-sql/8460 "2021-04-08T01:03:29Z")

</div>

I got over 20k entries, and it’s such a pain to click ‘empty trash’ since it always ends with 502 timeout. I want to delete Form entries using SQL queries, but I’m not sure how to remove all meta/relationships gracefull…

---

## [How to Delete all form entries at once \[RESOLVED\]](https://community.gravityforms.com/t/how-to-delete-all-form-entries-at-once-resolved/8531)

<div class="topic-metadata">

**Author:** [@user5c536faf8fe441.5](https://community.gravityforms.com/u/user5c536faf8fe441.5)\
**Replies:** 2\
**Last updated:** [March 31, 2021, 7:51pm UTC](https://community.gravityforms.com/t/how-to-delete-all-form-entries-at-once-resolved/8531 "2021-03-31T19:51:27Z")

</div>

Does anyone know how to delete all form entries at one time? When you click on the BULK ACTIONS it highlights all the entries on that page but it’s only page by page…If you have 1700 entries that would take forever…Is th…

---

## [Database too big, how to delete entries?](https://community.gravityforms.com/t/database-too-big-how-to-delete-entries/2133)

<div class="topic-metadata">

**Author:** [@Algofae](https://community.gravityforms.com/u/Algofae)\
**Replies:** 1\
**Last updated:** [June 23, 2019, 6:17pm UTC](https://community.gravityforms.com/t/database-too-big-how-to-delete-entries/2133 "2019-06-23T18:17:41Z")

</div>

Hello, My database became too big because I kept more than 120,000 entries of forms. The tables gf\_entry\_meta (800 Mio) and rg\_lead-detail (290 Mio) in particular are very heavy. I would like to lighten them by deleting…
