-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Reimplement the session mode #197
Comments
All issues with label Session is related to this feature |
Here is the rough plan:
|
👋 @auxten Would it also support stale parts cleanup #107? And, in general, full use of MegreTrees (writing, parallel reading, etc.) https://github.com/orgs/chdb-io/discussions/210#discussioncomment-8863924 |
Yes, It's a serious problem in current impl. In this new impl, there will be some background threads doing the merge work periodically. |
Current chDB(till v2.0.2) relys on temp disk storage to keep the session data.
Everytime
session.query
runs almost everything in memory will be recreated and reinit which caused a lot of state problems like:Also some feature implemented and bugs walked around before also need a better way to fix:
Some chDB contributor also gave a try to make session better:
Originally posted by l1t1 February 7, 2024
Here is how clickhouse-local interactive mode works:
The good part are:
query
function call, Performance should be much better than current implementationThe text was updated successfully, but these errors were encountered: