Hi Bruno,
dbtext works only in cached mode - at startup the file(s) are loaded into memory and all changes are applied only in memory. The cache is eventualy written back in file at shutdown ( normal one not at crash :) ). So, I would say, fits a little but your demands.
Regards, Marian
Bruno Lopes F. Cabral wrote:
Hello
thanks for the tip but I was thinking more on interfacing do Berkeley DB (db3 or db4). it binary tree the datakeys and is very fast for this kind of usage. a text file with thousands of lines seems unneficient to me (although it can be cached, of course)
(here in my setup I don't do mysql in many servers. all of them gets periodically its data from central mysql and fills DB files. this way in case of mysql outage the services would continue working until tech ppl fix it)
Cheers !3runo
Marian Dumitru wrote:
Hi Bruno,
have you took a look at dbtext module - implements a database support via text files and can be used via same DB API as mysql or postgres modules.
regards, Marian
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers