select * from sys.endpoints
drop endpoint 镜像
alter database <dbname> set partner off