[erlang-questions] Mnesia Fragmented tables..... feature or bug?

Dan Gudmundsson dgud@REDACTED
Mon Oct 16 14:42:55 CEST 2006


>From the man page:

For efficiency the NObjects is a recommendation only and the result
may contain anything from an empty list to all available results.

/Dan


Eranga Udesh writes:
 > Hi,
 > 
 >  
 > 
 > In a Fragmented Table, when I ran select/4, I get {Objects, Cont}. According
 > to the returned result, it looks to me that select only runs in the First
 > Table Fragment, even though the result count is less than the NObjects value
 > specified. However, if I iterate select/1 in the Cont returned until
 > '$end_of_table', I can get all the other results. I suppose select/4 should
 > do the iteration in all the Table Fragment, until the returned record count
 > becomes > NObjects. Is this a bug or feature in Mnesia Frag Access Module?



More information about the erlang-questions mailing list