dbTalk Databases Forums  

Servers sends 10 512-byte packets per second?

comp.databases.sybase comp.databases.sybase


Discuss Servers sends 10 512-byte packets per second? in the comp.databases.sybase forum.



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

Default Servers sends 10 512-byte packets per second? - 08-31-2004 , 09:27 AM






I noticed recently that while waiting for a long-running stored procedure my
network light flashed A LOT. I snooped it and discovered the server (12.5.1)
was sending my waiting DBLib client 10 512-byte (data portion) messages/second.

Does anyone know why this happens and if I can turn it off or slow it down?

Reply With Quote
  #2  
Old   
Rob Verschoor
 
Posts: n/a

Default Re: Servers sends 10 512-byte packets per second? - 08-31-2004 , 11:02 AM






"Thomas Gagne" <tgagne (AT) wide-open-west (DOT) com> wrote

Quote:
I noticed recently that while waiting for a long-running stored procedure
my
network light flashed A LOT. I snooped it and discovered the server
(12.5.1)
was sending my waiting DBLib client 10 512-byte (data portion)
messages/second.

Does anyone know why this happens and if I can turn it off or slow it
down?

Assuming these weren't packets for sending the result set to the client, my
guess is that these were so-called 'done-in-proc' packets (one is sent to
the client after each DML statement). It may be possible to suppress most of
these packets with dbcc tune (doneinproc, 0); in 12.5.1, use the config
parameter 'send doneinproc tokens' instead. Be careful about also enabling
traceflag 292: this will suppress all doneinproc packets, but may also cause
some clients to stop working correctly (i.e the connection will break with
an error message).

HTH,

Rob
-------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
and Replication Server 12.5

Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks & Recipes for Sybase ASE"
"The Complete Sybase Replication Server Quick Reference Guide"
"The Complete Sybase ASE Quick Reference Guide"

mailto:rob (AT) YOUR (DOT) SPAM.sypron.nl.NOT.FOR.ME
http://www.sypron.nl
Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
-------------------------------------------------------------




Reply With Quote
  #3  
Old   
Thomas Gagne
 
Posts: n/a

Default Re: Servers sends 10 512-byte packets per second? - 09-01-2004 , 08:35 AM



That may be it. The procedure was using a cursor to flog the database. We're
running 12.5.1 so I'll look into the option. Thanks for the info!

Rob Verschoor wrote:
Quote:
"Thomas Gagne" <tgagne (AT) wide-open-west (DOT) com> wrote in message
news:Jr-dnax3zvhHF6ncRVn-jg (AT) wideopenwest (DOT) com...

I noticed recently that while waiting for a long-running stored procedure

my

network light flashed A LOT. I snooped it and discovered the server

(12.5.1)

was sending my waiting DBLib client 10 512-byte (data portion)

messages/second.

Does anyone know why this happens and if I can turn it off or slow it

down?

Assuming these weren't packets for sending the result set to the client, my
guess is that these were so-called 'done-in-proc' packets (one is sent to
the client after each DML statement). It may be possible to suppress most of
these packets with dbcc tune (doneinproc, 0); in 12.5.1, use the config
parameter 'send doneinproc tokens' instead. Be careful about also enabling
traceflag 292: this will suppress all doneinproc packets, but may also cause
some clients to stop working correctly (i.e the connection will break with
an error message).

HTH,

Rob
-------------------------------------------------------------
Rob Verschoor

Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
and Replication Server 12.5

Author of Sybase books (order online at www.sypron.nl/shop):
"Tips, Tricks & Recipes for Sybase ASE"
"The Complete Sybase Replication Server Quick Reference Guide"
"The Complete Sybase ASE Quick Reference Guide"

mailto:rob (AT) YOUR (DOT) SPAM.sypron.nl.NOT.FOR.ME
http://www.sypron.nl
Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
-------------------------------------------------------------



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.