Re: Local named pipes better than TCP/IP?

From: PerFry (PerFry_at_discussions.microsoft.com)
Date: 11/22/04


Date: Mon, 22 Nov 2004 03:53:03 -0800

I'd like to stress that we're having the client and server on the same
machine, so I'm referring to _local_ named pipes. Books Online states that
"Local named pipes runs in kernel mode and is extremely fast" (
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbcsql/od_odbc_g_5l9r.asp ).

"Rand Boyd [MSFT]" wrote:

> With SQL Server 2000 the default for local connections (connections made on
> the server itself) is shared memory. Steve is correct that named pipes is
> for the most part a legacy connection method. I would just use the default
> of shared memory for local connections and TCP/IP for remote connections.
>
> Rand
> This posting is provided "as is" with no warranties and confers no rights.
>
>



Relevant Pages

  • Re: Upgraded Win2K/ SQL 2K to Win2K3, is now one big mess
    ... TCP/IP and named pipes are both enabled, ... The TCP/IP and Named Pipe protocols need to be enabled. ... > I installed Small Business Server at home, ... the existing server connections still ...
    (microsoft.public.sqlserver.odbc)
  • Re: SQL 7.0 sp4 - hotfixed and broken
    ... You might also want to re-enable named pipes and ensure ... that your max connections setting of 1 didn't take. ... > Server Driver]Invalid Connection." ... > Enterprise Manager, osql after starting sqlservr.exe -c -f ...
    (microsoft.public.sqlserver.security)
  • Re: TCP connections suddenly failing.
    ... do you have a lot of .Net client application connections? ... Microsoft SQL Server MVP ... it back online and that resolved the TCP connect issue. ... >> Connections are instant and lovely using named pipes. ...
    (microsoft.public.sqlserver.clustering)
  • TCP connections suddenly failing.
    ... TCP has been the default protocol for years. ... We have the server monitored and no changes occurred recently. ... Connections are instant and lovely using named pipes. ...
    (microsoft.public.sqlserver.clustering)
  • RE: Access Denied on trying to connect
    ... It is possible SQL is NOT listening on TCP. ... Server machine are successful because on the Server a SHARED MEMORY ... If you only have Shared Memory on this list, then only local connections ...
    (microsoft.public.sqlserver.msde)