Benchmark test:
http://qdbm.sourceforge.net/benchmark.pdf
Fonctions DBA
Sommaire
- dba_close — Ferme une base DBA
- dba_delete — Efface une ligne dans une base DBA
- dba_exists — Vérifie qu'une clé DBA existe
- dba_fetch — Lit les données liées à une clé DBA
- dba_firstkey — Lit la première clé DBA
- dba_handlers — Liste les gestionnaires DBA disponibles
- dba_insert — Insère une entrée DBA
- dba_key_split — Transforme une représentation de clé DBA par chaîne en une représentation par tableau
- dba_list — Liste tous les fichiers de bases de données DBA ouverts
- dba_nextkey — Lit la clé DBA suivante
- dba_open — Ouvre une base de données DBA
- dba_optimize — Optimise une base DBA
- dba_popen — Ouvre une connexion persistante à une base de données DBA
- dba_replace — Remplace ou insère une ligne DBA
- dba_sync — Synchronise une base de données DBA
Fonctions DBA
doppelbauer at gmail dot com
14-Oct-2006 07:47
14-Oct-2006 07:47
jason
21-Dec-2004 07:33
21-Dec-2004 07:33
Don't make the dumb mistake I did, if you copy the first example at the top and modify it for test, the dba_open specifies "n" which will truncate the database that you are pointing to. Make sure you change it to "r" if you just want to read from an existing dbm file.
kevinphpdotnet at stormtide dot ca
17-Mar-2004 11:10
17-Mar-2004 11:10
When using db4 on redhat 7.3 you may get signal 11s on the apache child processes. The installation test scripts will report that db4 is working correctly as the cli will not sig 11 out. The solution is to check to see if mod_rewrite is installed with apache, if it is either dereference it from libdb.so.3 or build apache without mod rewrite. Once this is done you will no longer have your child processes dying out and db4 will work. If you do not get a sig 11 after dba_open just ignore this comment.
djm at web dot us dot uu dot net
17-Oct-1999 03:28
17-Oct-1999 03:28
With db2, you need to call dba_sync() to get the data written to disk; the examples are missing this. db2 uses
the BTREE file format, not the more common HASH.
BTREE is faster, though, in my tests, so it's a good
choice.
