[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SAGE] simple database problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brad Knowles wrote:
[snip]
| Among other things, I know that db will try to cache the entire
| database in memory, which may or may not be a good thing, depending on
| your application (although in your case, I think it would probably be
| good). I also know that db gives you lots of options in terms of
| storage methods used, and b-tree may be best for some applications,
| while a hash may be better for others. Contrariwise, *dbm doesn't give
| you any storage method choices that I know of.
[snip]
A DB_CONFIG file can control how much of the database is cached in
memory and on disk. It gives you other tunables as well, many of which
I'm not familiar with. If you use OpenLDAP with a BDB backend, for
example, you *must* have one of these files to control your LDAP
server's performance. See recommended OpenLDAP settings at
http://www.stanford.edu/services/directory/openldap/configuration/bdb-config.html
Yours,
John
- --
~ John Borwick
~ System Administrator
~ Wake Forest University | web http://www.wfu.edu/~borwicjh
~ Winston-Salem, NC, USA | GPG key ID 0x797326D5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFB2qDd/81sF3lzJtURAhooAJ9oW7dT5NlriL4aO83LLIBrEAM6dACfaC8b
ScOVJJJ+Nawllr9jZXs3bNs=
=1wv+
-----END PGP SIGNATURE-----