Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
703 views

SQL Server DBA - DailyUsed Scripts

This document provides links to articles on scripts that can be used daily by an SQL Server DBA, including scripts to restore databases faster, analyze the query cache, start and stop the SQL Server service using Powershell, find queries using parallelism, troubleshoot TEMPDB log growth issues, automate maintenance tasks like updating statistics and usage, generate logins for migration, check server configuration, automate data and log file growth, migrate databases with backup and restore, monitor queries in real-time, automate data and log file copy, report on database restores, identify blocking chains, monitor AlwaysOn availability groups, automate database attach and detach for migrations, and analyze long running queries, queries by execution count, and the query

Uploaded by

praveenmpk
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
703 views

SQL Server DBA - DailyUsed Scripts

This document provides links to articles on scripts that can be used daily by an SQL Server DBA, including scripts to restore databases faster, analyze the query cache, start and stop the SQL Server service using Powershell, find queries using parallelism, troubleshoot TEMPDB log growth issues, automate maintenance tasks like updating statistics and usage, generate logins for migration, check server configuration, automate data and log file growth, migrate databases with backup and restore, monitor queries in real-time, automate data and log file copy, report on database restores, identify blocking chains, monitor AlwaysOn availability groups, automate database attach and detach for migrations, and analyze long running queries, queries by execution count, and the query

Uploaded by

praveenmpk
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

SQL Server DBA - Daily Used Scripts

Restore a SQL Server Database Faster


http://www.techdevops.com/Article.aspx?CID=287

Query Cache Analysis


http://www.techdevops.com/Article.aspx?CID=264

Use Powershell to Stop & Start SQL Server Service


http://www.techdevops.com/Article.aspx?CID=260

Fing Queries using Parallelism


http://www.techdevops.com/Article.aspx?CID=258

Find the root cause of a TEMPDB LOG growth issue


http://www.techdevops.com/Article.aspx?CID=257

Automate DBCC UpdateUsage per select list of databases


http://www.techdevops.com/Article.aspx?CID=251

Automate DBCC UpdateStats per select list of databases


http://www.techdevops.com/Article.aspx?CID=250

T-SQL Generate Logins for a specific list of databases for Migration purposes
http://www.techdevops.com/Article.aspx?CID=248

Running SQL Server Post-Installation Checks:


http://www.techdevops.com/Article.aspx?CID=247

Automate SQL Server Database Data & Log File Growth Sizes:
http://www.techdevops.com/Article.aspx?CID=246
SQL Server Automated Database Migration using Backup & Restore Method
http://www.techdevops.com/Article.aspx?CID=244

Monitor real-time query progress using sys.dm_exec_query_profiles DMV


http://www.techdevops.com/Article.aspx?CID=243

Automate XCOPY of Database Data & Log Files


http://www.techdevops.com/Article.aspx?CID=240

Automated Report for any Database Restores occurring on an SQL Server Instance
http://www.techdevops.com/Article.aspx?CID=234

Extract Blocking Chains from your SQL Servers


http://www.techdevops.com/Article.aspx?CID=232

SQL Always On Monitor


http://www.techdevops.com/Article.aspx?CID=225

Automate Database Attach or Detach of all User Databases for a Migration


http://www.techdevops.com/Article.aspx?CID=224

Find Long Running Queries in SQL Server, Queries with High Execution Counts,
Query Cache Analysis
http://www.techdevops.com/Article.aspx?CID=223

You might also like