すべてのプロダクト
Search
ドキュメントセンター

Lindorm:クエリのテスト結果

最終更新日:Mar 28, 2026

LindormTSDB のクエリパフォーマンスベンチマークを、4 つの異なるサイズのクラスターで測定しました。すべてのテストは、同時書き込み操作のない分離された環境で実行されました。結果は読み取り専用のピークスループットを表します。時系列データの量が多い場合、書き込みと読み取りの操作が同時に実行される場合、またはクエリが多数の時系列とタイムポイントをスキャンする場合には、クエリのパフォーマンスは低下します。キャパシティを決定する前に、これらの結果を実際のビジネスワークロードと合わせて評価してください。

テストデータセット

プロパティ
デバイス100
デバイスあたりのメトリック101 の測定値
レポート間隔10 秒
データ期間デバイスあたり 1 日

クエリタイプ

6 つのクエリパターンがテストされます。すべてのクエリは、cpu.usage_user メトリックを対象とします。

クエリタイプ測定内容SQL
1-host-1-hr-raw1 時間にわたる 1 デバイスからのすべての生の値select time, usage_user from cpu where (hostname = 'host_17') and time >=1514837782646 and time < 1514841382646 ;
1-host-1-hr1 時間にわたる 1 デバイスからの 1 分あたりの最大値select time, max(usage_user) as max_usage_user from cpu where (hostname = 'host_17') and time >=1514837782646 and time < 1514841382646 sample by 1m
1-host-12-hr-raw12 時間にわたる 1 デバイスからのすべての生の値select time, usage_user from cpu where (hostname = 'host_0') and time >=1514787382646 and time < 1514830582646;
1-host-12-hr12 時間にわたる 1 デバイスからの 1 分あたりの最大値select time, max(usage_user) as max_usage_user from cpu where (hostname = 'host_0') and time >=1514787382646 and time < 1514830582646 sample by 1m ;
1-host-latest1 デバイスからの最新値select time, latest(usage_user) as latest_usage_user from cpu where (hostname = 'host_50') sample by 0
8-host-latest8 デバイスからの最新値select time, latest(usage_user) as latest_usage_user from cpu where (hostname = 'host_64' or hostname = 'host_80' or hostname = 'host_21' or hostname = 'host_5' or hostname = 'host_79' or hostname = 'host_47' or hostname = 'host_25' or hostname = 'host_18') sample by 0

パフォーマンスメトリック

メトリック説明
queryType上記の表で説明されているクエリタイプ
worker同時実行クエリ数
qpsクエリ/秒 (QPS)
max_cpuピーク CPU 使用率 (%)
max_memピークメモリ使用量 (%)

テスト結果

重要

以下の各結果テーブルは、LindormTSDB 上でテストワークロードのみを実行して測定されたものです。テスト中に他のワークロードは実行されていません。

クラスター 1:3 ノード、4 コア、16 GB メモリ

QPS は、ワーカー数が 16 から 50 に増えるにつれて良好にスケールし、その後は横ばいになります。短期間のクエリ (1-host-1-hr) は最大 1,887 QPS に達します。複数デバイスの最新値クエリ (8-host-latest) は CPU バウンドであり、すべての同時実行レベルで CPU 使用率が 97% に達します。

queryTypeworkerqpsmax_cpumax_mem
1-host-1-hr161,420.9686.9548.08
1-host-1-hr501,865.5083.4549.32
1-host-1-hr1001,887.0081.7148.95
1-host-1-hr2001,846.0082.9948.87
1-host-1-hr-raw161,324.8079.5450.34
1-host-1-hr-raw501,722.0086.4250.96
1-host-1-hr-raw1001,737.0086.3650.92
1-host-1-hr-raw2001,752.0087.0950.88
1-host-12-hr16497.4486.7748.81
1-host-12-hr50555.0095.0548.81
1-host-12-hr100571.0094.9748.90
1-host-12-hr200584.0094.7749.11
1-host-12-hr-raw16286.5682.2051.04
1-host-12-hr-raw50328.0095.3451.14
1-host-12-hr-raw100330.0096.5151.21
1-host-12-hr-raw200334.0096.7051.56
1-host-latest161,025.1281.7949.34
1-host-latest501,146.0093.3649.42
1-host-latest1001,144.0092.4149.36
1-host-latest2001,164.0092.8949.44
8-host-latest16175.2096.6549.64
8-host-latest50180.0097.0149.95
8-host-latest100181.0096.5950.05
8-host-latest200182.0096.7350.15

クラスター 2:3 ノード、8 コア、32 GB メモリ

コア数とメモリを倍増させると、ほとんどのクエリタイプで QPS がほぼ倍増します。1-host-1-hr クエリはワーカー数 200 で 3,584 QPS に達し、8-host-latest は 472 QPS に達します。クラスター 1 と比較してメモリ使用量が大幅に低下しており、これはメモリの余剰が大きくなったことを反映しています。

