tsfile icon indicating copy to clipboard operation
tsfile copied to clipboard

How to make tsfile_cpp read and write faster.

Open ColinLeeo opened this issue 9 months ago • 2 comments

I conducted read/write performance tests for TsFile CPP on my Mac. I wrote data to TsFile in the form of Tablets, where each Tablet contains one TAG column and two Value columns. The TAG values remain consistent within each Tablet but vary across different Tablets. A total of approximately 600 Tablets were written, comprising 5,342,469 rows. Subsequently, I performed a full traversal operation, ultimately generating the flame graph shown below.

ColinLeeo avatar Apr 02 '25 16:04 ColinLeeo

Image

ColinLeeo avatar Apr 02 '25 16:04 ColinLeeo

Writing process

Image

ColinLeeo avatar Apr 02 '25 16:04 ColinLeeo