全部产品
Search
文档中心

Lindorm:Hasil pengujian query

更新时间:Jun 24, 2025

Topik ini menjelaskan cara menguji kinerja query dan menyediakan hasil uji sampel untuk query yang dilakukan pada kluster Lindorm yang berbeda. Pengujian ini dilakukan dalam lingkungan optimal tanpa operasi penulisan data. Kinerja query dapat menurun dalam skenario seperti volume data deret waktu besar, banyak operasi penulisan konkuren, atau pemindaian sejumlah besar deret waktu dan titik waktu. Kami menyarankan Anda menganalisis skenario bisnis Anda sebelum menjalankan pengujian. Hasil pengujian hanya bersifat referensi.

Jumlah data dasar yang akan di-query

  • Jumlah perangkat adalah 100.

  • Setiap perangkat melaporkan 101 nilai pengukuran dengan interval 10 detik.

  • Data yang dikumpulkan dalam satu hari dilaporkan.

Contoh query

Uji beberapa jenis query. Item berikut menjelaskan jenis query yang dapat dilakukan:

  • 1-host-1-hr-raw: Meminta semua nilai dari metrik cpu.usage_user yang dilaporkan oleh perangkat tertentu dalam periode 1 jam tertentu.

select time, usage_user from cpu where (hostname = 'host_17') and time >=1514837782646 and time < 1514841382646 ;

  • 1-host-1-hr: Meminta nilai maksimum dari metrik cpu.usage_user yang dilaporkan oleh perangkat tertentu setiap menit selama periode 1 jam tertentu.

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-raw: Meminta semua nilai dari metrik cpu.usage_user yang dilaporkan dari perangkat tertentu dalam periode 12 jam tertentu.

select time, usage_user from cpu where (hostname = 'host_0') and time >=1514787382646 and time < 1514830582646;

  • 1-host-12-hr: Meminta nilai maksimum dari metrik cpu.usage_user yang dilaporkan setiap menit oleh perangkat tertentu selama periode 12 jam tertentu.

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-latest: Meminta nilai terbaru dari metrik cpu.usage_user yang dilaporkan oleh perangkat tertentu.

select  time, latest(usage_user) as latest_usage_user from cpu where (hostname = 'host_50') sample by 0

  • 8-host-latest: Meminta nilai terbaru dari metrik cpu.usage_user yang dilaporkan oleh delapan perangkat.

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

Metrik kinerja

Bagian ini menjelaskan metrik kinerja yang dipantau selama pengujian query.

  • queryType: Jenis query. Untuk informasi lebih lanjut, lihat deskripsi pada bagian "Contoh Query".

  • worker: Jumlah query konkuren yang dilakukan.

  • qps: Jumlah query SQL yang dilakukan per detik.

  • max_cpu: Utilisasi CPU maksimum dalam persentase.

  • max_mem: penggunaan memori maksimum dalam persentase.

Hasil pengujian

null

Hasil query berikut diukur secara terpisah ketika hanya pengujian dijalankan pada LindormTSDB. Tidak ada beban kerja lain yang dijalankan pada LindormTSDB.

Tabel 1 Kluster 1 (3 node dengan spesifikasi 4 core dan 16 GB memori)

queryType

worker

qps

max_cpu

max_mem

1-host-1-hr

16

1.420,96

86,95

48,08

1-host-1-hr

50

1.865,50

83,45

49,32

1-host-1-hr

100

1.887,00

81,71

48,95

1-host-1-hr

200

1.846,00

82,99

48,87

1-host-1-hr-raw

16

1.324,80

79,54

50,34

1-host-1-hr-raw

50

1.722,00

86,42

50,96

1-host-1-hr-raw

100

1.737,00

86,36

50,92

1-host-1-hr-raw

200

1.752,00

87,09

50,88

1-host-12-hr

16

497,44

86,77

48,81

1-host-12-hr

50

555,00

95,05

48,81

1-host-12-hr

100

571,00

94,97

48,90

1-host-12-hr

200

584,00

94,77

49,11

1-host-12-hr-raw

16

286,56

82,20

51,04

1-host-12-hr-raw

50

328,00

95,34

51,14

1-host-12-hr-raw

100

330,00

96,51

51,21

1-host-12-hr-raw

200

334,00

96,70

51,56

1-host-latest

16

1.025,12

81,79

49,34

1-host-latest

50

1.146,00

93,36

49,42

1-host-latest

100

1.144,00

92,41

49,36

1-host-latest

200

1.164,00

92,89

49,44

8-host-latest

16

175,20

96,65

49,64

8-host-latest

50

180,00

97,01

49,95

8-host-latest

100

181,00

96,59

50,05

8-host-latest

200

182,00

96,73

50,15

Tabel 2 Kluster 2 (3 node dengan spesifikasi 8 core dan 32 GB memori)

queryType

