[erlang-questions] Mnesia disc_copies

Theepan <>
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.

Theepan


On Fri, Sep 25, 2015 at 7:38 PM, Leonard Boyce <
> wrote:

> 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
> disc.".
>
> Is this correct?
>
> Thanks,
> Leonard
> _______________________________________________
> 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/20150925/8f9119ba/attachment.html>


More information about the erlang-questions mailing list