Mnesia and table limits

It seems that Mnesia tables on disk have a 2 GB limit on size (at least when using DETS as engine), but it is also said that Mnesia has built-in support for table fragmentation.
Does this mean that disk ejabberd tables are limited to 2 GB when using Mnesia ? Or does it automatically fragment tables when they get to this limit ?
Thanks for any help,

Wesley

wesleyer wrote: it is also

wesleyer wrote:

it is also said that Mnesia has built-in support for table fragmentation.
Does this mean that disk ejabberd tables are limited to 2 GB when using Mnesia ? Or does it automatically fragment tables when they get to this limit ?

The ejabberd source code doesn't implement mnea fragmentation itself. And reading the Erlang docs, it seems the Erlang VM does not perform fragmentation automatically, either:
http://www.erlang.org/doc/apps/mnesia/Mnesia_chap5.html#id73152

Note that the ejabberd modules that typically use big mnesia tables, you can replace them with mod_X_odbc, to use an external SQL database.

Syndicate content