# Sonata Stats failed\_jobs.ibd size

**URL:** <https://forums.vitalpbx.org/t/sonata-stats-failed-jobs-ibd-size/2567>\
**Category:** Sonata Suite\
**Created:** [March 29, 2023, 12:20am UTC](https://forums.vitalpbx.org/t/sonata-stats-failed-jobs-ibd-size/2567 "2023-03-29T00:20:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hlev](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/hlev/32/42_2.png) [@hlev](https://forums.vitalpbx.org/u/hlev)\
**Post date:** [March 29, 2023, 12:20am UTC](https://forums.vitalpbx.org/t/sonata-stats-failed-jobs-ibd-size/2567/1 "2023-03-29T00:20:26Z")

</div>

For some reason, the sonata\_stats failed\_jobs.ibd is quite big in our system, currently 20.2GB in size.

 ![image](https://forums.vitalpbx.org/uploads/default/original/2X/0/0a39f58eb6435e3a49e6378a5b5cb32f6f06b071.png)

Any particular reason for this? What exactly are the failed\_jobs withing sonata stats?

---

<div class="post-metadata">

**Author:** ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)\
**Post date:** [March 29, 2023, 7:49pm UTC](https://forums.vitalpbx.org/t/sonata-stats-failed-jobs-ibd-size/2567/2 "2023-03-29T19:49:30Z")

</div>

Hello Sir,

The _ **failed\_jobs** _ table stores information about jobs that have failed to process.

We will improve this in a future version.

For now to flush this table, inside /usr/share/sonata/queues-stats/backend you can execute the command: _ **php artisan queue:flush** _

This command will flush all records in the _ **failed\_jobs** _ table.
