Foreign keys are a fundamental aspect of relational databases, as they enforce referential integrity between related tables. However, foreign key relationships can also cause performance issues, particularly if the foreign key is untrusted. An untrusted foreign key occurs when SQL Server is unable to verify the relationship between two tables, potentially leading to performance issues and data inconsistencies. The Database …

Database Health: Untrusted Foreign Keys Read more »

Out of all of the customers we have running our daily monitoring here are the versions of SQL Server that are being run. All the data is sanitized, so there is no private client information to expose here. What is this service? With this service we detect and alert you of any issues that arise on your SQL Server. Then …

Daily Server Monitoring – SQL Versions for June Read more »

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 »