# Data base up to 1GB

**URL:** <https://forum.mautic.org/t/data-base-up-to-1gb/9500>\
**Category:** General Discussion\
**Created:** [September 18, 2017, 5:52pm UTC](https://forum.mautic.org/t/data-base-up-to-1gb/9500 "2017-09-18T17:52:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [September 18, 2017, 5:52pm UTC](https://forum.mautic.org/t/data-base-up-to-1gb/9500/1 "2017-09-18T17:52:52Z")

</div>

Hi mate how are you.  
  
  
  
I have this issue, do you know what to do?  
  
[https://www.mautic.org/community/index.php//2888-database-run-up-to-1gb-issue/0](https://www.mautic.org/community/index.php//2888-database-run-up-to-1gb-issue/0)  
  
  
  
What can I delete? How to delete it automaticaly?  
  
  
  
Thank you.

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [September 18, 2017, 5:52pm UTC](https://forum.mautic.org/t/data-base-up-to-1gb/9500/2 "2017-09-18T17:52:52Z")

</div>

Hi mate how are you.

I have this issue, do you know what to do?  
[https://www.mautic.org/community/index.php//2888-database-run-up-to-1gb-issue/0](https://www.mautic.org/community/index.php//2888-database-run-up-to-1gb-issue/0)

What can I delete? How to delete it automaticaly?

Thank you.

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [September 18, 2017, 6:30pm UTC](https://forum.mautic.org/t/data-base-up-to-1gb/9500/3 "2017-09-18T18:30:55Z")

</div>

You can use the Maintenance cron job to clean your system

Cleaning out old data  
WARNING: this is a destructive process which will result in deletion of data

This cron job allows you to clean out old data - note that not all data can be purged with this task. Currently supported are audit log entries, visitors (anonymous contacts), and visitor page hits. Use –dry-run to view the number of records to be purged before making any changes. This will permanently delete data! Be sure to keep database backups.

`
path/to/php /path/to/mautic/app/console mautic:maintenance:cleanup --days-old=365 --dry-run`

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [September 19, 2017, 8:52am UTC](https://forum.mautic.org/t/data-base-up-to-1gb/9500/4 "2017-09-19T08:52:13Z")

</div>

Ok thank you 🙂 I’ll try it tonight
