DBCC DBREINDEX is a has been announced to be deprecated for more than 10 years ago, meaning it may disappear in future versions of SQL Server. DBCC DBREINDEX is a database console command (DBCC) in Microsoft SQL Server that can be used to rebuild the indexes of a database. DBCC DBReIndex has been deprecated meaning that Microsoft has announced that …

SQL Server DBCC Commands: DBCC DBREINDEX Read more »

Wait statistics, in the context of SQL Server, refer to the amount of time that a query spends waiting to access data in the database. When a client application requests data from the database, the request is placed in a queue and the client application must wait for its turn to access the data. The time that the query spends …

SQL Server Wait Type: PREEMPTIVE_OS_MOVEFILE Read more »

Database corruption in Microsoft SQL Server can present serious challenges, causing data loss, disruption of services, and potential impact on business operations. Understanding the causes, symptoms, and potential solutions for such corruption is essential for any database administrator looking to maintain the integrity and reliability of their SQL Server environment.. NOLOCK is a query hint in SQL Server that allows …

SQL Server Corruption: NOLOCK and Corruption Read more »

Keeping your SQL Server up-to-date with the latest patches and updates is an important part of maintaining the security and stability of your system. Here are a few reasons why it is important to keep your SQL Server up-to-date: * Security vulnerabilities: Software is often developed with certain vulnerabilities that can be exploited by hackers. These vulnerabilities are often discovered …

Securing SQL Server: Patching your SQL Server Read more »

DBCC TRACESTATUS is a database console command (DBCC) in Microsoft SQL Server that can be used to display the status of a trace flag, which is a special setting that can be used to enable or disable specific behaviors in the database engine. Trace flags can be useful for troubleshooting issues or for testing the effects of different behaviors on …

SQL Server DBCC Commands: DBCC TRACESTATUS Read more »

Database Health: Finding and Resolving Blocking Queries Tue, 30 May 2023 Finding and resolving blocking queries is an essential part of database administration, as blocked queries can cause significant performance issues and slow down query execution. The Database Health Monitor for SQL Server provides insights into blocking queries, enabling you t Read more… Honoring those who have died while serving …

May Blog Post Wrap-up Read more »

Finding and resolving blocking queries is an essential part of database administration, as blocked queries can cause significant performance issues and slow down query execution. The Database Health Monitor for SQL Server provides insights into blocking queries, enabling you to identify and resolve them to optimize database performance. A blocking query occurs when one query or process prevents another query …

Database Health: Finding and Resolving Blocking Queries Read more »

I’m Steve Stedman, a firm believer in the value and power of effective data management. Having interacted with SQL Server extensively, I’ve recognized that data aggregation is a vital tool for anyone seeking to extract the most valuable insights from their data. To share this knowledge and help others master this powerful technique, I’ve launched a new course on Teachable …

SQL School: Elevate Your SQL Skills: Harness the Power of Data Aggregation Read more »