Replication performance question and environment variables sanitization