Skip to content

[Feature] [BE] Scaling up - using a separate Sqlite DB file for each user #28

@baiqiushi

Description

@baiqiushi

Currently, we use one single Sqlite DB file to host all data across users.
This approach does not scale up apparently.

A simple idea to scale up the system is to create a standalone DB file for each user.
If a particular user has too many logged queries history, we can hardcode a size budget (e.g., 1 million) and rotating the queries log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions