Database statuses
A database can have one of several statuses. Each status has a different impact on your ability to use a database.
In the Astra Portal, go to Databases to see the status of all your databases. To see the status of a specific database, select the database in the navigation menu.
Active
Active status means your database is available and ready to use.
Paused statuses
There are several paused statuses that indicate a database is unavailable.
Hibernated
Hibernation occurs for databases in parked PCU groups and databases that belong to organizations on the Free plan.
Hibernated databases don’t record backup snapshots. |
-
Databases on the Free plan
-
Databases in parked PCU groups
For Astra DB organizations on the Free plan, any databases that are idle for more than 48 hours are automatically hibernated.
After 30 consecutive days of hibernation, the database is automatically deleted.
DataStax sends email notifications when your databases are hibernated and scheduled for deletion.
To avoid hibernation and automatic deletion, upgrade your plan. |
You must resume a hibernated database to continue using it.
-
Resume with the Astra Portal
-
Resume with the Astra CLI
-
Resume with the Data API
For organizations on the Free plan, there are two ways to resume hibernated databases in the Astra Portal:
-
To resume all databases, go to Databases, and then click Resume Databases.
-
To resume individual databases, select the database in the navigation menu, and then click Resume Database.
It can take a few minutes for hibernated databases to resume and return to Active status.
For organizations on the Free plan, you can use the Astra CLI to resume hibernated databases:
astra db resume DB_ID
To get the DB_ID
, see Get your database ID.
For organizations on the Free plan, sending a Data API request to a hibernated database automatically begins resuming the database and returns a 503 SERVICE UNAVAILABLE
status code.
Wait a few minutes for the database to reach Active status before reissuing your request.
For organizations with PCU groups, databases in parked PCU groups are hibernated until you unpark the PCU group or move the databases to an active PCU group.
Unlike databases on the Free plan, databases in parked PCU groups are not automatically deleted.
Suspended
For Astra DB organizations on the Free plan, databases are suspended if your monthly credits run out. While suspended, you can’t access the data in the database.
To reactivate a Suspended database, you must provide a payment method or wait for your free monthly credits to refresh. For more information, see Astra DB Serverless billing and usage.
Once reactivated, you can resume database operations and access the data in the database.
Error
Error status indicates something is wrong with the database. Contact DataStax Support.
Terminated
A database in Terminated status is deleted and permanently unavailable. You can’t restore deleted databases.
Transitional statuses
Databases can enter various transitional statuses while some operations complete or the database transitions from one static status to another.
Initializing
When you create a database, it remains in Initializing status while being provisioned. It can take some time for new Astra DB Serverless databases to be provisioned.
Once provisioning is complete, the database enters Active status.
Maintenance
A database passes through Maintenance status while undergoing regional maintenance or any process where the database is temporarily partially unavailable, such as restoring from a backup or deploying secondary regions.
While in Maintenance status, you can’t add or remove regions, truncate tables, or delete keyspaces, tables, or collections.
Maintenance status doesn’t impact reads and writes.
Terminating
When you delete a database, it enters Terminating status while the database and all of its data are being deleted.