{"id":13596794,"url":"https://github.com/olahallengren/sql-server-maintenance-solution","last_synced_at":"2025-05-14T02:07:59.646Z","repository":{"id":40380982,"uuid":"93431127","full_name":"olahallengren/sql-server-maintenance-solution","owner":"olahallengren","description":"SQL Server Maintenance Solution","archived":false,"fork":false,"pushed_at":"2025-04-26T15:30:09.000Z","size":2220,"stargazers_count":3034,"open_issues_count":289,"forks_count":784,"subscribers_count":263,"default_branch":"main","last_synced_at":"2025-04-26T16:19:05.088Z","etag":null,"topics":["sqlserver"],"latest_commit_sha":null,"homepage":"https://ola.hallengren.com","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olahallengren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-05T17:46:28.000Z","updated_at":"2025-04-26T15:30:12.000Z","dependencies_parsed_at":"2023-02-09T11:47:28.097Z","dependency_job_id":"486b6ad2-2f7e-4672-be53-9ed4497e016a","html_url":"https://github.com/olahallengren/sql-server-maintenance-solution","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahallengren%2Fsql-server-maintenance-solution","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahallengren%2Fsql-server-maintenance-solution/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahallengren%2Fsql-server-maintenance-solution/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olahallengren%2Fsql-server-maintenance-solution/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olahallengren","download_url":"https://codeload.github.com/olahallengren/sql-server-maintenance-solution/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052915,"owners_count":22006717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sqlserver"],"created_at":"2024-08-01T16:02:48.115Z","updated_at":"2025-05-14T02:07:54.635Z","avatar_url":"https://github.com/olahallengren.png","language":"TSQL","readme":"# SQL Server Maintenance Solution\n[![licence badge]][licence]\n[![stars badge]][stars]\n[![forks badge]][forks]\n[![issues badge]][issues]\n[![bug report badge]][bug report]\n[![feature request badge]][feature request]\n\n## Getting Started\n\nDownload [MaintenanceSolution.sql](/MaintenanceSolution.sql).\nThis script creates all the objects and jobs that you need.\n\nYou can also download the objects as separate scripts:\n - [DatabaseBackup](/DatabaseBackup.sql): SQL Server Backup\n - [DatabaseIntegrityCheck](/DatabaseIntegrityCheck.sql): SQL Server Integrity Check\n - [IndexOptimize](/IndexOptimize.sql): SQL Server Index and Statistics Maintenance\n - [CommandExecute](/CommandExecute.sql): Stored procedure to execute and log commands\n - [CommandLog](/CommandLog.sql): Table to log commands\n\nNote that you always need CommandExecute; DatabaseBackup, DatabaseIntegrityCheck, and IndexOptimize are using it.\nYou need CommandLog if you are going to use the option to log commands to a table.\n\nSupported versions: SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014, SQL Server 2016, SQL Server 2017, SQL Server 2019, SQL Server 2022, Azure SQL Database, and Azure SQL Managed Instance\n\n## Documentation\n\n\u003cul\u003e\n\u003cli\u003eBackup: https://ola.hallengren.com/sql-server-backup.html\u003c/li\u003e\n\u003cli\u003eIntegrity Check: https://ola.hallengren.com/sql-server-integrity-check.html\u003c/li\u003e\n\u003cli\u003eIndex and Statistics Maintenance: https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html\u003c/li\u003e\n\u003c/ul\u003e\n\n[licence badge]:https://img.shields.io/badge/license-MIT-blue.svg\n[stars badge]:https://img.shields.io/github/stars/olahallengren/sql-server-maintenance-solution.svg\n[forks badge]:https://img.shields.io/github/forks/olahallengren/sql-server-maintenance-solution.svg\n[issues badge]:https://img.shields.io/github/issues/olahallengren/sql-server-maintenance-solution.svg\n[bug report badge]:https://img.shields.io/github/issues/olahallengren/sql-server-maintenance-solution/Bug%20Report.svg\n[feature request badge]:https://img.shields.io/github/issues/olahallengren/sql-server-maintenance-solution/Feature%20Request.svg\n\n[licence]:https://github.com/olahallengren/sql-server-maintenance-solution/blob/master/LICENSE\n[stars]:https://github.com/olahallengren/sql-server-maintenance-solution/stargazers\n[forks]:https://github.com/olahallengren/sql-server-maintenance-solution/network\n[issues]:https://github.com/olahallengren/sql-server-maintenance-solution/issues\n[bug report]:https://github.com/olahallengren/sql-server-maintenance-solution/issues?q=is%3Aopen+is%3Aissue+label%3A%22Bug+Report%22\n[feature request]:https://github.com/olahallengren/sql-server-maintenance-solution/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22\n","funding_links":[],"categories":["others","TSQL","SQL Server Web Resources"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folahallengren%2Fsql-server-maintenance-solution","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folahallengren%2Fsql-server-maintenance-solution","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folahallengren%2Fsql-server-maintenance-solution/lists"}