How influxdb work with files (tsm,db,wal)?

Hi
Dear all
i have question about files that influxdb create on these path /var/lib/influxdb/ (tsm,db,wal)

-how influx manage size of these files?
-when influx decide to create new tsm file?
-does influx use a threshold value to create new tsm file ?

and etc …

2 Likes

There are two main root dirs for the wal and data. The files in the WAL (Write-Ahead-Log) are appended to as new writes and deletes arrive. This data is essentially write optimized in that it’s fast to write it, but not query it. TSM files are read optimized which means they can be queried efficiently, but not updated easily.

The series data for writes to the wal is also stored in an in-memory cache until the cache is snapshotted. When the cache is snapshotted, based on cache-snapshot-memory-size and cache-snapshot-write-cold-duration, a new level 1 TSM file is written and the WAL segments associated with that snapshot are removed. Each WAL segment is 10mb and rolls over to a new segment as it’s filled up.

TSM file are periodically compacted to more compressed forms and improve query performance. Once a certain number of TSM files at a particular level exist, they are compacted to the next higher level. When a file reaches 2GB in size, it will rollover into secondary TSM files.

When a shard goes cold as defined by compact-full-write-cold-duration a full compaction runs and compacts all the files in the shard into an optimal layout for querying. If there are no more changes to the shard, these files are no longer re-compacted.

There are more details about the storage engine in the docs.

4 Likes

Thank you dear @jason
1-would you please clarify this part of your sentence “The files in the WAL (Write-Ahead-Log) are appended to as new writes and deletes arrive”?
2-what is the relation between WAL, TSM? influx write on both of them? when write on each of them?
3-is it possible configure to use only WAL or only TSM for special scenario that required read or query faster ?
4-as you mention TSM split when reach to 2 GB but i saw more TSM files that split with lower size such as 40Mb, or 30Mb!
5-any technical document that describe it clearly or i need to get enterprise support to access more documents?
6-what is the tombstone files, are they temp files?

Thanks,

1-would you please clarify this part of your sentence “The files in the WAL (Write-Ahead-Log) are appended to as new writes and deletes arrive”?

Within the WAL dir, there is a dir per shard. When writes are received, are written to disk in the WAL. If you look in a shards WAL dir, you would see a files such as _00001.wal, _00002.wal, etc… These are WAL segments. Each time a write comes in, the write is appended to the current segment which is the file with the largest number (_00002.wal) in this example. When the segments hit the max segment size (10mb), they are closed and a new segment is opened.

2-what is the relation between WAL, TSM? influx write on both of them? when write on each of them?

The WAL is where incoming writes hit initially. As I mentioned before, this is a “write optimized” file structure that allows writes to be appended to the file. These writes are also maintained in an in-memory cache to support querying. When a snapshot compaction occurs, the values in the cache are written to a new TSM file and the associated WAL segments are removed.

TSM files are continually compacted into larger and more dense files. Once they are written, they are immutable and never updated. Compactions combine multiple TSM files into new ones.

3-is it possible configure to use only WAL or only TSM for special scenario that required read or query faster ?

No. If there are no writes coming in, nothing will be written to the WAL and only TSM files will be used.

4-as you mention TSM split when reach to 2 GB but i saw more TSM files that split with lower size such as 40Mb, or 30Mb!

Yes, if an individual TSM file reaches 2GB in size, we split it. Not all TSM files are 2GB and some may never reach that size. Compactions combines small less dense TSM files into more larger, denser files.

5-any technical document that describe it clearly or i need to get enterprise support to access more documents?

The docs I linked to earlier. There is also various docs (some outdated) and comments in the code.

6-what is the tombstone files, are they temp files?

Tombstones record deleted series keys/time ranges within TSM files. Since TSM files are immutable, we write a tombstone file for anything in that TSM file that is deleted. The next time that file is compacted, the deleted keys/time ranges are removed when writing the new TSM file.

1 Like

Hi @jason ,
Can you please help on below?

  1. How to change the path of data .tsm files? In my case it is getting stored at “C:\Windows\System32\config\systemprofile.influxdb\data\telegraf\autogen” in windows. I want to change this dir to different path.

Answered here: Confused about where the data from databased is being stored - #6 by dgnorton

1 Like

Thank you @dgnorton

I know this topic is quite old, but still relevant when you want to know how influx works with files. As I didn’t find here any about the 1.tmp and 2.tmp folders, I want to ask what are these files?

