dbTalk Databases Forums  

Network Buffer

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Network Buffer in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
RG
 
Posts: n/a

Default Network Buffer - 01-06-2010 , 12:35 PM






We have a vb6 application that among other things queries sql server 2005 db
over lan. On the client side, where do I control the size of network buffer?

Thanks in advance

Reply With Quote
  #2  
Old   
William Vaughn \(MVP\)
 
Posts: n/a

Default Re: Network Buffer - 01-06-2010 , 01:44 PM






What are you trying to accomplish by setting the size of the network buffer?
What problem are you having? Are you concerned with performance, security,
locks or what?

--
__________________________________________________ ________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
http://betav.com http://betav.com/blog/billva
__________________________________________________ __________________________________________



"RG" <RG (AT) discussions (DOT) microsoft.com> wrote

Quote:
We have a vb6 application that among other things queries sql server 2005
db
over lan. On the client side, where do I control the size of network
buffer?

Thanks in advance

Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Network Buffer - 01-06-2010 , 05:25 PM



RG (RG (AT) discussions (DOT) microsoft.com) writes:
Quote:
We have a vb6 application that among other things queries sql server
2005 db over lan. On the client side, where do I control the size of
network buffer?
In the connection string with the PacketSize keyword. The default is
4096, and as Bill says there is probably little reason to meddle with it.
But you can set it to 256 to see the effect - things will be slower!


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) 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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.