Skip to content

[BanyanDB-Index] Use Numeric Index Type in BanyanDB to Support Int and Float #12797

@hanahmily

Description

@hanahmily

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Currently, BanyanDB's inverted index uses the byte index type to handle numeric data such as integers and floats. While this implementation works, it could be optimized for range queries, which are resource-intensive and critical for many use cases, like trace latency range queries. BanyanDB's underlying index now supports numeric index types designed explicitly for numeric data like integers and floats. This index type offers better performance for range-based operations.

This issue proposes replacing the byte index type with the numeric index type when indexing numeric data (int and float) to significantly improve range query performance.

Use case

No response

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseBanyanDB - SkyWalking native databasefeatureNew feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions