# About
![License](https://img.shields.io/badge/license-MIT-green.svg)
![GitHub contributors](https://img.shields.io/github/contributors/marcingminski/sqlwatch)
![GitHub Repo stars](https://img.shields.io/github/stars/marcingminski/sqlwatch)
![GitHub All Releases](https://img.shields.io/github/downloads/marcingminski/sqlwatch/total.svg)
![GitHub release](https://img.shields.io/github/release/marcingminski/sqlwatch.svg)
![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/marcingminski/sqlwatch/latest)
![GitHub last commit](https://img.shields.io/github/last-commit/marcingminski/sqlwatch)
![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed-raw/marcingminski/sqlwatch)
![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/marcingminski/sqlwatch)
![AppVeyor](https://img.shields.io/appveyor/build/marcingminski/sqlwatch?label=build)
![AppVeyor tests](https://img.shields.io/appveyor/tests/marcingminski/sqlwatch?label=AppVeyor%20Tests)
![Testspace tests](https://img.shields.io/testspace/tests/marcingminski/marcingminski:sqlwatch/main?label=Testspace%20Tests)
[![Space Metric](https://marcingminski.testspace.com/spaces/139534/badge?token=4ff7ada23232f72be8c90caf9cac0a753b54d8f7)](https://marcingminski.testspace.com/spaces/139534?utm_campaign=badge&utm_medium=referral&utm_source=test "Test Cases Passed %")
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c176e01274c649aeb4ee5f64d1aeddeb)](https://www.codacy.com/gh/marcingminski/sqlwatch/dashboard?utm_source=github.com&utm_medium=referral&utm_content=marcingminski/sqlwatch&utm_campaign=Badge_Grade)
![Twitter Follow](https://img.shields.io/twitter/follow/sqlwatch?style=social)
![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCmU6X1zVucgz0dlO0L7XybA?style=social)
![YouTube Channel Views](https://img.shields.io/youtube/channel/views/UCmU6X1zVucgz0dlO0L7XybA?style=social)
SQLWATCH is decentralised, real to near-real time SQL Server Monitoring Solution. It is designed to provide comprehensive monitoring out of the box and to serve as a monitoring framework for your own projects or applications. It collects performance data in a local database with an option for centralised reporting for convenience.
Server Overview:
![SQLWATCH Grafana Instance Overview](/.github/images/sqlwatch-grafana-instance-overview.gif?raw=true)
Detailed charts:
![SQLWATCH Grafana Dashboard](/.github/images/sqlwatch-grafana-dashboard-animation.gif?raw=true)
# Features
* 5 second granularity to capture spikes in your workload.
* Grafana for real-time dashboarding and Power BI for in depth analysis
* Minimal performance impact (around 1% on a single core SQL Instance when using broker for invocation).
* Out of the box collection with minimal configuration required to get it up and running.
* Extensive configuration available for your convenience.
* Zero maintenance. It has been designed to maintain itself.
* Unlimited scalability. As each instance monitors itself, you are not constrained by the capacity of the monitoring server.
* Works with all supported SQL Servers (with some limitations on 2008R2)
# Resources
* How to get started https://sqlwatch.io/get
* Documentation https://docs.sqlwatch.io
* Our Slack channel for discussion, asking questions, solving problems https://sqlcommunity.slack.com/messages/CCCETQBFZ
# Architecture
SQLWATCH uses SQL Agent Jobs to trigger data collection on a schedule which write results to a local database. For that reason each monitored SQL Server instance must have SQLWATCH deployed, however, the destination database can be an existing "dbatools" database, msdb or a dedicated SQLWATCH database. For performance reasons, it is advisable to deploy into a dedicated database as we're setting Read Committed Snapshot Isolation which will not be done if deployed to an existing database. The data can be consumed and analysed by the Power BI report.
# Requirements
Tested on the following SQL Server versions:
* 2008 R2 SP3 (with some limitations)
* 2012
* 2014
* 2016
* 2017
* 2019
> Although Docker and Linux work, the Windows-only WMI based disk utilisation collector will fail.
# Installation
The easiest way to install SQLWATCH is to use [dbatools](https://github.com/sqlcollaborative/dbatools):
```
Install-DbaSqlWatch -SqlInstance SQLSERVER1,SQLSERVER2,SQLSERVER3 -Database SQLWATCH
```
Alternatively, SQLWATCH can also be deployed manually from the included Dacpac either via command line using [SqlPackage.exe](https://docs.microsoft.com/en-us/sql/tools/sqlpackage?view=sql-server-2017):
```
SqlPackage.exe
/Action:Publish
/SourceFile:C:\Temp\SQLWATCH.dacpac
/TargetDatabaseName:SQLWATCH
/TargetServerName:YOURSQLSERVER
/p:RegisterDataTierApplication=True
```
Or by [deploying Data-Tier application in SQL Server Management Studio](https://docs.microsoft.com/en-us/sql/relational-databases/data-tier-applications/deploy-a-data-tier-application?view=sql-server-2017)
没有合适的资源?快使用搜索试试~ 我知道了~
SQL Server 性能监视器,它旨在提供开箱即用的全面监控,并作为您自己的项目或应用程序的监控框架 它在本地数据库中收集性能
共467个文件
sql:338个
md:29个
png:25个
需积分: 0 0 下载量 45 浏览量
2024-05-22
16:36:15
上传
评论
收藏 34.08MB ZIP 举报
温馨提示
看起来你在寻找一个可以监控 SQL Server 性能的工具,该工具不仅可以开箱即用地提供全面的监控功能,还可以作为你自己的项目或应用程序的监控框架。在此基础上,你可能遇到了一个“500 内部服务器错误”(500 Internal Server Error),这通常是指服务器在处理请求时遇到了意外的情况。 要解决和防止这种错误,同时确保你获得所需的 SQL Server 性能监视器,以下是几个步骤和建议: 一、选择合适的 SQL Server 性能监视工具 1. **SQL Server Management Studio (SSMS)**: - 内置工具,如“活动监视器”和“性能报告”。 - 适用于大多数日常监控需求。 2. **第三方监控工具**: - **SolarWinds Database Performance Analyzer**: - 提供详细的性能分析和监控。 - 支持多种数据库,具有警报和报告功能。 - **Redgate SQL Monitor**: - 实时监控和历史性能数据。 -
资源推荐
资源详情
资源评论
收起资源包目录
SQL Server 性能监视器,它旨在提供开箱即用的全面监控,并作为您自己的项目或应用程序的监控框架 它在本地数据库中收集性能 (467个子文件)
Storage Performance.json.bak 148KB
Storage Utilisation.json.bak 40KB
Wait Events.json.bak 21KB
Long Queries.json.bak 12KB
Checks.json.bak 11KB
CNAME 16B
CODEOWNERS 32B
App.config 8KB
packages.config 142B
SqlWatchInstance.cs 26KB
Program.cs 7KB
Config.cs 3KB
Logger.cs 3KB
Tools.cs 2KB
Options.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 886B
StreamPerformanceCounters.cs 837B
Extensions.cs 563B
SqlWatchImport.csproj 3KB
ReportUnit.exe 667KB
sqlwatch-grafana-dashboard-animation.gif 16.54MB
sqlwatch-grafana-instance-overview.gif 7.35MB
.gitattributes 90B
.gitignore 3KB
UpgradeLog.htm 33KB
SQL Instance Overview.json 362KB
Repository Dashboard.json 54KB
Azure Workbook.json 17KB
Azure Log Analytics Workbook.json 17KB
Wait Events.json 12KB
Long Queries.json 11KB
LICENSE 2KB
alternative-import.md 11KB
index.md 7KB
powerbi.md 6KB
SqlWatchImport.md 6KB
known-issues.md 5KB
README.md 5KB
faq.md 5KB
CONTRIBUTING.MD 4KB
collection.md 4KB
actions-notifications.md 4KB
grafana.md 4KB
CODE_OF_CONDUCT.md 3KB
basics.md 3KB
application.md 3KB
alternative-installation.md 3KB
getting-started.md 2KB
upgrade-downgrade.md 2KB
overview.md 2KB
exclude-xes-long-query.md 1KB
removal.md 1KB
exclude-databases.md 1KB
optional-components.md 1KB
bug_report.md 945B
include-index-histogram.md 900B
feature_request.md 560B
exclude-waits.md 559B
include-errorlog.md 327B
ReadMe.md 323B
README.md 250B
SQLWATCH Dashboard 20210720.pbix 7.77MB
SQLServer-Performance-Poster.pdf 265KB
grafana-navigate-data-sources.png 218KB
grafana-navigate-manage-dashboards.png 212KB
grafana-login-page.png 209KB
sqlwatch-powerbi-edit-parameters.png 160KB
sqlwatch-storage-utilisation-example.png 112KB
grafana-mssql-configuration.png 96KB
sqlwatch-powerbi-privacy-setting.png 91KB
sqlwatch-data-compression-enabled.png 80KB
sqlwatch-data-compression-disabled.png 80KB
grafana-new-folder.png 78KB
grafana-manage-import-dashboard.png 78KB
grafana-add-mssql-data-source.png 77KB
grafana-upload-json-file.png 66KB
grafana-add-new-data-source.png 65KB
sqlwatch-central-repository-reading-impact.png 64KB
ssms-upgrade-data-tier-application.png 64KB
sqlwatch-perf-collection-cpu-impact.png 59KB
sqlwatch-worker-package.png 58KB
sqlwatch-control-package.png 50KB
sqlwatch-ssis-agent-job.png 47KB
sqlwatch-ssis-package-configuration.png 37KB
sqlwatch-extended-properties-version.png 33KB
sqlwatch-docs-logo-large.png 9KB
sqlwatch-config-sqlinstance.png 9KB
sqlwatch-docs-logo-purple-200px.png 6KB
sonar-project.properties 391B
Test.ps1 11KB
Build.ps1 6KB
Pester.SqlWatch.Design.ps1 6KB
Pester.SqlWatch.TableContent.ps1 4KB
Pester.SqlWatch.SqlWatchImport.ps1 4KB
Run-Tests.p5.ps1 4KB
SQLWATCH-Build-Release.ps1 3KB
Pester.SqlWatch.LongQueries.ps1 3KB
Pester.SqlWatch.DataRetention.ps1 2KB
Pester.SqlWatch.Blockers.ps1 2KB
共 467 条
- 1
- 2
- 3
- 4
- 5
资源评论
编程资源宝库
- 粉丝: 3164
- 资源: 200
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功