Comments (3)
http://www.lmdb.tech/doc/group__mdb.html#gaa2506ec8dab3d969b0e609cd82e619e5
from lmdbjava.
I'm not the author of lmdb or lmdbjava but here are my thoughts.
It's a function of how lmdb works.
For many use cases this is not an issue at all. The size sets the memory map size and uses a sparse file so it doesn't take up as much space as you set, only that you use.
If it's an issue (it isn't for my use cases) you can detect when size goes above a certain threshold and copy/create a new larger file based db. Others use rolling databases for time series data or use for archival / immutable data.
from lmdbjava.
If it's an issue (it isn't for my use cases) you can detect when size goes above a certain threshold and copy/create a new larger file based db.
You just need to re-open the database with larger settings if required. I've never encountered it as an issue in practical situations. My larger workloads have a "data collection" phase where it's basically random writes, then an end of day write of the database so the keys are in perfect order. That reduces the size of the long-term file as well.
from lmdbjava.
Related Issues (20)
- Is it possible to make Dbi constructor accessible from outside? HOT 1
- Version 0.8.3 broken...? HOT 20
- ByteBuf.nioBuffer() returns a buffer with all zeros HOT 2
- Is lmdb has some problems which exists in go version? HOT 5
- mdb_page_flush crash HOT 2
- Having issues allocating a reasonable map size on Windows HOT 1
- There was an error in the forked process HOT 2
- Entries not having expected values HOT 6
- New release date? HOT 5
- lmdb-java throws UnsatisfiedLinkError on M2 macOS HOT 4
- CursorIterable/KeyRange broken in v0.9.0 HOT 2
- Crash with 0.7.0 when maxNumReaders exceeded
- ByteBuffer sorting changed in 0.9.0 HOT 12
- Page Full Exception on Apple Silicon
- EINVAL 22 while deleting entries with a cursor HOT 1
- EIO Input/Output error (5) HOT 2
- `could not load FFI provider` (Centos 7 and lmdbjava 0.8.3)
- Env$MapFullException while deleting data from cursor HOT 9
- Metrics/Statistics Present for LMDB Java HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lmdbjava.