我正在使用sql server 2008
,网站位于asp.net 1.1
。
有没有办法找出 how many times database has been called from a page
?
What are the stored procedure called from the page?
What are the tables involved in a page load?
请建议我如何追踪这些?
答案 0 :(得分:5)
最好的方法是使用SQL profiler,它将跟踪对数据库的每次调用。
您可能会看到以下文章:SQL SERVER – Introduction to SQL Server 2008 Profiler