Database statuses
A database can have one of several statuses. Each status has a different impact on your ability to use the database.
In the Astra Portal, you can see the status of all databases in your active Astra organization.
Active
Active status means your database is available and ready to use.
Error
Error status indicates something is wrong with the database. Contact IBM Support for assistance.
Hibernated (idle)
For Astra organizations on the Free plan, any databases that are idle for more than 48 hours are automatically paused, enter Hibernated status, and scheduled for automatic deletion. DataStax sends email notifications when your databases are hibernated and scheduled for deletion.
|
After 30 consecutive days of idle hibernation, the database is automatically deleted. To avoid deletion, resume the database before the 30-day deadline. To disable automatic hibernation and deletion, upgrade your plan. |
While in Hibernated status, the database is unavailable, and it doesn’t record backups.
You must resume a hibernated database to continue using it and prevent automatic deletion:
- Resume all idle databases
-
In the Astra Portal, click Resume Databases.
It can take a few minutes for the databases to resume and return to Active status.
- Resume one idle database in the Astra Portal
-
In the Astra Portal, find the database that you want to resume, and then click Resume.
It can take a few minutes for the database to resume and return to Active status.
- Resume an idle database with the Astra CLI
-
You can use the Astra CLI to resume a hibernated database, specified by database ID:
astra db resume DB_IDWait a few minutes for the database to reach Active status before issuing subsequent commands to the same database.
- Resume an idle database with the Data API
-
Sending a Data API request to an idle hibernated database automatically begins resuming the database and returns a
503 SERVICE UNAVAILABLEstatus code. Wait a few minutes for the database to reach Active status before reissuing your request.
Hibernated (parked PCU group)
|
Hibernated databases don’t record backups. |
Any Astra DB Serverless databases that belong to parked PCU groups are paused and enter Hibernated status.
While in Hibernated status, the database is unavailable.
To reactivate these databases, you can either unpark the PCU group or move the databases to active PCU groups.
Unlike idle hibernation, databases in parked PCU groups aren’t automatically deleted.
Initializing
This is a temporary, transitional status.
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
This is a temporary, transitional status.
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 cannot add or remove regions, truncate tables, delete keyspaces, delete collections, or delete tables.
Maintenance status doesn’t impact reads and writes.
Resuming
This is a temporary, transitional status.
A database passes through Resuming status while entering and exiting Hibernated status.
Suspended
For Astra organizations on the Free plan, databases are suspended if your monthly credits run out. While suspended, you cannot access the data in the database.
To reactivate a Suspended database, you must upgrade your subscription plan 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.
Terminated
A database in Terminated status is deleted and permanently unavailable. You cannot restore deleted databases.
Terminating
This is a temporary, transitional status.
When you delete a database, it enters Terminating status while the database and all of its data are being deleted.