What profiler to use with sql express? [closed]

2019-01-25 03:49发布

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

8条回答
女痞
2楼-- · 2019-01-25 04:30

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?

查看更多
霸刀☆藐视天下
3楼-- · 2019-01-25 04:34

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

查看更多
Rolldiameter
4楼-- · 2019-01-25 04:36

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

查看更多
再贱就再见
5楼-- · 2019-01-25 04:39

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!

查看更多
唯我独甜
6楼-- · 2019-01-25 04:40

Try SQL Express Profiler.

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

查看更多
Deceive 欺骗
7楼-- · 2019-01-25 04:40

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.

查看更多
登录 后发表回答