[erlang-questions] Drawbacks to ordered_set

Ulf Wiger (TN/EAB) ulf.wiger@REDACTED
Wed Jun 27 23:16:04 CEST 2007


I can think of only one: scalability.

Ordered sets are O(log N), so they will be a bit 
slower on very large data sets. Given the overhead of
using mnesia transactions, this is usually insignificant.

I practically always use ordered_set tables. (:

BR,
Ulf W

> -----Original Message-----
> From: erlang-questions-bounces@REDACTED 
> [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Joel Reymont
> Sent: den 27 juni 2007 23:01
> To: Erlang Questions
> Subject: [erlang-questions] Drawbacks to ordered_set
> 
> Are there any drawbacks to having an ordered_set ram_copies 
> Mnesia table as opposed to a set one?
> 
> 	Thanks, Joel
> 
> --
> http://topdog.cc      - EasyLanguage to C# compiler
> http://wagerlabs.com  - Blog
> 
> 
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list