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