worker

qps

max_cpu

max_mem

1-host-1-hr

16

2.426,56

79,45

31,83

1-host-1-hr

50

3.363,50

71,58

33,50

1-host-1-hr

100

3.530,00

73,80

35,44

1-host-1-hr

200

3.584,00

70,12

35,43

1-host-1-hr-raw

16

2.181,92

52,67

36,10

1-host-1-hr-raw

50

3.231,50

69,77

36,20

1-host-1-hr-raw

100

3.371,00

72,88

36,19

1-host-1-hr-raw

200

3.348,00

69,80

35,08

1-host-12-hr

16

877,44

59,57

35,66

1-host-12-hr

50

1.132,50

82,37

35,51

1-host-12-hr

100

1.145,00

84,10

35,55

1-host-12-hr

200

1.152,00

84,69

35,62

1-host-12-hr-raw

16

445,44

58,55

35,29

1-host-12-hr-raw

50

641,00

84,98

35,31

1-host-12-hr-raw

100

668,00

90,79

35,35

1-host-12-hr-raw

200

670,00

91,98

35,42

1-host-latest

16

1.785,44

51,20

35,80

1-host-latest

50

2.273,50

64,86

35,92

1-host-latest

100

2.280,00

64,97

35,82

1-host-latest

200

2.284,00

65,01

35,85

8-host-latest

16

439,04

85,04

35,98

8-host-latest

50

471,50

91,71

36,00

8-host-latest

100

472,00

92,42

36,08

8-host-latest

200

470,00

93,10

36,09

Tabel 3 Kluster 3 (3 node dengan spesifikasi 16 core dan 64 GB memori)

queryType

worker

qps

max_cpu

max_mem

1-host-1-hr

16

3.287,84

49,77

25,83

1-host-1-hr

50

6.543,50

56,06

26,45

1-host-1-hr

100

7.713,00

59,81

26,48

1-host-1-hr

200

8.902,00

75,23

26,47

1-host-1-hr-raw

16

2.857,60

32,42

26,89

1-host-1-hr-raw

50

5.173,00

50,44

26,96

1-host-1-hr-raw

100

6.177,00

56,88

26,95

1-host-1-hr-raw

200

6.530,00

59,20

26,98

1-host-12-hr

16

1.148,48

38,69

26,52

1-host-12-hr

50

1.920,50

71,18

26,57

1-host-12-hr

100

2.181,00

82,79

26,62

1-host-12-hr

200

2.398,00

91,44

26,64

1-host-12-hr-raw

16

539,20

33,78

27,04

1-host-12-hr-raw

50

704,50

46,87

27,12

1-host-12-hr-raw

100

612,00

41,76

27,17

1-host-12-hr-raw

200

694,00

46,89

27,24

1-host-latest

16

2.141,60

40,24

26,69

1-host-latest

50

3.602,00

77,84

26,69

1-host-latest

100

4.098,00

91,87

26,72

1-host-latest

200

4.356,00

94,94

26,71

8-host-latest

16

541,28

81,87

26,77

8-host-latest

50

599,50

97,52

26,77

8-host-latest

100

648,00

97,85

26,88

8-host-latest

200

832,00

97,40

26,94

Tabel 4 Kluster 4 (3 node dengan spesifikasi 32 core dan 128 GB memori)

queryType

worker

qps

max_cpu

max_mem

1-host-1-hr

16

3.543,04

24,25

28,33

1-host-1-hr

50

9.351,00

34,14

28,89

1-host-1-hr

100

12.567,00

46,42

28,92

1-host-1-hr

200

15.072,00

57,27

28,94

1-host-1-hr-raw

16

2.811,20

15,41

29,11

1-host-1-hr-raw

50

6.086,50

27,85

29,13

1-host-1-hr-raw

100

7.881,00

36,44

29,14

1-host-1-hr-raw

200

8.762,00

40,97

29,17

1-host-12-hr

16

1.394,24

18,85

28,91

1-host-12-hr

50

3.317,50

49,89

28,96

1-host-12-hr

100

4.160,00

67,13

28,96

1-host-12-hr

200

4.808,00

79,02

28,96

1-host-12-hr-raw

16

542,56

17,31

29,22

1-host-12-hr-raw

50

826,50

24,96

29,24

1-host-12-hr-raw

100

669,00

23,55

29,28

1-host-12-hr-raw

200

772,00

24,86

29,32

1-host-latest

16

2.600,00

16,04

28,97

1-host-latest

50

6.590,00

46,11

28,98

1-host-latest

100

8.516,00

65,60

28,99

1-host-latest

200

9.634,00

75,93

28,98

8-host-latest

16

949,12

55,91

29,03

8-host-latest

50

1.525,50

83,49

29,04

8-host-latest

100

1.710,00

93,16

29,06

8-host-latest

200

1.758,00

95,54

29,09