Skip to content

NTSEQ:- A IT Infrastructure and Cyber Security Blogs

Category: SQL Server -DBA

SQL Server -DBA, SQL Server Services, who dropped or altered tables,procedures or databases in SQL Server, What in SQL Server

Identify Which Connection Is Doing What in SQL Server

Through below script you are able to find out Which Connection Is Doing What in SQL Server at current point

Continue reading

Performance Tuning :- Find Most Expensive Queries in SQL Server Using DMV

Through below script you will be able to find the most expensive queries in Sql Server:-   SELECT top 20

Continue reading

Identify CPU Pressure In SQL Server

Through below Query we can find out CPU Pressure in SQL Server If Signal wait shows 15-18 % then it’s

Continue reading

How To Check TempDB Speed in SQL Server ?

Below script provides you details about TempDB data files and shows how fast TempDB responding to write and read requests

Continue reading

How to Find all waiting tasks currently active or blocked in SQL Server?

We can find out all the waiting tasks or blocked session in SQL server through below script.   SELECT blocking.session_id

Continue reading

Identifying Lead blocker With Blocking Chain in SQL Server

This is a very good script to find blocking chain with lead blocker. I got this script from Pinal dave

Continue reading

Easiest way to find or Identify Blocking Queries in SQL Server

Through below query you are able to find out blocking on SQL Server. It provides you details information about blocking

Continue reading

How to resolve Error Msg 1834, mdf file cannot be overwritten when restoring a database in SQL Server

Sometimes when you try to restore a database backup in a new database then you will get below error:- we

Continue reading

How to Shrink TempDB Database Without Restart SQL Server Services?

Sometimes we try to Shrink TempDB but it don’t happen thenĀ  We can Shrink TempDB Database without restart the SQL

Continue reading

How Can You find out Process ID for SQL Server Services?

After the execution of above script you will get information like service status, process Id, last startup time and service

Continue reading
  • C Programming
  • C++
  • Cyber Security
  • Interview FAQ
  • Java
  • Linux
  • MySQL
  • Netseq.com
  • Oracle
  • PHP
  • Python
  • SQL
  • SQL Server -DBA
  • Active Directory Security: Strategies to Safeguard Your Organization
  • PowerShell scripts for Active Directory (AD)
  • Top 50 Essential Active Directory PowerShell Commands and Administrative Tools
  • Critical Windows Event ID’s to SOC Team Must Monitor
  • Top Cybersecurity Threats in 2025 and How to Protect Yourself
WordPress Theme: Wellington by ThemeZee.