Unix Technical Forum

Querying across databases on same server

This is a discussion on Querying across databases on same server within the SQL Server forums, part of the Microsoft SQL Server category; --> I know that a heterogeneous query joining tables from two different servers has performance penalties but is the same ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 06:34 AM
Rick Brandt
 
Posts: n/a
Default Querying across databases on same server

I know that a heterogeneous query joining tables from two different servers
has performance penalties but is the same true when joining tables from two
different databases on the same SQL Server 2000 instance?

We are looking at setting up a Data Warehouse using DTS on a SQL Server box
and I'm wondering about the best way to logically set it up; i.e. one big
honking db or several dbs determined by some logical organization. With the
latter there will still be some queries that would need data from more than
one db and I'm wondering if that will have worse performance than if they
were all in one db.

I thought that was the case in older versions of SS, but I couldn't find
anything in 2000's BOL that indicated a problem with that.

TIA


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 06:34 AM
Simon Hayes
 
Posts: n/a
Default Re: Querying across databases on same server


"Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
news:34ku1qF4btv2uU1@individual.net...
>I know that a heterogeneous query joining tables from two different servers
> has performance penalties but is the same true when joining tables from
> two
> different databases on the same SQL Server 2000 instance?
>
> We are looking at setting up a Data Warehouse using DTS on a SQL Server
> box
> and I'm wondering about the best way to logically set it up; i.e. one big
> honking db or several dbs determined by some logical organization. With
> the
> latter there will still be some queries that would need data from more
> than
> one db and I'm wondering if that will have worse performance than if they
> were all in one db.
>
> I thought that was the case in older versions of SS, but I couldn't find
> anything in 2000's BOL that indicated a problem with that.
>
> TIA
>
>


Personally, I'm not aware of any performance impact - certainly, I've never
seen any from doing this. If one database is updated frequently, then that
could be a problem, but it's probably unlikely in a data warehouse.

The data model and management issues such as backup/restore and security
would normally be the main issues to consider when deciding between the
implementation options.

Simon


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:27 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com