Support clustered and non-clustered _replicator databases
remove unused function