I sometimes get mnesia overloaded
error message while using primarily async_dirty
queries and ram_copies
tables. So to understand what is going on I want to get more information about mnesia state such as number of queries per second or the size of query queue. I've searched a lot and found two probable approaches.
The first is mnesia:system_info
function that can return a list of current transactions. But it seems not able to provide an information about non-transactional queries.
The second is subscribing to mnesia events, but using this way some active background processing is needed as well as manual subscribing to each table events.
Are there better ways of getting this information?