[erlang-questions] ets表最大数于mnesia事务问题

=?GB2312?B?087Wx4Kl?= <>
Wed Aug 22 21:00:36 CEST 2012


Hi,

1 -> ×î´óÔOÖÃÊÇ‘ªÔ“ÊÇÓжàÉÙatoms¿ÉÒÔʹÓÃÒòžéÿé_µÄets table•þÐèÒªÓõ½atoms. AtomµÄÉÏÏÞÊÇ1048576 per
runtime.
2 -> ¿ÉÒÔÓÃÒÔρí²é:

()4> length(ets:all()).
90019

3 -> ¶àé_runtimesíÓÃ

Regards,

2012/8/22 ÀÉÏÌÎä <>

>
> ´ó¼ÒºÃ£¬
> ÎÒ½ñÌì×öѹÁ¦²âÊÔÓöµ½Ò»¸öÎÊÌ⣺
> ÔÚºǫ́ÈÕÖ¾ÖмǼÁË "Cannot create an ets table for the local transaction store",
> ÎÒÏÖÔÚÉèÖÃÁË -env ERL_MAX_ETS_TABLES 24000 ²ÎÊýµ«ºǫ́»¹ÊÇ»áÅ׳ö´Ë´íÎó¡£
>
> ÎÒÓÐÒÔÏÂÒÉÎÊ£º
> 1¡¢ÎĵµÉÏ˵ĬÈÏÊÇ1400,µ«Ã»ÓÐ˵ÉÏÏÞÊǶà´ó£¬ÇëÎÊ×î´ó¿ÉÒÔÉèÖÃÊÇʲô£¿
> 2¡¢ÎÒÔõô²é¿´ÎÒÉèÖÃÁË24000 ÒÑÉúЧ£¿
> 3¡¢Ò»¸ömnesiaÊÂÎïÓÃÒ»¸öets±í£¬ÓÉÓÚets¸öÊýÎÊÌ⣬ÕâÑù¾ÍÏÞÖÆÁËÎҵIJ¢·¢²Ù×÷£¬ÇëÎÊÈçºÎ½â¾ö£¿
>
> Thanks
> ÀÉÏÌÎä
>
>
>
> The number of tables stored at one Erlang node is limited. The current
> default limit is approximately 1400 tables. The upper limit can be
> increased by setting the environment variable ERL_MAX_ETS_TABLES before
> starting the Erlang runtime system
>
>
> --
> ֻΪ³É¹¦ÕÒ·½·¨£¬²»ÎªÊ§°ÜÕÒÀíÓÉ
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120822/b79f4a37/attachment.html>


More information about the erlang-questions mailing list