questdb / questdb/questdb

Allow creation of multiple databases on the same QuestDB instance

Open
#4,250 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

New feature
Dominant language
Java
Stars
17.3k
Forks
1.6k
Avg merge
5d 10h
Merged PRs (30d)
28

Description

Is your feature request related to a problem?

Yes. If you spin a QuestDB server, in our case, we can only associate databases from a single instance/site of the database that exports data to questdb.

Describe the solution you'd like.

A Namespace feature that allows creating different databases with the same table names would be useful. For example.

  • QuestDB
    • Database 1
      • Orders
      • Clients
    • Database 2
      • Orders
      • Clients
Describe alternatives you've considered.

The only way to achieve this in the current version is to prefix the tables with the database name. It works but it feels like a dirty workaround.

Full Name:

ivan quintero

Affiliation:

Healthcare

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing how QuestDB currently represents databases and table names, then clarify the namespace semantics and affected interfaces; done means separate databases can contain identically named tables without requiring database-name prefixes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.