|  | 
|  | 1 | +--- | 
|  | 2 | +alwaysopen: false | 
|  | 3 | +categories: | 
|  | 4 | +- docs | 
|  | 5 | +- operate | 
|  | 6 | +- rs | 
|  | 7 | +db_type: database | 
|  | 8 | +description: Verify if a Redis Software database is available to perform read and write operations and can respond to queries from client applications. | 
|  | 9 | +linkTitle: Database availability | 
|  | 10 | +title: Check database availability | 
|  | 11 | +toc: 'true' | 
|  | 12 | +weight: 30 | 
|  | 13 | +--- | 
|  | 14 | + | 
|  | 15 | +You can use the [database availability API]({{<relref "/operate/rs/references/rest-api/requests/bdbs/availability">}}) to verify whether a Redis Software database is available to perform read and write operations and can respond to queries from client applications. Load balancers and automated monitoring tools can use this API to monitor database availability. | 
|  | 16 | + | 
|  | 17 | +## Availability by database status | 
|  | 18 | + | 
|  | 19 | +| Database status | Availability | | 
|  | 20 | +|-----------------|--------------| | 
|  | 21 | +| active          | <span title="Available">✅</span> Available | | 
|  | 22 | +| active-change-pending | <span title="Available">✅</span> Available | | 
|  | 23 | +| creation-failed | <span title="Not available">:x:</span> Not available | | 
|  | 24 | +| delete-pending  | <span title="Availability not guaranteed" class="font-serif">:warning:</span> Availability not guaranteed | | 
|  | 25 | +| import-pending  | <span title="Available">✅</span> Available | | 
|  | 26 | +| pending         | <span title="Available">✅</span> Available | | 
|  | 27 | +| recovery        | <span title="Not available">:x:</span> Not available | | 
|  | 28 | + | 
|  | 29 | +## Availability by shard status | 
|  | 30 | +  | 
|  | 31 | +| Shard status | Availability | | 
|  | 32 | +|--------------|--------------| | 
|  | 33 | +| busy         | <span title="Available">✅</span> Available | | 
|  | 34 | +| down         | <span title="Not available">:x:</span> Not available | | 
|  | 35 | +| importing    | <span title="Available">✅</span> Available | | 
|  | 36 | +| loading      | <span title="Available">✅</span> Available | | 
|  | 37 | +| ok           | <span title="Available">✅</span> Available | | 
|  | 38 | +| timeout      | ?            | | 
|  | 39 | +| trimming     | <span title="Available">✅</span> Available | | 
|  | 40 | +| unknown      | ?            | | 
0 commit comments