Quantcast
Channel: Jobs – SQL Shack – articles about database auditing, server performance, data recovery, and more
Browsing all 32 articles
Browse latest View live

Ola Hallengren’s SQL Server Maintenance Solution – Installation and SQL...

Database administrators tend to use various scripts or applications, to make the daily SQL Server database maintenance task easier. Some more experienced administrators prefer to design and use their...

View Article


Ola Hallengren’s SQL Server Maintenance Solution – Database integrity check

This is the second article in Ola Hallengren’s SQL Server Maintenance Solution series. It will cover the jobs for database integrity, backup history cleanup and job history cleanup. The installation of...

View Article


Ola Hallengren’s SQL Server Maintenance Solution – Index and statistics...

This is the third article in Ola Hallengren’s SQL Server Maintenance Solution series. The article will cover the IndexOptimize stored procedure in more detail, along with the index optimization jobs...

View Article

Reporting and alerting on job failure in SQL Server

SQL Server Agent can be used to run a wide variety of tasks within SQL Server. The built-in monitoring tools, though, are not well-suited for environments with many servers or many databases. Removing...

View Article

FAQ and examples about the SQL Server Agent

Introduction In this article, we will answer FAQs about the SQL Server Agent. We will learn how to create a job, some things about the internal tables used, how to schedule jobs, add PowerShell jobs,...

View Article


How to create an email alert in SQL Server Agent for job failures

SQL Server Agent is a Microsoft Windows service which helps to execute, schedule and automatize T-SQL queries, Integration Service Package, SQL Server Analysis Service queries, executable programs,...

View Article

Generating Schedules with SQL Server Agent

Summary SQL Server Agent allows us to create jobs and assign any number of schedules to them. This allows for great flexibility when deciding when jobs should run. Over time, as the number of jobs and...

View Article

Detecting and Alerting on SQL Server Agent Missed Jobs

Summary While alerting on failed SQL Server Agent jobs is straightforward, being notified when a job is missed is not a simple or built-in feature. If the SQL Server Agent is stopped due to an issue...

View Article


Azure SQL – Elastic Job Agent

In this article, we will review on elastic job Agent in Azure SQL and how to configure elastic jobs to run scripts on Azure SQL databases. SQL Server Agent is a powerful component that is used to...

View Article


Azure SQL – Index tables using Azure Automation

This article provides an overview of indexing tables in Azure SQL database using Azure Automation and how to schedule indexing jobs to run at specific intervals. There are different ways to schedule...

View Article

Audit and Alert SQL Server Jobs Status Changes (Enabled or Disabled)

In this article, we will talk about how to track enabled or disabled SQL jobs in SQL Server using T-SQL. Users with the Sysadmin role have the default permissions to modify the information of any jobs...

View Article

How to fix the “Agent XPs disabled” error

This article explains how we can fix SQL Server error “Agent XPs Disabled”. Before we dive into troubleshooting and methods for fixing the error, let me explain about Microsoft SQL Server Agent and the...

View Article

Scheduling SQL Notebooks in Azure Data Studio

SQL Notebooks are an interactive way of creating documents, executing T-SQL queries along with Python and PowerShell codes. It is available in Azure Data Studio, a cross-platform client tool that works...

View Article


Refresh a SQL Database using the maintenance plan

In this article, I am going to explain how we can refresh a SQL Database using the Maintenance plan. To demonstrate the process, I have configured two virtual machines. I have installed SQL Server 2016...

View Article

Automating Azure SQL Database index maintenance using Elastic Job Agents

In this article, I am going to explain how we can automate the index and statistics maintenance of Azure SQL Database using an Elastic Job Agent. The Microsoft SQL Server Agent component is used to...

View Article


Monitor the growth of SQL databases using the Default Trace

Monitoring the growth of the SQL Database is one of the essential tasks of the SQL Server DBA. In this article, I am going to explain how we can monitor the growth of the SQL database using the default...

View Article

Identify unused tables of SQL databases

In this article, I am going to demonstrate how we can identify the unused tables of a given SQL Database. As a database administrator, we must maintain the tables and objects of the SQL Database. In my...

View Article


T-SQL scripts to generate database health reports

In this article, I am going to show how we can automate a database daily health report using T-SQL scripts. For a senior database administrator, it is always important to review the health of the...

View Article

T-SQL scripts to identify unused database files

In this article, I am going to show how we can automate the report of unused database files using T-SQL. Introduction Often organizations have a well-defined process to decommission the client...

View Article

Identify unused SQL databases

In this article, I am going to show how we can identify unused SQL databases. In our organization, after release deployment, we receive the database refresh requests. To refresh the database, we were...

View Article
Browsing all 32 articles
Browse latest View live