20

is there a way to monitor detail of sql calls in express version?

zsharp
  • 13,656
  • 29
  • 86
  • 152
  • Sadly per all the answers for the free SQL express profiler, it appears to be no longer free, even the open source is "gone". Shoulda archived a copy when I had it. Now's it's a commercial product w/ free trial. – David Jul 06 '12 at 06:09
  • See also http://dba.stackexchange.com/questions/28213/download-sql-server-profiler-for-sql-server-management-studio – Rory Mar 05 '15 at 11:08

8 Answers8

35

Try SQL Express Profiler.

I've used it a bit and it seems to work as advertised.

H77
  • 5,859
  • 2
  • 26
  • 39
Corbin March
  • 25,526
  • 6
  • 73
  • 100
  • I'm looking for this now! The asker asked 3 years ago! So, when the answer provider found that and work on that! World is really ahead-ed, I'm really in behind, please you all help me to go upward, Thanks. – Elias Hossain Mar 28 '12 at 13:58
  • does this work for SQL server 2016? – Furkan Gözükara Jun 29 '16 at 19:06
  • 1
    http://www.completelyuninstallprogram.com/sqlexpressprofiler-exe/ say this is trojan. Chrome browser also complain this setup is malicious. Is anything wrong with SQL Express Profiler? – rawel Dec 21 '16 at 23:34
5

As most of the profilers mentioned above seem to be dead or gone commercial, I would like to share what I found some days ago:

SQL Express Profiler

Since CodePlex has been retired, the project moved to GitHub and seems to have no binary download options anymore, so you have to compile it from source code.

I'm currently using it with SQL Server Express 2012 to monitor queries form my NHibernate applications (didn't want to add log4net just for this purpose and show_sql outputs only to console window which I don't have in my WCF service).

Really nice and stable utility. I find it much easier to use than MS SQL Profiler which needs various settings, trace profiles for various server versions and what not. Express Profiler - just launch, hit Run, and all the T-SQL and sp_execute queries are displayed.

It's open source, you can add even more features if you wish. I guess, Clear button would be useful because now you have to Stop and Run again to clear the list.

JustAMartin
  • 13,165
  • 18
  • 99
  • 183
2

I have been using AnjLab Sql Profiler for quite some time. I have had no problems with it.

Edit: Here is the link: http://anjlab.com/en/projects/opensource/sqlprofiler

Imran Rashid
  • 1,328
  • 14
  • 21
2

The mentioned SqlProfiler For Express Edition works fine for development.

But I have not found it always useful in solving production emergencies, like when sqlexpress takes 100% of server processor capacity. I couldn't get the profiler produce any trace in one such case. Perhaps there are similar experiences?

Lukas Knuth
  • 25,449
  • 15
  • 83
  • 111
mika
  • 6,812
  • 4
  • 35
  • 38
2

Express edition is just the full version with some limitations (2GB ram, 2 cpu cores, 4GB DB), so if you have the tools for the full version, use them. I think the trial version off the MS website will allow you to use the tools - but not the engine - for more than 60 days..... tho there may be an official package of the tools around for express

Nic Wise
  • 8,061
  • 2
  • 31
  • 30
1

The free SQL profiler others mention appears no longer available. Next best alternative might be something like this:

http://www.codeproject.com/Articles/20173/MS-SQL-Server-Profiler-with-NET

David
  • 3,223
  • 3
  • 29
  • 41
1

You could rather use SQL Server Extended Events instead of any Profiler. Extended Events are available from within the Express version. There is UI management from SQL Server 2012 under the Management folder of a server in the Object Explorer window.

You can read a good answer on the advantages of using Extended Events over SQL Profiler -which include less performance overhead- at Stack Exchange: https://dba.stackexchange.com/questions/2665/when-should-extended-events-be-used-instead-of-sql-profiler-perfmon

"Extended Events is the future of monitoring & troubleshooting going forward and some day in the future SQL Trace will be removed"

Regards.

Community
  • 1
  • 1
Jaime
  • 1,110
  • 1
  • 8
  • 14
  • 1
    Not everyone likes to write queries. Even with today's command line approach on the rise (sublime, npm, anyone?), I prefer UI. – Victor Zakharov May 17 '17 at 18:30
0

As a developer we can buy SQL Server 2005/08 Developer Edition which is available for $50 or so. It has full featured SQL Profiler and works beyond SQL Server Express SKUs limitations.

If not than use SQL Express Profiler

Hope this helps!

Lukas Knuth
  • 25,449
  • 15
  • 83
  • 111