Skip to content

[Feature Request] Batch create databases #6992

Closed
@cmackenzie1

Description

Feature Request

Proposal: Batch mode for CREATE DATABASE

Current behavior: There is no current batch processing for creating a database, thus creating even 100 databases takes several seconds as each query is posted and processed.

Desired behavior: The ability to batch create new databases. For example, a text file containing a list of database names separated line-by-line.

curl -XPOST 'localhost:8086/query/create' --data-binary @dbnames.txt

Use case: For some data models where data cannot be stored in a single database due to it having sensitive information and should only be accessible by the allowed users, thus requiring separate username/password for each database. Therefore, importing data would also require the creation of many databases which currently takes several minutes, high cpu and a large amount of memory to create 10,000 databases.

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions