# Tabelle version\_commit\_data wächst auf mehrere GB an

**URL:** <https://forum.shopware.com/t/tabelle-version-commit-data-wachst-auf-mehrere-gb-an/67272>\
**Category:** Programmierung\
**Created:** [28. Mai 2020 um 08:46 UTC](https://forum.shopware.com/t/tabelle-version-commit-data-wachst-auf-mehrere-gb-an/67272 "2020-05-28T08:46:49Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![ThomasChr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomaschr/32/10466_2.png) [@ThomasChr](https://forum.shopware.com/u/ThomasChr)\
**Post date:** [7. Dezember 2020 um 14:19 UTC](https://forum.shopware.com/t/tabelle-version-commit-data-wachst-auf-mehrere-gb-an/67272/11 "2020-12-07T14:19:47Z")

</div>

Das könnte man auch mit nem simplen Bash Script der Form

> echo „TRUNCATE TABLE&nbsp; version\_commit\_data; TRUNCATE TABLE version\_commit;“ | mysql -h host -u user -pPASS shopwaredb

lösen. Man bräuchte evtl. noch nichtmal ein Script, das kann man wohl auch direkt als Cronjob ausführen.

Vorteil: Dead simple

Nachteil: Passwort ist in der Kommandozeile sichtbar

---

_[View the full topic](https://forum.shopware.com/t/tabelle-version-commit-data-wachst-auf-mehrere-gb-an/67272)._
