Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Named Pipes or TCP/IP 1

Status
Not open for further replies.

LCannon

IS-IT--Management
Oct 15, 2001
85
US
Which is better for connecting to SQL from clients? Named Pipes or TCP/IP?
 
TCP/IP ... that, by defualt, is the way SS sets up its connections Thanks

J. Kusch
 
Below are quotes from the book "Microsoft SQL Server 2000 Administrator's Companion" (hard copy version). They show that named pipes cause signficantly more overhead with network traffic and prevent connection pooling from being effective.

Page 239:
"Named Pipes"
...
"Although named pipes is an efficient protocol, it is not usually used for large networks because it does not support routing and gateways. It is also not preferred for use with a slower network. Named pipes requires significantly more interaction between the server and the client that do other protocols, such as TCP/IP."

Page 572:
"connections based on ... named pipes are generally slow. Using named pipes also poses problems for connection pooling. ... most implementations [of named pipes] use challenge/response or basic authentication from the Web server to enforce individual connections into SQL Server. This effectively negates any performance improvement connection pooling might have offered." Thanks

J. Kusch
 
That is most helpful, Jay. Really appricate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top