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

Memory engine is not working? #14

Open
ventaquil opened this issue Sep 23, 2024 · 1 comment
Open

Memory engine is not working? #14

ventaquil opened this issue Sep 23, 2024 · 1 comment

Comments

@ventaquil
Copy link

I am experimenting with chDB and Memory engine - Memory Table Engine.

It looks like it's not working at all.

All experiments are made in Docker container.

# go version
go version go1.22.2 linux/amd64
# /root/go/bin/chdb-go 'SELECT version()'
"24.5.1.1"
# /root/go/bin/chdb-go
Enter your SQL commands; type 'exit' to quit.
:) CREATE DATABASE testdb;

:) USE testdb;

:) CREATE TABLE memory (i UInt32) ENGINE = Memory SETTINGS min_rows_to_keep = 100, max_rows_to_keep = 1000;

:) INSERT INTO memory SELECT * FROM numbers(0, 1600);

:) SELECT total_bytes, total_rows FROM system.tables WHERE name = 'memory' and database = currentDatabase();
0,0
@auxten
Copy link
Member

auxten commented Sep 24, 2024

Current chdb session implementation does not support Memory Engine. We are implementing the new one. See chdb-io/chdb#197

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

2 participants