Closed zhuwenxing closed 1 month ago
/assign @longjiquan /assign @sunby
PTAL
[2024-09-11 19:20:35 - INFO - ci_test]: expr: TextMatch(title, 'fight') (test_query.py:4532)
[2024-09-11 19:20:37 - INFO - ci_test]: text match query cost 1.6304931640625 res len 11293 res data: ["{'id': '0', 'title': 'fight break free set shoulder last it. fire management economic they quite most camera total.\\nmrs rise citizen owner. hope recognize stand his book money.'}", "{'id': '100024', 'title': 'rate color age time order. pm law interesting itself laugh.\\nresult stage manage must fight whatever head thus. hand network white color community almost owner top.'}", "{'id': '10005', 'title': 'pass produce enough may answer. allow turn fight just and whole.\\nprepare tell heavy garden newspaper month. seven music lawyer thus those amount glass. particular while color seem.'}", "{'id': '100077', 'title': 'baby relate hand herself many. improve event feeling. nothing right fight truth ask fine.\\nfilm north i appear. current as door yet work degree town. finally individual expect forward member.'}", "{'id': '100106', 'title': 'front international answer so fight military. unit political knowledge become name town. reason six ok never half less bad.'}", "{'id': '100204', 'title': 'protect state like performance. similar finish claim character maybe. situation chair throw fight care draw international factor.'}", "{'id': '100222', 'title': 'account physical finally only republican drive firm. place site drug hear anything measure.\\nstage view keep step candidate similar. fight letter blood think hundred particular individual.'}", "{'id': '100326', 'title': 'where face the pattern. each team while wait idea can worry executive.\\nmeeting about themselves old economic. sense food choice fight will.'}", "{'id': '100348', 'title': 'him thing beyond exactly. fight main key recent recently. different surface material development value rather state school.'}", "{'id': '100372', 'title': 'story network agreement page body social. fight modern or respond doctor just development.\\nfigure look picture small down. just speech believe expect may some. describe defense body key.'}"] ... (test_query.py:4539)
[2024-09-11 19:20:37 - INFO - ci_test]: expr: title like '%fight%' (test_query.py:4541)
[2024-09-11 19:20:39 - INFO - ci_test]: like match query cost 1.6840407848358154 res len 11293 res data: ["{'id': '0', 'title': 'fight break free set shoulder last it. fire management economic they quite most camera total.\\nmrs rise citizen owner. hope recognize stand his book money.'}", "{'id': '100024', 'title': 'rate color age time order. pm law interesting itself laugh.\\nresult stage manage must fight whatever head thus. hand network white color community almost owner top.'}", "{'id': '10005', 'title': 'pass produce enough may answer. allow turn fight just and whole.\\nprepare tell heavy garden newspaper month. seven music lawyer thus those amount glass. particular while color seem.'}", "{'id': '100077', 'title': 'baby relate hand herself many. improve event feeling. nothing right fight truth ask fine.\\nfilm north i appear. current as door yet work degree town. finally individual expect forward member.'}", "{'id': '100106', 'title': 'front international answer so fight military. unit political knowledge become name town. reason six ok never half less bad.'}", "{'id': '100204', 'title': 'protect state like performance. similar finish claim character maybe. situation chair throw fight care draw international factor.'}", "{'id': '100222', 'title': 'account physical finally only republican drive firm. place site drug hear anything measure.\\nstage view keep step candidate similar. fight letter blood think hundred particular individual.'}", "{'id': '100326', 'title': 'where face the pattern. each team while wait idea can worry executive.\\nmeeting about themselves old economic. sense food choice fight will.'}", "{'id': '100348', 'title': 'him thing beyond exactly. fight main key recent recently. different surface material development value rather state school.'}", "{'id': '100372', 'title': 'story network agreement page body social. fight modern or respond doctor just development.\\nfigure look picture small down. just speech believe expect may some. describe defense body key.'}"] ... (test_query.py:4548)
[2024-09-11 19:20:39 - INFO - ci_test]: text match cost 1.6304931640625, like match cost 1.6840407848358154 (test_query.py:4550)
[2024-09-11 19:20:39 - INFO - ci_test]: expr: TextMatch(text, 'sure') (test_query.py:4532)
[2024-09-11 19:21:25 - INFO - ci_test]: text match query cost 46.57398080825806 res len 0 res data: [] (test_query.py:4539)
[2024-09-11 19:21:25 - INFO - ci_test]: expr: text like '%sure%' (test_query.py:4541)
[2024-09-11 19:21:26 - INFO - ci_test]: like match query cost 0.5035851001739502 res len 0 res data: [] (test_query.py:4548)
[2024-09-11 19:21:26 - INFO - ci_test]: text match cost 46.57398080825806, like match cost 0.5035851001739502 (test_query.py:4550)
when no result is hit. then the perf of text match is very bad log: querynode.log
You can also get log from loki cluster: 4am ns: chaos-testing pod
text-match-test-v12-etcd-0 1/1 Running 0 172m 10.104.21.228 4am-node24 <none> <none>
text-match-test-v12-etcd-1 1/1 Running 0 172m 10.104.23.29 4am-node27 <none> <none>
text-match-test-v12-etcd-2 1/1 Running 0 172m 10.104.30.161 4am-node38 <none> <none>
text-match-test-v12-kafka-0 2/2 Running 2 (172m ago) 172m 10.104.21.231 4am-node24 <none> <none>
text-match-test-v12-kafka-1 2/2 Running 2 (171m ago) 172m 10.104.23.32 4am-node27 <none> <none>
text-match-test-v12-kafka-2 2/2 Running 2 (171m ago) 172m 10.104.19.3 4am-node28 <none> <none>
text-match-test-v12-kafka-exporter-7bf5767c58-pqbsc 1/1 Running 5 (171m ago) 172m 10.104.14.65 4am-node18 <none> <none>
text-match-test-v12-kafka-zookeeper-0 1/1 Running 0 172m 10.104.21.230 4am-node24 <none> <none>
text-match-test-v12-kafka-zookeeper-1 1/1 Running 0 172m 10.104.23.33 4am-node27 <none> <none>
text-match-test-v12-kafka-zookeeper-2 1/1 Running 0 172m 10.104.19.4 4am-node28 <none> <none>
text-match-test-v12-milvus-datanode-7654d47bf5-v86jq 1/1 Running 0 170m 10.104.14.66 4am-node18 <none> <none>
text-match-test-v12-milvus-indexnode-76b6886fd5-j4wxl 1/1 Running 0 150m 10.104.14.92 4am-node18 <none> <none>
text-match-test-v12-milvus-mixcoord-5568d97cf-87f9x 1/1 Running 0 170m 10.104.13.180 4am-node16 <none> <none>
text-match-test-v12-milvus-proxy-658db7f88c-cdwx9 1/1 Running 0 170m 10.104.1.10 4am-node10 <none> <none>
text-match-test-v12-milvus-querynode-0-965b9cc44-rn2cr 1/1 Running 1 (4m49s ago) 170m 10.104.4.25 4am-node11 <none> <none>
text-match-test-v12-minio-0 1/1 Running 0 172m 10.104.21.229 4am-node24 <none> <none>
text-match-test-v12-minio-1 1/1 Running 0 172m 10.104.30.163 4am-node38 <none> <none>
text-match-test-v12-minio-2 1/1 Running 0 172m 10.104.19.253 4am-node28 <none> <none>
text-match-test-v12-minio-3 1/1 Running 0 172m 10.104.23.30 4am-node27 <none> <none>
We should use lower consistency level to test the performance. /unassign /assign @zhuwenxing
Is there an existing issue for this?
Environment
Current Behavior
test code
Expected Behavior
The performance of text match much better than like
Steps To Reproduce
No response
Milvus Log
log.log
Anything else?
No response