> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# ADMIN SHOW REPLICA STATUS

> ADMIN SHOW REPLICA STATUS is used to show the status of replicas for a table or a partition.

ADMIN SHOW REPLICA STATUS is used to show the status of replicas for a table or a partition.

This statement does not support cloud-native tables in shared-data clusters or materialized views. For a cloud-native table, it returns an error that starts with `Unsupported operation on lake table`. For a materialized view, it returns the error `Table does not exist or is not OLAP table`.

**Tip**

This operation requires the SYSTEM-level OPERATE privilege. You can follow the instructions in [GRANT](/documents/4.2/sql-reference/sql-statements/account-management/GRANT.md) to grant this privilege.

## Syntax

```sql theme={null}
ADMIN SHOW REPLICA STATUS FROM [db_name.]tbl_name [PARTITION (p1, ...)]
[where_clause]
```

```sql theme={null}
where_clause:
WHERE STATUS [!]= "replica_status"
```

```plain text theme={null}
replica_status:
OK:            The replica is healthy
DEAD:          The Backend of replica is not available
VERSION_ERROR: The replica data version is missing
SCHEMA_ERROR:  The schema hash of replica is incorrect
MISSING:       The replica does not exist
```

## Examples

1. View the status of all replicas of the table.

   ```sql theme={null}
   ADMIN SHOW REPLICA STATUS FROM db1.tbl1;
   ```

2. View the replica of a partition with the status of VERSION\_ERROR.

   ```sql theme={null}
   ADMIN SHOW REPLICA STATUS FROM tbl1 PARTITION (p1, p2)
   WHERE STATUS = "VERSION_ERROR";
   ```

3. View all unhealthy replicas of the table.

   ```sql theme={null}
   ADMIN SHOW REPLICA STATUS FROM tbl1
   WHERE STATUS != "OK";
   ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.