473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

number of Connection for Linked Server

Hi,

Following is our different database infrastructure.

Server1 on NetwrokDomain1
SQL Server 2000
Server2 on NetwrokDomain2
SQL Server 2000

The database on Server2 is being used by third party clients and
database on Server1 is used by us.

We want to get information from databases on Server2 on Server1. To
accomplish this, we had created a Linked Server Connection on Server1
to Server2 and created certain views on Server1 which then used within
SPs on Server1. The requests are coming from Web application by many
user to Server1.

Does anyone got any idea on how many number of connection will be
created between Server1 and Server2 per request? Will there be
different connection created for each request or it will utilise the
same connection (connection created while creating the linked server)?

It would be very helpful if anyone can point me to a correct
direction.

Any help is appreciated.

Thanks

-pb-

Oct 14 '08 #1
1 4285
-pb- (pr*********@gmail.com) writes:
We want to get information from databases on Server2 on Server1. To
accomplish this, we had created a Linked Server Connection on Server1
to Server2 and created certain views on Server1 which then used within
SPs on Server1. The requests are coming from Web application by many
user to Server1.

Does anyone got any idea on how many number of connection will be
created between Server1 and Server2 per request? Will there be
different connection created for each request or it will utilise the
same connection (connection created while creating the linked server)?
I would expect the answer is "as many as needed". That is, if there are
five parallel requests to the linked server, there will be five connections
to the linked server. But if the request come at different times, there
would only be one connection, even if the requests were on different
connections on Server1. However, there is one qualification: the requests
must all use the same login on the remote server.

This is based on the knowledge that SQL Server uses OLE DB for linked
server, and OLE DB provides connection pooling. But else it is just
speculation. I would have to test to find out - but then I figured you
could easily run that test yourself.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Oct 14 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: KathyK | last post by:
Hi and thanks in advance! I have an Access 2000 front end and a SQL Server 2000 back end. When the Access main form opens I run code that logs the user on to the SQL server using the generic read...
5
by: Fred Zuckerman | last post by:
Hello All, After reading in this group about the preference for connecting to a SQL Server using a connection string instead of a DSN file, I have done just that. BUT, I cannot update my data....
1
by: Lyle Fairfield | last post by:
I created a new MS-SQL Database, "TestODBC". I made Table1 and StoredProcedure1. I made an ODBC DSN for that MS-SQL Database. I created a new AccessXP mdb, "TestODBC". I linked to the...
0
by: Igor | last post by:
An error "ODBC connection to failed" is raised when I am trying to get data from a table in Microsoft Access (97, or 2000) which is actually a linked table to another table in SQL Server 7 . The...
5
by: listrecv | last post by:
I'd like to set up an ODBC DSN to a table in a linked SQL Server, via my local SQL Server. I'm having a few problems: 1. When I use Enterprise Manager to link the remote SQL Server, it doesn't...
0
by: alingsjtu | last post by:
What's the DB2 connection string wihout DSN when use IBM DB2 OLE PROVIDER in windows environment, such as ADO or Creation of Linked Server in MS SQL Server ? I searched for a long time to look...
5
by: alingsjtu | last post by:
Hello, every body. When execute dynamic generated multiple OPENQUERY statements (which linkes to DB2) in SQLServer, I always got SQL1040N The maximum number of applications is already connected...
4
by: Fred Zuckerman | last post by:
I have a A2K database that includes some linked tables (these links are SQL views). Sometimes there are "issues" with the SQL server and the users receive a timeout error whenever they try to...
8
by: Brett | last post by:
I wrote an ASP.NET application that queries a SQL Server database (on a different box from the web server) and displays the result in a GridView. The datasource for the GridView is a SQLDataSource....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.