$stordir/data/openhab_db/autogen/505# ls -lh
insgesamt 5,4M
-rw-r--r-- 3 influxdb influxdb 5,4M Mai 30 05:43 000000011-000000002.tsm
drwxr-xr-x 2 influxdb influxdb 4,0K Mai 31 09:02 1.tmp
drwxr-xr-x 2 influxdb influxdb 4,0K Mai 31 09:02 2.tmp
-rw-r--r-- 1 influxdb influxdb 1,8K Mai 31 18:20 fields.idx

ls -lh 1.tmp/
insgesamt 5,4M
-rw-r--r-- 3 influxdb influxdb 5,4M Mai 30 05:43 000000011-000000002.tsm

ls -lh 2.tmp/
insgesamt 5,4M
-rw-r--r-- 3 influxdb influxdb 5,4M Mai 30 05:43 000000011-000000002.tsm



diff 000000011-000000002.tsm 1.tmp/000000011-000000002.tsm

diff 000000011-000000002.tsm 2.tmp/000000011-000000002.tsm

Eacht command prints nothing, so files are identical. So what are these tmp folders?

Here the complete output of influx_inspect if this helps.

influx_inspect verify -dir $stordir
$stordir/data/_internal/monitor/904/000000038-000000002.tsm: healthy
$stordir/data/_internal/monitor/904/1.tmp/000000038-000000002.tsm: healthy
$stordir/data/_internal/monitor/904/2.tmp/000000038-000000002.tsm: healthy
$stordir/data/_internal/monitor/905/000000599-000000002.tsm: healthy
$stordir/data/_internal/monitor/905/1.tmp/000000599-000000002.tsm: healthy
$stordir/data/_internal/monitor/905/2.tmp/000000599-000000002.tsm: healthy
$stordir/data/_internal/monitor/907/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/907/1.tmp/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/907/2.tmp/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/908/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/908/1.tmp/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/908/2.tmp/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/909/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/909/1.tmp/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/909/2.tmp/000000037-000000002.tsm: healthy
$stordir/data/_internal/monitor/910/000000039-000000002.tsm: healthy
$stordir/data/_internal/monitor/910/1.tmp/000000039-000000002.tsm: healthy
$stordir/data/_internal/monitor/910/2.tmp/000000039-000000002.tsm: healthy
$stordir/data/_internal/monitor/911/000000038-000000002.tsm: healthy
$stordir/data/_internal/monitor/911/1.tmp/000000038-000000002.tsm: healthy
$stordir/data/_internal/monitor/911/2.tmp/000000038-000000002.tsm: healthy
$stordir/data/_internal/monitor/912/000000008-000000002.tsm: healthy
$stordir/data/_internal/monitor/912/000000016-000000002.tsm: healthy
$stordir/data/_internal/monitor/912/000000024-000000002.tsm: healthy
$stordir/data/_internal/monitor/912/000000025-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/000000026-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/000000027-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/1.tmp/000000008-000000002.tsm: healthy
$stordir/data/_internal/monitor/912/1.tmp/000000009-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/1.tmp/000000010-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/1.tmp/000000011-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/2.tmp/000000008-000000002.tsm: healthy
$stordir/data/_internal/monitor/912/2.tmp/000000009-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/2.tmp/000000010-000000001.tsm: healthy
$stordir/data/_internal/monitor/912/2.tmp/000000011-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/121/000000004-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/121/1.tmp/000000004-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/121/2.tmp/000000004-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/129/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/129/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/129/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/137/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/137/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/137/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/145/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/145/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/145/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/153/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/153/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/153/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/161/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/161/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/161/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/169/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/169/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/169/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/17/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/17/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/17/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/177/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/177/1.tmp/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/177/2.tmp/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/185/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/185/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/185/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/193/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/193/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/193/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/2/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/2/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/2/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/201/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/201/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/201/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/209/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/209/1.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/209/2.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/217/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/217/1.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/217/2.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/225/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/225/1.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/225/2.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/233/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/233/1.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/233/2.tmp/000000006-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/241/000000007-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/241/1.tmp/000000007-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/241/2.tmp/000000007-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/249/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/249/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/249/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/25/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/25/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/25/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/257/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/257/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/257/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/265/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/265/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/265/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/273/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/273/1.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/273/2.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/281/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/281/1.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/281/2.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/289/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/289/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/289/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/297/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/297/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/297/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/305/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/305/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/305/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/313/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/313/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/313/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/321/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/321/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/321/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/329/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/329/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/329/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/33/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/33/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/33/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/337/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/337/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/337/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/345/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/345/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/345/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/353/000000007-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/353/1.tmp/000000007-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/353/2.tmp/000000007-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/361/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/361/1.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/361/2.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/369/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/369/1.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/369/2.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/377/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/377/1.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/377/2.tmp/000000008-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/385/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/385/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/385/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/393/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/393/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/393/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/401/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/401/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/401/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/409/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/409/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/409/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/41/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/41/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/41/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/417/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/417/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/417/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/425/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/425/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/425/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/433/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/433/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/433/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/441/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/441/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/441/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/449/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/449/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/449/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/457/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/457/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/457/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/465/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/465/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/465/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/473/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/473/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/473/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/481/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/481/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/481/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/489/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/489/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/489/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/49/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/49/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/49/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/497/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/497/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/497/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/505/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/505/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/505/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/513/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/513/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/513/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/521/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/521/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/521/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/529/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/529/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/529/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/537/000000013-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/537/1.tmp/000000013-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/537/2.tmp/000000013-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/545/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/545/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/545/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/553/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/553/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/553/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/561/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/561/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/561/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/569/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/569/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/569/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/57/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/57/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/57/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/577/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/577/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/577/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/585/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/585/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/585/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/593/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/593/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/593/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/601/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/601/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/601/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/609/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/609/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/609/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/617/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/617/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/617/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/625/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/625/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/625/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/633/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/633/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/633/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/641/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/641/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/641/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/649/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/649/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/649/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/65/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/65/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/65/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/657/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/657/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/657/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/665/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/665/1.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/665/2.tmp/000000011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/673/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/673/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/673/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/681/000000010-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/681/1.tmp/000000010-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/681/2.tmp/000000010-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/689/000000010-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/689/1.tmp/000000010-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/689/2.tmp/000000010-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/697/000000015-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/697/1.tmp/000000015-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/697/2.tmp/000000015-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/705/000000017-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/705/1.tmp/000000017-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/705/2.tmp/000000017-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/713/000000017-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/713/1.tmp/000000017-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/713/2.tmp/000000017-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/721/000000016-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/721/1.tmp/000000016-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/721/2.tmp/000000016-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/729/000000024-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/729/1.tmp/000000024-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/729/2.tmp/000000024-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/73/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/73/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/73/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/737/000000021-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/737/1.tmp/000000021-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/737/2.tmp/000000021-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/745/000000016-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/745/1.tmp/000000016-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/745/2.tmp/000000016-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/754/000000023-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/754/1.tmp/000000023-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/754/2.tmp/000000023-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/762/000000023-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/762/1.tmp/000000023-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/762/2.tmp/000000023-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/770/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/770/1.tmp/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/770/2.tmp/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/778/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/778/1.tmp/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/778/2.tmp/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/786/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/786/1.tmp/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/786/2.tmp/000000018-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/794/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/794/1.tmp/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/794/2.tmp/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/802/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/802/1.tmp/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/802/2.tmp/000000015-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/81/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/81/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/81/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/810/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/810/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/810/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/818/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/818/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/818/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/826/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/826/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/826/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/834/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/834/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/834/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/842/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/842/1.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/842/2.tmp/000000012-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/850/000000991-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/850/1.tmp/000000991-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/850/2.tmp/000000991-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/858/000000826-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/858/1.tmp/000000826-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/858/2.tmp/000000826-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/866/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/866/1.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/866/2.tmp/000000010-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/874/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/874/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/874/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/882/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/882/1.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/882/2.tmp/000000009-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/89/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/89/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/89/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/890/000001011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/890/1.tmp/000001011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/890/2.tmp/000001011-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/898/000001005-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/898/1.tmp/000001005-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/898/2.tmp/000001005-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/9/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/9/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/9/2.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/906/000000001-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/906/000000002-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/906/000000003-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/906/000000004-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/906/1.tmp/000000001-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/906/1.tmp/000000002-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/906/2.tmp/000000001-000000003.tsm: healthy
$stordir/data/openhab_db/autogen/906/2.tmp/000000002-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/906/2.tmp/000000003-000000001.tsm: healthy
$stordir/data/openhab_db/autogen/97/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/97/1.tmp/000000006-000000002.tsm: healthy
$stordir/data/openhab_db/autogen/97/2.tmp/000000006-000000002.tsm: healthy
Broken Blocks: 0 / 1704464, in 40.565239449s

replace $stordir with var/lib/influxdb Had to replace it otherwise post would be too long

These tmp files occur when using influx backup tool

influxd backup -portable -database {db_name} {backup_path}

Seems to be a bug Not deleted {num}.tmp dir after backup is complete · Issue #17829 · influxdata/influxdb · GitHub

After restarting influxdb these folders are removed.