Closed orena1 closed 2 months ago
I don't think it is a good idea to have MANY DBs. You just create one DB. encode your date information into your key. Say b'20240625-somekey'
. Then you may want to use column families for different types of data, which also eliminates the need for multiple instances of DBs. Try this, it is more optimal.
Hi, I get this error when tryin to write to a file, I actually have many DB files open, one for each date, and I get:
OSError: Too many open files (os error 24)
I useWriteBatch
and write it every 25k samples to accelerate the writetime