프로젝트
GitHub에서 보기
olahallengren/sql-server-maintenance-solution
소개
SQL Server 유지 관리 솔루션
데이터 및 분석측정된 스타 증가
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +7
- in 1 month
- +18
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSQL Server Maintenance Solution
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:
- DatabaseBackup.sql: Stored procedure to back up databases
- DatabaseIntegrityCheck.sql: Stored procedure to check the integrity of databases
- IndexOptimize.sql: Stored procedure to rebuild and reorganize indexes and update statistics
- CommandExecute.sql: Stored procedure to execute and log commands
- CommandLog.sql: Table to log commands
- Queue.sql: Table for processing databases in parallel
- QueueDatabase.sql: Table for processing databases in parallel
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
- SQL Server Backup: website · repository
- SQL Server Integrity Check: website · repository
- SQL Server Index and Statistics Maintenance: website · repository
- Frequently Asked Questions: website
- Version History: website
관련 프로젝트 살펴보기
불러오는 중…