-
Notifications
You must be signed in to change notification settings - Fork 517
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
Can I quickly import rdb data? #412
Comments
Workaround would be to load the rdb into redis, scan the DB, and issue set operations on Garnet. |
Can the follow-up plan do this function? |
This a good idea, to have an rdb-importer for Garnet. Unfortunately, it will require constant maintenance to keep up with any updates to the rdb format. If we had a robust C# rdb parser then we can use the internal Garnet API to convert the data into upsert commands. https://github.com/SamuelFisher/CLRdb https://rdb.fnordig.de/file_format.html |
Very good |
I can write a robust and small RDB (de)serialization .NET library as 3rd-party library in upcoming weeks and publish it on NuGet. Would this work for Garnet? |
I think that would be great idea to start with something as a 3rd-party library and work similarly to what the other projects are doing (i.e. have an rdb to RESP protocol parser or json file) but of course being more up to date. |
Reverse engineering file-formats is right up my alley. This is already much more easier already because I have some source to look at, which normally isn't the case for me 😄 (I can reverse protocols/file-formats out of a black-box if need be) I will of course only look at Redis souce pre license change (I have a fork frozen at last commit before the license change |
By the looks of it, I may have a time slot to tackle this starting UPDATE: gotta postpone a bit. Up for grabs in the meantime. |
Feature request type
sample request
Is your feature request related to a problem? Please describe
After saving the existing redis as rdb, I want to import it into garnet
Describe the solution you'd like
You can import them by running commands
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: