c# - How to find unique SQL queries out of SQL server trace log queries -



c# - How to find unique SQL queries out of SQL server trace log queries -

i process massive amount of sql queries , maintain unique ones. mean same queries different parameters removed , 1 signature query left each unique query.

now asking in question programming logic. pseudo code perhaps or real .net code. or 3rd party plugin/software/framework free.

here illustration case:

select pathsquares tblpathfinding routeid=470 , startingsquareid=267 , exitsquareid=13; select pathsquares tblpathfinding routeid=470 , startingsquareid=267 , exitsquareid=1472;

as can see above queries, same query different parameter. logic, need eliminate such duplicate queries , maintain 1 plenty database engine tuning advisor.

what kind of logic , approach should follow observe duplicate queries ?

waiting suggestions ty

i utilize .net 4.5 c# wpf application solve problem

i don't know programming logic can point application i've used this. cleartrace application takes sql server trace , "normalizes" queries within trace.

they somehow able understand replaced variable within query.

c# sql sql-server sql-server-profiler database-tuning-advisor

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -