Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分表问题 #626

Open
FreesPaul opened this issue Jun 29, 2023 · 1 comment
Open

分表问题 #626

FreesPaul opened this issue Jun 29, 2023 · 1 comment

Comments

@FreesPaul
Copy link

1.分表时查询不支持where里有表名
2.分表使用limit和offset,kingshard将在分表的每一个表中查询limit+offset到内存中操作,当offset过大时,内存完全顶不住,并且查询性能完全不如不分表

@FreesPaul
Copy link
Author

select * from mp_p_record_202304 where event_type != 20 and create_time >= 1680278400 and create_time <= 1685375999 and user_id = 5 order by occur_time desc limit 336358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant