Hi Team, i wanted to experiment with the newly in...
# troubleshooting
p
Hi Team, i wanted to experiment with the newly introduced database concept in pinot to isolation 2 applications we deploy on same pinot BD logically. but their is not endpoint using which we can create database just end point for list and delete database. moreover it is not clear how to specify which table belongs to which database when creating the schema and tables. can some help me with an example of creating database and then creating schema and tables attached to this database. i am using tag: 1.2.0 and open to using 1.3.0 or higher if needed to test this feature. Regards
x
Pinot uses tenants for hardware isolation, if you need the database kind of logic table features, then you could prefix your table with
db1.tbl1
,
db2.tb2
etc.
for list table you need to use table tenant api to list all the tables under one tenant
Copy code
/tenants/DefaultTenant/tables?type=SERVER