Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

AWT Usage while session in RESPONSE state - response (2) by abhijitvyas

$
0
0

Hi Velu
Sessions in responding mode doesn't hold up AWT. AWTs are ionvolved when AMPS are in active state, once AMP became idle it won't use AWTs. But when response was sent to dispatcher from AMP, BYNET may use one AWT.AWTs doing work on behalf of a query are released at the end of the final query step before the BYNET merge process begins, even when there is a large answer set to return.The last AMP to complete its work in building a query’s final spool collects row counts from all AMPs, responds to the dispatcher that the step is complete and reports the final row count. The dispatcher then tells the BYNET to start a merge process. The BYNET driver has special data buffers where the rows that will be used to feed into the merge must be placed. AWTs are acquired, as needed, only for the brief period of time it takes to move data from the final spool file into the BYNET buffersreleased.AMP worker tasks being used during BYNET merge processing will have the highest work type, WorkControl, and will be running at the maximum priority, the System Performance Group (Allocation Group 200). Something you should keep an eye on.
 
HTH
Abhijit

 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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