I'm using sentry's cleanup option in order to keep my database in order, but the nodestore_node table becomes bigger and bigger:
mysql> SELECT TABLE_NAME, table_rows, data_length, index_length, round(((data_length + index_length) / 1024 / 1024),2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema = 'sentry' and TABLE_TYPE='BASE TABLE' ORDER BY data_length DESC limit 0, 5;
+-----------------------+------------+-------------+--------------+------------+
| TABLE_NAME | table_rows | data_length | index_length | Size in MB |
+-----------------------+------------+-------------+--------------+------------+
| nodestore_node | 3129200 | 17075503104 | 247480320 | 16520.48 | | sentry_message | 3103097 | 1272987648 | 1069940736 | 2234.39 | | sentry_searchtoken | 6511913 | 354713600 | 509870080 | 824.53 |
| sentry_eventmapping | 3047297 | 237207552 | 424886272 | 631.42 |
| sentry_groupedmessage | 138770 | 69320704 | 84279296 | 146.48 |
+-----------------------+------------+-------------+--------------+------------+
Is there any way to safely truncate it? I'm using Sentry 6.4.2.1 with MySQL 5.5.33. Thanks!