[erlang-questions] Mnesia disc_copies
Fri Sep 25 17:26:40 CEST 2015
>> I feel like a bit of an idiot right now.
Don't take it too personal, it often happens to everybody.. Just kidding..
Only caches provide for near-time, near-space data, and Mnesia RAM is not a
cache. Therefore it is full copy of the tables.
On Fri, Sep 25, 2015 at 7:38 PM, Leonard Boyce <leonard.boyce@REDACTED
> Hi all,
> I'm hoping someone can clarify this for me as I feel like a bit of an
> idiot right now.
> For some reason I've always been under the impression that mnesia
> disc_copies does not keep *all* data memory resident. IE it allows for
> 'most recent' data to remain memory resident, while persisting all
> data to disc.
> Reading the doc, it appears I am 100% incorrect and that *all* data in
> a disc_copies table is both memory resident *and* persisted to disc.
> from the doc, "disc_copies ... If a table is of type disc_copies at a
> certain node, the entire table is resident in RAM memory and on
> Is this correct?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions