Issue 8324 - LMDB - grow file incrementally on Windows
Summary: LMDB - grow file incrementally on Windows
Status: RESOLVED TEST
Alias: None
Product: LMDB
Classification: Unclassified
Component: liblmdb (show other issues)
Version: 0.9.17
Hardware: All All
: --- enhancement
Target Milestone: 1.0.0
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 18:45 UTC by Howard Chu
Modified: 2020-03-16 22:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2015-11-30 18:45:05 UTC
Full_Name: Howard Chu
Version: LMDB 0.9.17
OS: Win32 x64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.236.172)
Submitted by: hyc


Currently LMDB uses the WIN32 API to setup the memory-mapped DB file, which
requires that the file size is equal to the map size. If we use the native NT
API instead it's possible to grow the file incrementally, which will reduce the
number of complaints we get from Windows users who think their disk space is
getting eaten up for no reason.

There is probably a performance reduction from taking this approach, but I
haven't benchmarked it and have no plans to. I frankly don't care and no one is
paying me to care.

Comment 1 OpenLDAP project 2015-11-30 19:34:12 UTC
in mdb.master
Comment 2 Howard Chu 2015-11-30 19:34:12 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Enhancements