问题
I want to know how to use the sql profiling tool for sql server 2008. for the anjlab sql profiler what filters should be set in order to get the exact query??
回答1:
Assuming the anjlab profiler works in a similar fashion to the standard profiler, I'd suggest capturing rpc completed and sql batch completed events. Those are the two that will tell you the most about what queries are being called on the system. For detailed analysis, you could add statement completed events, but be prepared for managing large amounts of data.
来源:https://stackoverflow.com/questions/9259918/regarding-sql-profiling