Skip to content

Support Multi-Tenancy #2693

@prabirshrestha

Description

@prabirshrestha

What you wanted to do

Create multiple db/schema on the same server such as tradition dbs (Postgres/MySql/SqlServer). Useful for personal VMs and raspberry pi where I can replace traditional db with dgraph and run in only on server.

What you actually did

Add prefix.

Why that wasn't great, with examples

cumbersome because now I need to create variables for prefix. If I accidental drop schema, I drop everything.

Any external references to support your case

CREATE DATABASE foodatabase or CREATE SCHEMA fooschema.
Would love to have something like localhost:8080/alter/foodatabase. If foodatabase is not provided it would default to existing behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/securitySecurity related issuesarea/toolsIssues related to maintenance tools and CLI.exp/expertDeeply technical issue not recommended to beginners.kind/featureSomething completely new we should consider.popularpriority/P1Serious issue that requires eventual attention (can wait a bit)status/acceptedWe accept to investigate/work on it.status/needs-specsIssues that require further specification before implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions