auto-growing data size

2018-04-11 Thread mark diener
Anybody have any idea on how to have the database file grow until you get to the mapsize instead of pre-allocating the entire mapsize (4GB) upon initialization? mdb_env_set_mapsize() ; I don't mind having an upper limit on the map size, but I think it would be helpful to have it grow to the upper

Re: auto-growing data size

2018-04-11 Thread mark diener
I came across a python write up about lmdb: http://lmdb.readthedocs.io/en/release/#environment-class map_size: Maximum size database may grow to; used to size the memory mapping. If database grows larger than map_size, an exception will be raised and the user must close and reopen Environment. O

Re: auto-growing data size

2018-04-11 Thread Howard Chu
mark diener wrote: I came across a python write up about lmdb: http://lmdb.readthedocs.io/en/release/#environment-class map_size: Maximum size database may grow to; used to size the memory mapping. If database grows larger than map_size, an exception will be raised and the user must close and