What is a Database?
A database is the outermost container for data in a Grakn knowledge graph. As per a relational database, it is commonly known to be good practice to create a single database per application, but it is absolutely fine to create as many databases as your application needs. As a rule of thumb, it is recommended to start off with one database and create more if the requirement arises.
Creating a Database
Listing All Databases
Cleaning a Database
Cleaning the database, not to be confused with deletion, wipes out both the data and the schema contained within the database. We can clean a database via Grakn Console.
Deleting a Database
Renaming a Database
Once we have created a database, its name can no longer be changed. The only way to achieve a renamed database is to migrate the data from the database with the old name to the newly created database.