Skip to content

LMDB: Embed literal values into IDs #4774

@kenwenzel

Description

@kenwenzel

Problem description

The LMDB ValueStore currently assigns every value an ID (64 bits) and stores the corresponding ID -> value and value -> ID mappings.
This is overhead for values that may be encoded in less than 64 bits.
Possible candidates are:

  • double
  • decimal
  • integer
  • datetime
  • boolean

Preferred solution

Use something in the lines of Jena's TDB2 encodings for literals:
https://github.com/apache/jena/tree/main/jena-tdb2/src/main/java/org/apache/jena/tdb2/store/value

Are you interested in contributing a solution yourself?

Perhaps?

Alternatives you've considered

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    LMDBM1Fixed in milestone 1📶 enhancementissue is a new feature or improvement

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions