Re: [exim] Tools for SQL export to CDB

Etusivu
Poista viesti
Vastaa
Lähettäjä: Peter Bowyer
Päiväys:  
Vastaanottaja: exim users
Aihe: Re: [exim] Tools for SQL export to CDB
On 17/04/06, David Saez Padros <david@???> wrote:
> the best option is just open a pipe to cdbmake and pass the ascii data
> to it ( see http://cr.yp.to/cdb/cdbmake.html ), you will have to
> recreate the whole table every time. As far as i know is not
> a good idea to modify the structure of an already created cdb database
> as (your have the specs at http://cr.yp.to/cdb/cdb.txt )


Indeed it's not - if you need to update, use some form of dbm instead.
cdb is optimised for write-once, lookup-many - and cdbmake provides
atomic rebuilds.

One of djb's better inventions (IMNAAHO).

Peter

--
Peter Bowyer
Email: peter@???