Open FrankChen021 opened 1 month ago
different formats with 65,409 entries.
┌─format───┬───────bytes───┐
│ uuidv4 │ 2363078 │
│ uuidv7 │ 826828 │
│ uuidv7_1 │ 365896 │
│ uuidv7_n │ 816234 │
└──────────┴───────────────┘
┌─column────────┬─compressedSize─┬─uncompressedSize─┬─compressRatio(%)─┬───rowsCount─┬─avgUncompressedSize─┐
1. │ traceId │ 368.76 GiB │ 407.22 GiB │ 91 │ 13264022063 │ 33 │
2. │ attributes │ 232.44 GiB │ 4.07 TiB │ 6 │ 13264022063 │ 337 │
3. │ spanId │ 152.86 GiB │ 209.76 GiB │ 73 │ 13264022063 │ 17 │
4. │ parentSpanId │ 86.75 GiB │ 95.87 GiB │ 90 │ 13264022063 │ 8 │
5. │ endTimeUs │ 66.39 GiB │ 98.72 GiB │ 67 │ 13264022063 │ 8 │
6. │ startTimeUs │ 65.90 GiB │ 98.72 GiB │ 67 │ 13264022063 │ 8 │
7. │ timestamp │ 49.45 GiB │ 98.72 GiB │ 50 │ 13264022063 │ 8 │
8. │ costTimeMs │ 45.65 GiB │ 98.72 GiB │ 46 │ 13264022063 │ 8 │
9. │ normalizedUrl │ 4.05 GiB │ 136.08 GiB │ 3 │ 13264022063 │ 11 │
10. │ clazz │ 2.67 GiB │ 456.43 GiB │ 1 │ 13264022063 │ 37 │
11. │ instanceName │ 1.78 GiB │ 379.35 GiB │ 0 │ 13264022063 │ 31 │
12. │ name │ 1.51 GiB │ 127.09 GiB │ 1 │ 13264022063 │ 10 │
13. │ method │ 1.49 GiB │ 82.35 GiB │ 2 │ 13264022063 │ 7 │
14. │ appName │ 1.21 GiB │ 277.60 GiB │ 0 │ 13264022063 │ 22 │
15. │ kind │ 387.87 MiB │ 86.39 GiB │ 0 │ 13264022063 │ 7 │
16. │ status │ 288.08 MiB │ 49.36 GiB │ 1 │ 13264022063 │ 4 │
17. │ tags │ 6.47 MiB │ 18.28 MiB │ 35 │ 13264022063 │ 0 │
└───────────────┴────────────────┴──────────────────┴──────────────────┴─────────────┴─────────────────────┘
Apply TSID to span id and add span id to order by to reduce the size
the span id has a very low compression ratio.