Closed TheTechnoMan closed 5 years ago
@TheTechnoMan it's likely that the cache is not yet 7m
. The WAL stores data in an append only format that will likely be bigger than the size of the in-memory cache.
Try reducing your cache size further, and see if that helps. Aside from that, the cache will snapshot to a TSM file with it hits the cache-snapshot-memory-size
. The WAL should then be truncated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.
System info:
InfluxDB: 1.6 System: Ubuntu 18.04
Steps to reproduce:
Install InfluxDB, create Database and write to the measurements every 30 seconds
Expected behavior:
The write-ahead-log is being compressed into TSM files.
Actual behavior:
The write-ahead-log is not being compressed to TSM files and just keeps growing. Currently there are 2 .wal files. one with the size of 24 MB and a newer one that is actively being written to, currently 4MB.
Additional info:
I have a number of measurements for which I create new series every 30 seconds. I want to keep the data on a long term basis and therefore need to make sure that it is being compressed.
My config
Thanks!