Question: How to identify Used Space in Log File?
Answer: Use following command to display used log file size and total used space in the log file.
Question: How to identify Used Space in Log File?
Answer: Use following command to display used log file size and total used space in the log file.
One of my clients asked me more about these messages logged in the SQL Server ERRORLOG. If you are new to SQL Server and don’t know how to reach to ERRORLOG, read below Where is ERRORLOG? Various Ways to Find ERRORLOG Location. In this blog post we will discuss about DBCC TRACEON.
Question: How to Invalidate Procedure Cache in SQL Server?
Earlier, I had written two articles related to Shrinking Database. I wrote about why Shrinking Database is not good.
Previously, I had written a blog post about SQL SERVER – Shrinking NDF and MDF Files – A Safe Operation. After that, I have written the following blog post that talks about the advantage and disadvantage of Shrinking and why one should not be Shrinking a file SQL SERVER – SHRINKFILE and TRUNCATE Log File in SQL Server 2008. On this subject, SQL Server Expert Imran Mohammed left an excellent comment. I just feel that his comment is worth a big article itself. For everybody to read his wonderful explanation, I am posting this blog post here about Shrinking Database.