diff --git a/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml b/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml
index c5f0ebf08c7..133947a4e43 100644
--- a/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml
+++ b/inlong-manager/manager-dao/src/main/resources/mappers/ComponentHeartbeatEntityMapper.xml
@@ -66,7 +66,12 @@
select
from component_heartbeat
- where component = #{request.component, jdbcType=VARCHAR}
+
+ component = #{request.component, jdbcType=VARCHAR}
+
+ and instance = #{request.instance,jdbcType=VARCHAR}
+
+
order by modify_time desc