In a database there is always the possibility of corruption. This can be either physical e.g. from some disk damage or either logical e.g. wrong values in a table field. In the article we will see how… read more
How can we get emails whenever we have high CPU Usage in SQL Server
In this article we will see a script that creates a SQL Server Agent Job that will notify us by email whenever the CPU exceeds a threshold. It derives the information not from performance counters of the operating system but... read more
How do we limit the resources that a user can consume in SQL Server
Many times a user in the database can consume all the resources that the SQL Server instance has and no other work can be done by another user. In this article we will see how we can… read more
A disk is full of SQL Server datafiles, what should I do?
Sometimes a disk will suddenly become full. On this disk we may have one base or many, while we may have space on another disk, we must somehow find which datafiles are full. In this… read more
Why can't I shrink the transaction log in SQL Server and why is it full?
In a previous article we saw what the Transaction Log is. This time we'll see how we can empty it and make it shrink, we'll also see what we can do case by case when it won't let us. Suddenly… read more
How we find the performance of existing Indexes and which new Indexes SQL Server recommends
In a previous article we saw what indexes are. In this article we will see how to find the status of their hash, if you are using, when they were created, when they were updated and if they are missing indexes recommended by SQL Server.… read more
How do we set up a Windows Server as an NFS Server to have shared NFS disks on Unix
In this article how we can have shared disks between Microsoft Windows Server and Unix through NFS protocol. We will see step by step how to create a Microsoft Windows NFS Server and how to mount the disks in... read more
Why is restarting the SQL Server instance delayed?
In this article we will look in detail at some of the most common reasons why a SQL Server instance may be slow to restart and what we can do to improve this time on a case-by-case basis. Using a very large… read more
What is the Transaction Log and what is it used for in SQL Server
In this article we will analyze what the Transaction Log is in Microsoft SQL Server, what it is used for and what to watch out for. What is the Transaction Log Every database we create apart from the data files that… read more