- SQL Server DBA Responsibilities
- Microsoft SQL Server Support Lifecycle
- How skip the reboot while installing SQL server or SQL patching using powershell or command prompt
- Differences B/W ENTERPRISE VS STANDARD EDITION FEATURES AND BENEFITS on SQL Server
- Differences B/W LogShipping Vs Mirroring Vs Transaction Replication in SQL server
- Configuring the mirroring in SQL SERVER
- Grant view defination access for all Stored Procedures in SQL server using SQL script
- Clear/Remove SQL Server Services from Services.msc
- SQL Server Database backup verify script
- Script to get disabled jobs list in SQL Server
- Backup, Restore percentage status script
- Script: list all Usernames, Roles for all the databases in SQL server
- MySQL database migration from one server to another server
- Last cluster failover sql script to find
- Using Power shell script to get Disk space report for multible servers in HTML format via DB alert
- How to Install SQL Server on Red Hat- Linux
- SQL Server System Databases
- Find who dropped, created or altered the table, SP or any object
- Executing a SQL statement from command prompt:
- Collation levels and default collation
- SP in Fundamental level
- T-SQL TRANSACT STRUCTURED QUERY LANGUAGE
- How to move system databases from one location to another location in SQL server
- SQL server SSIS Notes
- T-SQL Generate attach and detach database script for all User Databases On a SQL Instance
- SQL-Server-Notes
- MS SQL SERVER DBA NOTES
- SQL Server Reporting Services Configuration Manager
- SQL Server Database Migration Checklist
- Database 'DBA' cannot be opened. It is in the middle of a restore. (SQL Server, Error: 927)
- How To Find The Highest Salary In SQL Server
- How to Install SQL Server on Linux CentOS 7 - SQL Server on Linux
- SP in Fundamental level in SQL Server
- TRANSACT STRUCTURED QUERY LANGUAGE(T-SQL Commands)
- Litespeed Installation Steps
- Finding Fragmentation script in SQL Server
- SQL SERVER – ERROR MESSAGES (severity levels)
- SQL Server Reporting Service Start Error 1053 The Service Did Not Respond
- MySQL Frequently Using Commands
- SQL Server service does not start successfully because of a logon failure
- T-SQL – whether the databases are configured for mirroring or not
- T-SQL – Checking SQL Server Version and Service Packs
- DBA Regular usage scripts-SQL DBA
- Log File full-Troubleshooting
- Services Failed to start in windows
- Unable to Restore the backup files in SQL Server
- ORPHAN USERS FIND AND FIX SCRIPT in SQL Server
- To change all databases to Simple Recovery except system databases
- SQL_Login_Expired_script (T-SQL Script to find When will a SQL login password expire?)
- Sql server stopped reasons and checks
- Performance issues
- Disk drive full-Troubleshooting
- SQL Server is running slow reasons and checks to troubleshoot
- Database Issues - Troubleshooting
- Application is running slow
- SUSPECT DATABASE in SQL Server
- AlwaysON - Prerequisites -Every SQL DBA must know!
- Shrink Operation- Internally what happens?
- What is an execution plan?
- Log File Architecture in SQL Server
- Editions Of SQL Server
- Upgrade SQL Server Evaluation edition to license Edition of SQL Server
- Scripting Out the Logins, Server Role Assignments, and Server Permissions
- Scripting Out the Database / Object Level Permissions in SQL Server
- Sending query results to Excel through e-mail in SQL Server
- Sending query results to HTML Format through e-mail in SQL Server
- Performance DMV Queries in SQL Server T-SQL scripts
- To Drop All Linked Server:
- T-SQL Query to find currently running jobs in SQL Server
- Script for monitor blocking in SQL Server
- Queries taking longest elapsed time in SQL Server
- Get table row count for all tables in a database
- Page Life Expectancy
- What is Buffer Cache Hit Ratio and script
- How many sockets does my machine have -SQL Server?
- How many tasks are currently waiting?
- SQL Queries taking longer than normal to complete in SQL Server
- Steps to Database Refresh
- .NET Unhandled Exception error when running installing SQL Server 2012
- How to Reverse Log Shipping Roles in SQL Server
- Post patching checks in SQL Server
- Dump a specific table or few rows in MySQL Server
- How to get the complete backups information of a particular database in SQL Server
- How to display execution plans present in procedure cache in SQL Server
- T-SQL Script to know current sessions status in SQL Server
- List all the foreign keys referencing a database in SQL Server
- Query to find IP, port , connection details of SQL server
- Script Generates A script to Create all Logins, Server Roles in SQL Server
- Script To Collect Performance Metrics From SQL Server Query Analyzer
- Detailed Blocking Information With Query Information In SQL Server
- How To Find Current Running Transaction In Sql Server
- TOP 5 CPU-CONSUMING STATEMENTS In SQL Server
- Transaction Filling Log Space in SQL Server
- Audit SQL modifications and get notified in SQL Server
- When windows server last rebooted?
- How To Find "Last Checkdb Run For All Databases" in SQL server
- AlwaysOn – The secondary database doesn’t come automatically when the primary instance of SQL Server goes down
- List All the Stored Procedure Modified in Last Few Days
- Sending Missing backup status report through e-mail in SQL Server
- T-SQL query to get tables size in GB with no of rows in SQL Sever
- How to start sql server without tempdb
- How to find the Linked Servers in SQL Server
- Backup failed error Error: 3041, Severity: 16, State: 1
- Database RESTORE error Msg 3183, Level 16, State 2, Line 1
- The mirror database has insufficient transaction log data
- How can you find the stored procedure used by SQL Job
- T-SQL scripts to find out when last stats update happened ?
- Analyzing Linux Logs:
- SQL Server Reporting Services Migration
- Using FILEPROPERTY to check for free space in a database
- DDL CREATE_DATABASE EVENT alert via mail
- Length specified in network packet payload did not match number of bytes read; the connection has been closed. Please contact the vendor of the client library.
- Sql Server : A connection was successfully established with the server, but then an error occurred during the login process. The certificate chain was issued by an authority that is not trusted
- DBA_Blocking_Alerts script
- Index--Missing Index on database Notification Mail
- Most active database in sql server
- Script to Identifying possible CPU pressure via signal wait time
- Top 10 Wait States in SQL Server
- KILL all the connections for a database in SQL Server
- SP who3 script to check processes in SQL server
- How applications generally connect to database?
- Check list for before Migration?
- CDC (CHANGE DATA CAPTURE)
- SQL Server WAITING TYPES
- Log Shipping Article
- DBCC (DATABASE CONSOLE COMMANDS) COMMANDS
- STORED PROCEDURES IN SQL SERVER
- DMV’S [DYNAMIC MANAGEMENT VIEWS]
- TEMPDB ARCHITECTURE
- EXECUTION PLAN
- SQL Script: How To Find Index Fragmentation
- SQL Server Database migration checklist
- Check for CPU Pressure in SQL Server
- Show Database ID in SQL Server
- How to schedule and automate backups of SQL Server databases in SQL Server Express
- Delete files older than n days using Powershell script
- Get last reboot time for a host using powershell script
- Send email with attachments using PowerShell script
- Get CPU utilization for a host using PowerShell Script
- Configure Alerts for disk I/O errors using t-sql
- Should I Keep Autoshrink On?
- Databases Last Accessed
- SQL Server script to get a list of all jobs that access a database in SQL server?
- SQL Server DBA: Database in Recovery Pending state
- How many IP Addresses we require for setting up Active\Passive SQL Server cluster?
- How many IP Addresses we require for setting up Active\Active SQL Server cluster with Analysis services?
- Creating, backing up, and restoring a database in SQL Server on Linux OS
- About Update stats and Indexing Optimize in SQL Server
- Using SQL Server script to get list of users and their database roles in SQL Server
- Finding an object in server in SQL Server using SP_MSFOREACHDB
- Generate & change all SQL DB(s) to a different compatibility level - Alter SQL Compatibility level
- Delete Bakups older than 1 day in SQL Server
- create a tample table to gather the information of error log files in SQL Server
- Error 22022: SQLServerAgent is not currently running so it cannot be notified of this action
- Enable the SQL Server Agent in Linux
- T-SQL Script to get SQL Data & Log Files Free Space & Space Used of all databases
- Notification --Email SP Results in SQL Server
- TempDB-Move TempDB Script in SQL Server
- Retrieve SSRS report schedule info through SQL
- T-SQL query to get tables size in GB with no of rows in SQL server
- About Blocking in SQL Server
- Configure Deadlock Alert Using T-SQL in SQL Server
- DB_Growth status Report Alert
- Database Growth status report for All DB(s) via Email in SQL Server
- Database last updated and last_select_query_update_script
- Tune inefficient queries in SQL Server
- Improve the index design-- Review missing indexes
- Review bad indexes
- Find largest tables. Usually, we can prioritized index design based on slow queries that could be referencing one or more largest tables.
- Backup Report via Email using Power Shell Script.
- How to Manage a Very Large Database in SQL Server
- Database level roles in Azure SQL Database
- SQL Server – Get Size of All Databases in MB and GB
- DIFFERENCES BETWEEN SQL SERVER CLUSTERED INDEX SCAN AND INDEX SEEK
- Change data capture in onprem and Azure sql database
- New in SQL Server 2022 – Generate_Series
- Getting Database Backup History In SQL Server
- SQL DBA Checklist/Activities
- New security server roles in SQL SERVER 2022
- Who is a DBA?
- Page Life Expectancy, Buffer Cache Hit Ratio
- New and Enhanced Features in SQL Server 2022
- SQL Server - Choosing Between AWS EC2 vs AWS RDS
- Availability Group issues fixed with Alerts
- How much memory is each SQL Server database using?
- How to Remove “Restricted User” in SQL Server
- T-SQL Scripts for Troubleshooting Common Issues with SQL Server
Welcome to SQLDBANow.com! This blog, created by Bandaru Ajeyudu, is dedicated to learning and sharing knowledge about SQL DBA and Azure SQL. Join us as we explore insights, tips, and best practices in the world of SQL Database Administration and Azure SQL.
SQL DBA Scripts
Subscribe to:
Posts (Atom)
Wow thanks lot good site to learn SQL server can you please post performance wide like wait status , long run queries andand execut plan ---n+ .
ReplyDeleteWow thanks lot good site to learn SQL server can you please post performance wide like wait status , long run queries andand execut plan ---n+ .
ReplyDeleteOk sure... Thanks
ReplyDeleteGood to learn and easy to understand, thanks
ReplyDeleteVery Userful. Thanks.
ReplyDeleteVery useful thanks for help
ReplyDeleteExcellent article, very useful. Thank you!!
ReplyDeleteuseful article, thanks for your efforts
ReplyDelete