deleting records from mnesia

Dan Gudmundsson dgud@REDACTED
Mon Aug 7 10:36:29 CEST 2006


The reason is that to maintain equal functionality with the rest of
api (a read after a delete will yield []) either mnesia needs
copy the entire table to it's local transaction store which probably
isn't good if the table is large, or every operation needs to check if
the table is deleted and thus it will have a performance penelty on every
operation.

/Dan

bryan rasmussen writes:
 > > The only change that's required is that
 > > mnesia_schema:do_clear_table/1 is exported.
 > >
 > 
 > Is there any reason that it wasn't exported in the first place?
 > 
 > Cheers,
 > Bryan Rasmussen





More information about the erlang-questions mailing list