Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Two Databases - Same Server

Author  Topic 

Bustaz Kool
Master Smack Fu Yak Hacker

1834 Posts

Posted - 2007-05-30 : 16:43:27
Does anyone know of any performance considerations when dealing with data that resides in two databases on the same server?

We use one database as a staging area for bulk loaded data. Once we are happy with the data we insert or update the equivalent tables in the "real" database but performance is terrible when the tables are joined across the databases. The execution plan indicates that the clustered key is used on the real database and a covering index on the staging database.

Are there any rules of thumb or gotchas that I should remind myself of when joining between databases?

TIA

=======================================
If Tyranny and Oppression come to this land, it will be in the guise of fighting a foreign enemy. -James Madison, fourth US president (1751-1836)

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-05-30 : 17:31:43
Same as in same db.
Go to Top of Page
   

- Advertisement -