Astra FAQ - datastaxdevs/awesome-astra GitHub Wiki

🏠 Back to home | Written by Cedrick Lunven, Last Update 3/14/2022

Questions List

Where should I find a database identifier ?

The database id is a unique identifier (GUID) for your database. You can find it on the main dashboard of AstraDB. You can copy it to the clip board by clicking the small icon 📋

db

â„šī¸ Note that, on the contrary of the identifier, the database name is not unique in an organization. (project in the screenshot above)

Where should I find a database region name ?

A database can have one or multiple regions. Each regions will have a datacenter Id and a region name. The region name is the one used in the Api Urls.

  • Access your database dashboard by clicking its name either in the menu on the left or on the main panel.

db

  • Locate the region name in the region table. In the screenshot below we do have 2 europe-west1 and us-east1.

db

How to create a namespace or keyspace ?

Namespaces and keyspaces are synonyms. There are 2 ways to create them.

  • You can create them when you create a database

db

  • You can create them on the Database Dashboard in the Keyspaces section by clicking the button Add Keyspace.

Access your database dashboard by clicking its name either in the menu on the left or on the main panel.

db

Locate the create Keyspace Button on the botton right-hand corner

db

Create Keyspace from its name. The database will switch in MAINTENANCE mode for a few seconds but do not worry the application can still request the other keyspaces.

db