[erlang-questions] Mnesia slow down system performance when table size reaches a certain value

Dan Gudmundsson dangud@REDACTED
Wed Sep 5 10:33:40 CEST 2012


Is it a bag table, If so how unique are your keys?

Do you have an index on table, if so how unique are the secondary keys?

Insertion time in bags are linear, (and indices are bag tables).

/Dan

On Wed, Sep 5, 2012 at 8:02 AM, Solomon <solomon.wzs@REDACTED> wrote:
> I set up a web server with erlang and use mnesia to save the session.
> I test server, at beginning, system run well and cpu load were about 90%.
> Whe session table size reached a certain value, most web requests were
> failure, and cpu were idle. I delete some records in session table, but it
> were not worked, then I used mnesia:clear_table/1 to clear session, system
> run normal again.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list