[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Initialize ldap with mdb



rammohan ganapavarapu wrote:
Howard,

If it doesnt swap, what will it do in case of db size is larger than actual RAM? also how does it manage the physical RAM? meaning what % system RAM does it use?

It doesn't manage physical RAM at all, the OS does. There is no fixed % of system RAM that it will use, the OS will let it use whatever is available.

is it configurable ?

No.

will it case any OOM issues?

No.

i am trying to migrate from hdb to mdb in prod so trying to understand mdb. How does it work in case of reads and writes?

Thanks,
Ram

On Tue, Oct 3, 2017 at 4:15 PM, Howard Chu <hyc@symas.com <mailto:hyc@symas.com>> wrote:

    Quanah Gibson-Mount wrote:

        --On Tuesday, October 03, 2017 11:47 AM -0700 rammohan ganapavarapu
        <rammohanganap@gmail.com <mailto:rammohanganap@gmail.com>> wrote:


            Ok, but are there any casses where DB size can grow bigger then
            RAM and
            what will happen in that case?


        Same thing that happens in any such case.. it'll start swapping.


    LMDB never uses swap.

-- -- Howard Chu
       CTO, Symas Corp. http://www.symas.com
       Director, Highland Sun http://highlandsun.com/hyc/
       Chief Architect, OpenLDAP http://www.openldap.org/project/
    <http://www.openldap.org/project/>




--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/