Boost logo

Boost Users :

Subject: Re: [Boost-users] Backend of multi_index container
From: degski (degski_at_[hidden])
Date: 2016-06-24 10:13:00


On 24 June 2016 at 15:51, Anaswara Nair <anaswara.nn_at_[hidden]> wrote:

> I have gone through LMDB. However AFAIK LMDB stores the
> data as a key-value pair.
>

Yes, it's a key-value store.

> Though duplicate keys are allowed, I couldn't find
> any relation between these entries. I couldn't understand its use as a
> database as well.
>

It's like std::(multi)map, maybe the wikipedia entry
<https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database> helps.

> Can you provide some help so that I can go deeper into this.
>

In your original question, you refer to having one unique ID and some
related data per record. Maybe you could expand a bit on what you would
like to achieve.

degski



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net