-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Storing data in memory #2727
Comments
Found it here: Line 130 in 016136e
|
Unfortunately could not get it to work, any guidance would be appreciated |
I'm assuming your node just sat there with a message like
We do support in-memory engines (as you noticed) but have been using them mostly for our unit tests. The problem in practice is that while you can start such a node, you can't bootstrap one (that would mean running One way to get around it is bootstrapping with an on-disk store which can be removed once you have an otherwise in-mem cluster running, but honest support for this likely entails changes to how the initialization process is exposed through the command line tool. So, short answer - what you're asking for is going to work at some point, but not yet. You can have a single-node in-mem instance for playing around with though; see the |
Thanks for that response, that's exactly the same conclusion that I arrived that. |
This is now possible thanks to #4027.
(or possibly with |
Is there a better way to do this than tmpfs and is it even worth doing this or are there better solutions when I don't care about the data being durable?
I see this: https://github.com/cockroachdb/cockroach/blob/master/storage/engine/in_mem.go
The text was updated successfully, but these errors were encountered: