Yearning icon indicating copy to clipboard operation
Yearning copied to clipboard

[Question] 查询页面select无响应

Open guofushan opened this issue 2 years ago • 5 comments

描述问题 执行select * from t where column in(,,,,,,)这样的sql,当in的个数很多,比如7000个数值,会导致页面无响应, yearning日志报错如下: [Error] 2023-11-09 20:24:08 (Yearning-go/src/handler/personal/query.go:184) unexpected EOF

复现 重现该行为的步骤:

  1. 查询页面执行select * from t where column in(,,,,,,)类似的sql,in的数值个数在7000个左右;
  2. 页面无响应
  3. yearning日志报错如下: [Error] 2023-11-09 20:24:08 (Yearning-go/src/handler/personal/query.go:184) unexpected EOF

当前使用版本:3.1.6.3

guofushan avatar Nov 09 '23 12:11 guofushan

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] Query page select does not respond

Issues-translate-bot avatar Nov 09 '23 12:11 Issues-translate-bot

大量数据返回会把页面搞的oom 然后未响应,这个目前还没有特别好的解决思路

cookieY avatar Dec 26 '23 07:12 cookieY

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Returning a large amount of data will cause the page to go OOM and then become unresponsive. There is currently no particularly good solution to this problem.

Issues-translate-bot avatar Dec 26 '23 07:12 Issues-translate-bot

大量数据返回会把页面搞的oom 然后未响应,这个目前还没有特别好的解决思路

当前页面查询完后间隔几分钟在查询的时候就一直转圈圈, 要强刷下页面才可以。 这个是websocket的问题吗, 有解吗

lizhong12 avatar May 28 '24 07:05 lizhong12

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Returning a large amount of data will cause the page to go OOM and then become unresponsive. There is currently no particularly good solution to this problem.

After the current page is queried, it will keep spinning in circles for a few minutes during the query. You have to forcefully refresh the page. Is this a websocket problem? Is there any solution?

Issues-translate-bot avatar May 28 '24 07:05 Issues-translate-bot