Is there any performance hit from querying over two (or more) databases on the same MySQL server, compared to if those databases had been merged into one?
Background, I have inherited maintenance over a web application that splits its data into three different databases that runs on the same server, one for content, one for users and group information and one for user generated data. This is convenient, for example it makes it easy to set up permissions, the user data is somewhat sensitive so people who don't need to know should not have access to it. However, one of the main features of the application is providing progress reports for users or groups on the content. Which means that it has to query across two or more of the databases in order to generate the report.
Is there any loss in performance doing it that way?