I want to store more than a million records (~50 GB) which are in below key value format. What are the best ways to it with only 16GB RAM?
Key: abc_1234 (randomly generated for each record)
Value: {
name: "abc"
number: 4
add: "ads asf"
}
I want to store more than a million records (~50 GB) which are in below key value format. What are the best ways to it with only 16GB RAM?
Key: abc_1234 (randomly generated for each record)
Value: {
name: "abc"
number: 4
add: "ads asf"
}
Because you only have 16GB of ram, you would need to store the records to disk and access them as a stream. You could do this by writing them to a file such as a plaintext file or a database.
One kind of database you could use is SQLite