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

Re: Database limitations



At 01:42 PM 8/6/99 -0500, Mazzolini, Mike wrote:
>	Has anyone run into any kind of database size limitation.

Yes, the underlying database restrictions apply.  See GDBM and
BerkeleyDB documentation for specifics.  They are quite high in
both cases. I mostly use BerkeleyDB 2.7.5 (configured to use
the b-tree interface).

>It looks
>like any .ldif file that I import which is greater than 1mb gives me
>problems and won't respond to searches.

ldapadd(1), especially with database write sync enabled (which
is by default), is slow but safe.  ldif2ldbm(8) is much faster,
but doesn't do any naming or schema checks.

I generally load new entries with ldapadd(1).  I use ldif2ldbm
to bulk load LDIF files which are known to contain valid entries.
I load multiple megabyte LDIF files on a regular basis without
problems.

Kurt