@drfriendless Thanks. That's more or less my situation (large-ish backend app with 2 different databases). @tapac It's not so much a question of performance at this point, but rather code architecture in a complex app. For example, how could I make several database calls from different functions inside the same transaction?