In MySQL to create a database we execute a query: CREATE DATABASE DEMODB, so can we create a DATABASE in Elasticsearch also?

If possible, give me reference link or Command here.

Hi @Subrato1
If you're trying to relate or compare elasticsearch and a RDBMS

Elasticsearch is the database. You don't create databases inside of it

And the index is most equally related to a table.

There's for a full RBAC to control access to indices l.

An elasticsearch mappings are equivalent to a table schema.

Hope that helps, but you're definitely going to need to change some thinking when you're coming from a relational database.

Yeah, understood Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.