I want to create a database on a non-readable secondary replica to collect some data for troubleshooting and monitoring the AG. I have read that there is no license cost when the server is not queried (i.e. when the instance is not a readable secondary), but the server has to be licensed when you query it.
So my question is: Is there a problem in creating a separate database on a secondary replica (obviously the database will not be included in the AG)?