What profiler to use with sql express? [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 04:32:12

问题


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


回答1:


Try SQL Express Profiler.

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




回答2:


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.




回答3:


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




回答4:


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




回答5:


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?




回答6:


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




回答7:


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.




回答8:


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!



来源:https://stackoverflow.com/questions/616388/what-profiler-to-use-with-sql-express

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!