how to have consistent databases across all controllers?

how to have multiple consistent databases across all controllers or at least one controller?

i mean i sometimes use 2 databases across 90% of the pages in a controller, how do i handle this situation? where do i add the databases in the controller code? (or do i need to add it somewhere else?)

please help, this is driving me nuts!

Configure an additional component in the configuration array.