Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Analysis (Data Mining) / July 2008

Tip: Looking for answers? Try searching our database.

Multiple databases

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chuck - 08 Jul 2008 19:50 GMT
Hi,

What is the best way -- performance wise -- to handle data from multiple
databases if each database has several million records in a few tables.

One option is to create a single database and append all the records from
individual databases to that database. The other option is to create views
that span multiple databases. Which option will give me better performance --
everthing else being equal i.e. same server, same network, etc.

Thanks,

Chuck
Eric Russell - 10 Jul 2008 19:37 GMT
Are you talking about unionizing several partitioned tables or just joining
tables?
A view would potentially improve performance, if it were an indexed view,
but indexed views can't span databases.
If the tables are contained in seperate file groups on seperate disks
(whether they be in the same database or seperate databases), then you will
potentially benefit from parallel I/O. Rather than changing the logical
schema of your databases, first try placing each DB filegroup on seperate
disks and see if that improves things.

> Hi,
>
[quoted text clipped - 9 lines]
>
> Chuck
Chuck - 11 Jul 2008 15:16 GMT
Eric,

Thanks for your response. Yes, these are separate databases that reside on
the same disk. They are data packages.

I guess the main thing that I'm trying to get to is whether it's a better
idea to import the data into a single database or try to access the data from
separate databases which contain data for different time frames.

Thanks again for your help.

> Are you talking about unionizing several partitioned tables or just joining
> tables?
[quoted text clipped - 19 lines]
> >
> > Chuck
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.