Wednesday, March 5, 2008

controlling mnesia db size

genexpire something quick that we rolled together to satisfy our paranoia about out-of-control databases (ram based dbs are especially worrisome). Basically, it periodically runs and enforces a maximum size for each database fragment (which depends upon how many fragments are on the node; in practice this means you get the space of your most crowded node in a distributed config. With fragmentron things are balanced to within one fragment so with enough fragments this is ok.)

Now available on google code.

1 comment:

Kunthar said...

I really wonder what exact db size for DAS in one server.
for ets?
for dets?
mnesia types?
And what it would be the best approach for geographically distributed data centers?
Peace