News for hackers. Stuff that matters.
Re:Great interview with Erlang developer: Importance of bein... by yariv on Tuesday September 18, 2007 @06:33PM (#56550)
You can add table fragments to overcome this limitation. However, keep in mind that Mnesia isn't designed to store very large datasets. It works best with data sets that fit in RAM.
Re:Great interview with Erlang developer: Importance of bein... by wmf on Tuesday September 18, 2007 @07:17PM (#56563)
But RAM can be substantially larger than 4GB these days.
Re:Great interview with Erlang developer: Importance of bein... by yariv on Tuesday September 18, 2007 @08:32PM (#56588)
True. However, the reason Mnesia is better suited for in-RAM data sets is that its disk-only storage engine, dets, requires a potentially long repair process if the VM crashes and a dets table isn't closed properly. This could keep your table inaccessible for a while after you restart the VM.
Re:Great interview with Erlang developer: Importance of bein... by acgourley on Tuesday September 18, 2007 @07:54PM (#56574)
Heh, the same principal restricting the mnesia database to 4 gigs on a 32 bit system is restricting the ram size to 4 gigs on a 32 bit system. (Some OS/Hardware magic can get around this but for the most systems this is true).