Solved

some LinkedServer + some replication vs Lot of Linked server and very few replications

Posted on 2013-01-11
4
196 Views
Last Modified: 2013-01-17
which is better, performance wise:

one main server replicating to 3 next level servers.
then 5 servers have linked server connection to each of the above 3 servers.

so the first 3 get their supply for data from main server through continuous replication. then the remaining 15 get access through linked servers to the 3 servers.

(OR)

18 servers hit the main server through linked server.

(they are all the same database in the 19 servers). as the main server is updated, local copy is needed in 18 servers..  that is the plan..

which do you think is reasonable and more efficient in all seasons.. (in general standards recommendation)

thanks
0
Comment
Question by:25112
  • 2
4 Comments
 
LVL 5

Author Comment

by:25112
ID: 38769142
all 19 servers are dedicated Sql servers, and they have other databases also, of course in each one of them.

the main server is sql 2008.. and the remaining 18 are some 2008, some 2005 and some 2000
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 100 total points
ID: 38769186
I am afraid I do not understand your question, other than it sounds like you are comparing apples to oranges.

The only thing I would add and this may possibly be something you have overlooked and that is that Replication uses linked servers to keep the data in sync.
0
 
LVL 26

Assisted Solution

by:Chris Luttrell
Chris Luttrell earned 400 total points
ID: 38769268
If you are referring to setting up a linked server on the database and then running queries with fully qualified references like [LinkToMainServer].[DatabaseName].[SchemaName].[TableName] to get at data from the remote servers, then those queries are very inefficient.  Especially if joining tables across the link they often cannot take advantage of optimizers and/or default to dragging all the data from the remote server (from the perspective of the server the query is run on) over to the local server to operate with and it ends up being a big, indexless operation.
True Replication, if you can do that going backwards to the 2000 machines would probably be the thing to look into.
0
 
LVL 5

Author Comment

by:25112
ID: 38787456
OK.. we will phase out the [LinkToMainServer].[DatabaseName].[SchemaName].[TableName]  operations..
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question