[erlang-bugs] efficiency guide

Gunilla Arendt <>
Mon Mar 19 14:03:14 CET 2007


Thanks, Ulf. I guess that dirty_write was the cheapest operation at
the time when the Efficiency Guide was written. Unfortunately, we have
a hard time keeping all of the system documentation up-to-date.

I changed the text to "Even the Mnesia dirty_write_operations...".

Regards,
Gunilla, Erlang/OTP team

Ulf Wiger wrote:
> In the Efficiency Guide,
> 
> http://www.erlang.org/doc/doc-5.5.3/doc/efficiency_guide/tablesDatabases.html#4.1.4
> 
> it says:
> 
> "Even the cheapest Mnesia operations, dirty_write operations,"
> 
> Dirty_write operations are not the cheapest Mnesia operations.
> 
> 
> For example,
> 
>    mnesia:activity(ets, fun() -> mnesia:write(Obj) end)
> 
> is significantly cheaper than
> 
>    mnesia:dirty_write(Obj)
> 
> (and also semantically different, of course...)
> 
> 
> BR,
> Ulf W




More information about the erlang-bugs mailing list