Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: dbcc tune (des_bind)

$
0
0

Mike,

 

FWIW, I did some testing on one of our apps some years ago to try to reduce desmgr spinning. This application uses temp tables exceptionally heavily with the driving tables created outside the proc chain and many further scratch ones created from within the various proc contexts.

 

As you can see from the below, the averages over 10 tests involving binding procs and regular tables made little difference as the activity due to these objects pales into insignificance when weighed up against how much work it's doing (presumably) as a result of the temp table activity. You can't bind temp tables and as far as I know there's no other way to reduce the desmgr overhead you get hit with (without an app redesign of course).

 

Testdesmgr_grabsdesmgr_waitsgrabs+waitsdesmgr_spinsspins_per_waitcont (waits/grab)Av CPUThreads
No binding19,753,0322,066,86621,819,89891,740,89344.3864735310.4635379597.3940
Top 16 tables18,943,2152,218,04821,161,263199,083,03189.7559615511.7089311488.4340
Top 16 tables + all procs17,103,8501,877,09218,980,942241,373,273128.588941310.9746752994.0740
All tables18,217,5542,082,87720,300,431241,193,992115.798480711.4333515992.540
All tables + all procs17,039,6931,403,13618,442,829106,872,84176.16712928.23451455493.6840

 

Cheers,

 

Simon


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>