Skip to content
Proyectos

olahallengren/sql-server-maintenance-solution

Ver en GitHub

Acerca de

Solución de mantenimiento de SQL Server

Datos y análisis

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+3
in 15 days
+7
in 1 month
+18

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

SQL Server Maintenance Solution

licence badge stars badge forks badge issues badge bug report badge SQL Server bug badge feature request badge

Getting Started

Download the script for your platform:

  • MaintenanceSolution.sql: SQL Server 2017, SQL Server 2019, SQL Server 2022, SQL Server 2025, and Azure SQL Managed Instance. This script creates all the objects and jobs that you need.
  • MaintenanceSolutionAzureSQLDatabase.sql: Azure SQL Database. This script creates the objects for integrity check and index and statistics maintenance.

You can also download the objects as separate scripts:

Note that you always need CommandExecute; DatabaseBackup, DatabaseIntegrityCheck, and IndexOptimize use it.

When you update DatabaseBackup, DatabaseIntegrityCheck, or IndexOptimize, you should also update CommandExecute.

You need CommandLog if you are going to use the option to log commands to a table.

You can verify the scripts against the SHA-256 checksums in SHA256SUMS.txt.

Documentation

Explorar proyectos relacionados

Cargando…