how to get Mnesia table size on secondary node

Fredrik Thulin ft@REDACTED
Mon Jun 27 12:03:57 CEST 2005


On Monday 27 June 2005 11.58, Dan Gudmundsson wrote:
...
>  > mnesia:bad_info_reply/2 return zero. Is 'storage_type' supposed to
>  > be 'unknown' on secondary nodes or is my schema broken?
>
> Storage type is unknown on nodes without actual copies of the table,
> or until the table is loaded locally on that node, if it supposed to
> have a copy.
>
> The table size only returns something useful on tables which resides
> locally, otherwise the size is 0 on that node..

Thank you, that explains it. So my schema was kind of broken since I 
_thought_ I had ram copies on my secondary node ;)

By the way, impressive response time too.

/Fredrik



More information about the erlang-questions mailing list