queryTypeworkerqpsmax_cpumax_mem
1-host-1-hr162,426.5679.4531.83
1-host-1-hr503,363.5071.5833.50
1-host-1-hr1003,530.0073.8035.44
1-host-1-hr2003,584.0070.1235.43
1-host-1-hr-raw162,181.9252.6736.10
1-host-1-hr-raw503,231.5069.7736.20
1-host-1-hr-raw1003,371.0072.8836.19
1-host-1-hr-raw2003,348.0069.8035.08
1-host-12-hr16877.4459.5735.66
1-host-12-hr501,132.5082.3735.51
1-host-12-hr1001,145.0084.1035.55
1-host-12-hr2001,152.0084.6935.62
1-host-12-hr-raw16445.4458.5535.29
1-host-12-hr-raw50641.0084.9835.31
1-host-12-hr-raw100668.0090.7935.35
1-host-12-hr-raw200670.0091.9835.42
1-host-latest161,785.4451.2035.80
1-host-latest502,273.5064.8635.92
1-host-latest1002,280.0064.9735.82
1-host-latest2002,284.0065.0135.85
8-host-latest16439.0485.0435.98
8-host-latest50471.5091.7136.00
8-host-latest100472.0092.4236.08
8-host-latest200470.0093.1036.09

クラスター 3:3 ノード、16 コア、64 GB メモリ

コア数を増やすと QPS が大幅にスケールします。1-host-1-hr クエリはワーカー数 200 で 8,902 QPS に達します。メモリ使用量は 28% 未満に留まっており、データセットがメモリに十分に収まることを示しています。ほとんどのクエリタイプで、同時実行数を増やすとスループットが向上し続けます。

queryTypeworkerqpsmax_cpumax_mem
1-host-1-hr163,287.8449.7725.83
1-host-1-hr506,543.5056.0626.45
1-host-1-hr1007,713.0059.8126.48
1-host-1-hr2008,902.0075.2326.47
1-host-1-hr-raw162,857.6032.4226.89
1-host-1-hr-raw505,173.0050.4426.96
1-host-1-hr-raw1006,177.0056.8826.95
1-host-1-hr-raw2006,530.0059.2026.98
1-host-12-hr161,148.4838.6926.52
1-host-12-hr501,920.5071.1826.57
1-host-12-hr1002,181.0082.7926.62
1-host-12-hr2002,398.0091.4426.64
1-host-12-hr-raw16539.2033.7827.04
1-host-12-hr-raw50704.5046.8727.12
1-host-12-hr-raw100612.0041.7627.17
1-host-12-hr-raw200694.0046.8927.24
1-host-latest162,141.6040.2426.69
1-host-latest503,602.0077.8426.69
1-host-latest1004,098.0091.8726.72
1-host-latest2004,356.0094.9426.71
8-host-latest16541.2881.8726.77
8-host-latest50599.5097.5226.77
8-host-latest100648.0097.8526.88
8-host-latest200832.0097.4026.94

クラスター 4:3 ノード、32 コア、128 GB メモリ

最大のクラスターが最高のスループットを提供します。1-host-1-hr クエリはワーカー数 200 で 15,072 QPS に達し、これは同じ同時実行数におけるクラスター 1 の約 8 倍のスループットです。1-host-latest クエリは 9,634 QPS に達します。単一ホストのクエリでは CPU 使用率が低く抑えられており、混合ワークロードに対応できる余地が残されています。

queryTypeworkerqpsmax_cpumax_mem
1-host-1-hr163,543.0424.2528.33
1-host-1-hr509,351.0034.1428.89
1-host-1-hr10012,567.0046.4228.92
1-host-1-hr20015,072.0057.2728.94
1-host-1-hr-raw162,811.2015.4129.11
1-host-1-hr-raw506,086.5027.8529.13
1-host-1-hr-raw1007,881.0036.4429.14
1-host-1-hr-raw2008,762.0040.9729.17
1-host-12-hr161,394.2418.8528.91
1-host-12-hr503,317.5049.8928.96
1-host-12-hr1004,160.0067.1328.96
1-host-12-hr2004,808.0079.0228.96
1-host-12-hr-raw16542.5617.3129.22
1-host-12-hr-raw50826.5024.9629.24
1-host-12-hr-raw100669.0023.5529.28
1-host-12-hr-raw200772.0024.8629.32
1-host-latest162,600.0016.0428.97
1-host-latest506,590.0046.1128.98
1-host-latest1008,516.0065.6028.99
1-host-latest2009,634.0075.9328.98
8-host-latest16949.1255.9129.03
8-host-latest501,525.5083.4929.04
8-host-latest1001,710.0093.1629.06
8-host-latest2001,758.0095.5429.09

パフォーマンスのまとめ

各クラスターとクエリタイプにおける、すべての同時実行レベルでのピーク QPS です。ワーカー数を増やしても QPS が常に向上するとは限りません。結果は CPU の飽和状態に応じて横ばいになったり、変動したりします。

クエリタイプクラスター 1 (4c/16G)クラスター 2 (8c/32G)クラスター 3 (16c/64G)クラスター 4 (32c/128G)
1-host-1-hr1,8873,5848,90215,072
1-host-1-hr-raw1,7523,3716,5308,762
1-host-12-hr5841,1522,3984,808
1-host-12-hr-raw334670704.50826.50
1-host-latest1,1642,2844,3569,634
8-host-latest1824728321,758