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

RE: berkeley db max filesize

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of James Bourne

> Hi all,
> I have a couple of questions inwhich I desperately need absolute answers
> (yes, I know, there are no absolutes).

> First, maximum filesize for berkeley DB.  What is it as it pretains to
> openldap?  In the FAQ on their site it says > 2Gb for sleepycat dbs if the
> FS supports it (which it does, ext3 under Linux 2.4.18 at this time).

This is mainly a Berkeley-specific question:

The default page size used by libldbm is 4096 bytes, which gives you 2^44
(16 terabytes) as the maximum database size. If you need more, you can
redefine the DEFAULT_DB_PAGE_SIZE macro and recompile libldbm. I doubt
that you'll need to do this any time soon.

> -- 
> James Bourne, Supervisor Data Centre Operations
> Mount Royal College, Calgary, AB, CA
> www.mtroyal.ab.ca
> *******************************************************************
> ***********
> This communication is intended for the use of the recipient to which it is
> addressed, and may contain confidential, personal, and or privileged
> information. Please contact the sender immediately if you are not the
> intended recipient of this communication, and do not copy, distribute, or
> take action relying on it. Any communication received in error, or
> subsequent reply, should be deleted or destroyed.
> *******************************************************************
> ***********

Oh damn, maybe I should have deleted this instead of replying...

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support