# getSlaveReplicationExecutionStatus {#getslavereplicationexecutionstatus}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getSlaveReplicationExecutionStatus()`

## Details {#details}

This function can only be executed by an administrator on a datanode of a slave cluster. It displays the status of the execution queues for each thread on the data node.

This function returns a table containing the following columns:

-   executionSet: the execution set ID to which the task belongs.
-   worker: ID of thread executing the task.
-   taskId: ID of the asynchronous replication task.
-   state: the task status, including TRANSMITTED \(data transmission complete, waiting for execution\) and EXECUTING.

## Examples {#examples}

``` {#codeblock_zq1_tms_c2c}
getSlaveReplicationExecutionStatus()
```

|executionSet|worker|taskId|state|
|------------|------|------|-----|
|0|3|25|EXECUTING|

