Benchmarks using Mnesia (or other concurrent programs)

Hakan Mattsson <>
Fri Nov 15 16:07:37 CET 2002

On Thu, 14 Nov 2002, Ulf Wiger wrote:

Uffe> On Thu, 14 Nov 2002, Hakan Mattsson wrote:
Uffe> Håkan>Take a look at the (synthetic) benchmark programs under
Uffe> Håkan>mnesia/examples:
Uffe> Håkan>
Uffe> Håkan>  - 'bench' simulates a HLR-like access pattern
Uffe> Håkan>  - 'mnesia_tpcb' is the TPC-B benchmark (see
Uffe> Håkan>
Uffe> Håkan>/Håkan
Uffe> Have you run mnesia_tpcb yourself 


Uffe> and made comparisons to other known DBMSes?


Uffe> I noticed that mnesia was not present in
Uffe> the lists at, but then TPC-B is listed as obsolete.

The fully conformant configuration of the TPC-B benchmark is not
really suited for memory resident databases due to the amount of
stored data. As the benchmark should be run in 8 hours while each
transaction adds new data to the database the memory gets exhausted
rather rapidly.

I did not mean that Jesper should run the 8 hour configuration with a
fully populated database. Both the 'mnesia_tpcb' and 'bench' programs
are very flexible and can be used in many alternate configurations.


More information about the erlang-questions mailing list