[erlang-questions] some questions about cocurrent accessing of mnesia while doing table fragment

devdoer bird devdoer2@REDACTED
Tue Jun 17 13:37:59 CEST 2008


Hi:
I have  some questions about mnesia table fragment.

While adding a table fragment for the table (say user table for
example),what will happen if  reading or writing operation  the same table
is being performed?Will it cause the table in in-consistent status?

Another question,while performing table fragment operation,the operation :
"
Info=fun(Item)->mnesia:table_info(user,Item) end.
mnesia:activity(sync_dirty,Info,[frag_size],mnesia_frag)
"
 becomes very slow,but the dirty_read operation is quite quick.
Could you someone explain it to me?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080617/45290293/attachment.htm>


More information about the erlang-questions mailing list