Automatically measure all SQL queries

Q Perhaps the normalization is not normal. Jeff Atwood says: "You automatically measure all the requests that flow through your software, right?" I do not, but I would like to.

Some features of the application in question:

+5
source share
6 answers

SQL Profiler, , . , voila, , .

- ORM - , , , !

+6

SQL Profiler - , , SQL Server. SQL Server. SQL Profiler SQL Server SQL Server 2000 (, , ).

.

+2

, -. , : : 8 ASP.NET

+1

Dropthings CodePlex . TimedLog. IDisposable. , , using.

0

, SQL- , , .

, , , , , / "" mysql.

.

, , .

0

factory, SqlCommands , , RealProxy SqlCommand.

This proxy server can then determine how long ExecuteReader / ExecuteScalar, etc. take it using StopWatch and register it somewhere. The advantage of using this method over Sql Server Profiler is that you can get full stack traces for every instance of SQL that is executed.

0
source

All Articles