[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Columnar databases
- To: Howard Chu <hyc@symas.com>
- Subject: Re: Columnar databases
- From: Kristoffer Sjögren <stoffe@gmail.com>
- Date: Sun, 12 Jul 2015 14:20:29 +0200
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=9m3XrnTOIuGHdvinQmCKABVSgh1aQHcJDtFrIqB+7Ro=; b=cTssOF46kbU99cvBijuWDvssvgasPDpswA6WxpTz/rSjbmgVqshhuVpEPALGu/Wdnm OjMTRCoCk8V+VzQq8opdJssgrQIlIOe1uI1FkclNuBlP914xw2SnEUYPWqkuhKYtk5dD y+ZksIlj+Oin8l0iqL6srf3YlvaJyFXxiw/2BJ7V3HC9dq2SpC0OqLBYswoQ/fj6fmM1 KTXHCbhttTPMqQE1qJMv4gjH+TasmDmMbQVrYZVkgMg2N5KhE77Oe69op1OCRYbcC8vy TlzUKagsNwh2ycb4tAXPdvDSolkXcyGnKh+qpnH4euwTVtqyfY7gct5XEPW0d2zhMf3t adTA==
- In-reply-to: <55A23EBA.8060603@symas.com>
- References: <CADSBNAjvurdW8hRpc0L0=2YqO4_bcZoiCgfqC6TYMT9dOMVtHA@mail.gmail.com> <55A23EBA.8060603@symas.com>
My idea is to have one bit index per logical column+value stored in a
value where the key also have some means of partitioning the data,
maybe over time. So high cardinality columns will generate lots of
keys+values.
I was thinking of storing multiple indexes in each key+value, making
values bigger but fewer. Say around a few hundreds kilobytes each.
Are there any trade offs between many smaller key+value vs fewer
larger ones? I'm more concerned about read performance.
On Sun, Jul 12, 2015 at 12:17 PM, Howard Chu <hyc@symas.com> wrote:
> Kristoffer Sjögren wrote:
>>
>> Hi
>>
>> I'm doing some experiments with LMDB trying to emulate a columnar
>> storage database using roaring bitmaps and other tricks.
>>
>> The initial results are promising, but I ask myself, is a row based
>> storage like LMDB appropriate for implementing a columnar database or
>> are there better, more efficient ways/formats?
>
>
> What makes you think LMDB is either row- or column-based? It has no concept
> of either, that's purely an abstraction created by higher level code.
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/