Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [DO NOT MERGE] Database Monitoring MSSQL documentation [Feb Release] #20030

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

avadla
Copy link

@avadla avadla commented Feb 21, 2025

Ticket: https://new-relic.atlassian.net/browse/NR-369994
Description: Created doc for query performance monitoring of MSSQL

@CLAassistant
Copy link

CLAassistant commented Feb 21, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

Hi @avadla 👋

Thanks for your pull request! Your PR is in a queue, and a writer will take a look soon. We generally publish small edits within one business day, and larger edits within three days.

We will automatically generate a preview of your request, and will comment with a link when the preview is ready (usually 10 to 20 minutes).

Copy link

netlify bot commented Feb 21, 2025

Deploy Preview for docs-website-netlify ready!

Name Link
🔨 Latest commit 4733a4f
🔍 Latest deploy log https://app.netlify.com/sites/docs-website-netlify/deploys/67b8806d9e6892000871f57f
😎 Deploy Preview https://deploy-preview-20030--docs-website-netlify.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@avadla avadla changed the title feat: Query performance MSSQL feat: [DO NOT MERGE] Database Monitoring MSSQL documentation [Feb Release] Feb 21, 2025
@WriteMayur WriteMayur self-requested a review February 21, 2025 16:02
@WriteMayur WriteMayur self-assigned this Feb 21, 2025
@WriteMayur WriteMayur added from_internal Identifies issues/PRs from Relics (except writers) content requests related to docs site content labels Feb 21, 2025
You can view query-level analysis to monitor your SQL queries within your MSSQL database to assess their performance and impact. This feature provides insights into execution times, resource consumption, and potential bottlenecks, enabling you to optimize database operations. For more information

## Prerequisites:
* Microsoft SQL Server supports 2017, 2019, and 2022.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Microsoft SQL Server supports 2017, 2019, and 2022.
* Microsoft SQL Server 2017, 2019, or 2022.

* DB user should be a member of the sysadmin fixed server role or have the VIEW SERVER STATE permission


To Enable the Query performance monitoring feature, follow these steps:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To Enable the Query performance monitoring feature, follow these steps:
To enable the Query performance monitoring feature, follow these steps:

<Steps>
<Step>
## To Enable SQL Server and Windows Authentication mode
Enable the login on the SQL server and Windows Authentication mode. For more information, refer Microsoft change authentication mode [documentation](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/change-server-authentication-mode?view=sql-server-ver16&tabs=ssms).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Enable the login on the SQL server and Windows Authentication mode. For more information, refer Microsoft change authentication mode [documentation](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/change-server-authentication-mode?view=sql-server-ver16&tabs=ssms).
Enable the login on the SQL Server and Windows Authentication mode. For more information, refer Microsoft change authentication mode [documentation](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/change-server-authentication-mode?view=sql-server-ver16&tabs=ssms).

<Step>
## To Enable TCP
1. Ensure TCP is enabled for remote access on your instance using the [documentation](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-a-server-to-listen-on-a-specific-tcp-port?view=sql-server-ver16)
2. Check Firewall Settings:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Check Firewall Settings:
2. Check firewall settings:

## To Enable TCP
1. Ensure TCP is enabled for remote access on your instance using the [documentation](https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-a-server-to-listen-on-a-specific-tcp-port?view=sql-server-ver16)
2. Check Firewall Settings:
- Ensure that your firewall allows traffic on port 1433(this is the port on which MSSQL Server is listening).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Ensure that your firewall allows traffic on port 1433(this is the port on which MSSQL Server is listening).
- Ensure that your firewall allows traffic on port 1433 (this is the port on which MSSQL Server is listening).

2. Check Firewall Settings:
- Ensure that your firewall allows traffic on port 1433(this is the port on which MSSQL Server is listening).
- Open Windows Defender Firewall with Advanced Security.
- Click on Inbound Rules on the left.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Click on Inbound Rules on the left.
- In the left menu, click **Inbound Rules**.

</Step>
<Step>
## Run the below query to confirm if the query store is enabled [#confirmQueryStore]
if the output of the query is 1 then we can assume the query store is enabled
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if the output of the query is 1 then we can assume the query store is enabled
If the output of the query is 1 then we can assume the query store is enabled

<Step>
## Find your data
You can use our pre-built dashboard template to monitor your MSSQL metrics. Follow these steps to use our pre-built dashboard template:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can use our pre-built dashboard template to monitor your MSSQL metrics. Follow these steps to use our pre-built dashboard template:
You can use our prebuilt dashboard template to monitor your MSSQL metrics. Follow these steps to use our prebuilt dashboard template:

You can use our pre-built dashboard template to monitor your MSSQL metrics. Follow these steps to use our pre-built dashboard template:
1. From [one.newrelic.com](https://one.newrelic.com), go to the <DNT>**+ Integrations & Agents**</DNT> page
2. Click on <DNT>**Dashboards**</DNT>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Click on <DNT>**Dashboards**</DNT>
2. Click <DNT>**Dashboards**</DNT>

1. From [one.newrelic.com](https://one.newrelic.com), go to the <DNT>**+ Integrations & Agents**</DNT> page
2. Click on <DNT>**Dashboards**</DNT>
3. In the search bar, type `MSSQL On-Host Integration`
4. The MSSQL dashboard should appear. Click on it to install it
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
4. The MSSQL dashboard should appear. Click on it to install it
4. The MSSQL dashboard appears. Click it to install.

<CollapserGroup>
<Collapser
id="blockingSession"
title="Blocking Session Metrics"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title="Blocking Session Metrics"
title="Blocking session metrics"

`command_type`
</td>
<td>
The type of command being executed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The type of command being executed.
The type of command being performed.

Copy link
Contributor

@vpayyapilly vpayyapilly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content requests related to docs site content from_internal Identifies issues/PRs from Relics (except writers)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants