I ceated sessions on two instanses CREATE EVENT SESSION SortWarning ON SERVERADD EVENT sqlserver.sort_warning( ACTION(sqlserver.sql_text) ) ADD TARGET package0.ring_bufferIn result at first instanse i see<RingBufferTarget truncated="0" processingTime="0" totalEventsProcessed="1" eventCount="1" droppedCount="0" memoryUsed="97"> <event name="sort_warning" package="sqlserver" timestamp="2015-07-22T10:31:19.170Z"> <data name="sort_warning_type"> <type name="sort_warning_type" package="sqlserver"></type> <value>1</value> <text><![CDATA[Single pass]]></text> </data> <data name="query_operation_node_id"> <type name="uint32" package="package0"></type> <value>0</value> </data> <action name="sql_text" package="sqlserver"> <type name="unicode_string" package="package0"></type> <value><![CDATA[EXEC dbo.Test]]></value> </action> </event></RingBufferTarget>On the second instance <RingBufferTarget truncated="0" processingTime="1" totalEventsProcessed="3034" eventCount="1000" droppedCount="0" memoryUsed="53000"> <event name="sort_warning" package="sqlserver" timestamp="2015-07-22T10:35:30.718Z"> <data name="sort_warning_type"> <type name="sort_warning_type" package="sqlserver"></type> <value>1</value> <text><![CDATA[Single pass]]></text> </data> <data name="query_operation_node_id"> <type name="uint32" package="package0"></type> <value>9</value> </data> </event>I cannot see Action part on the second server and caanot determine sql_textWhat could be the reason ?
↧