Skip to content

SQL Perfmon counters - synced queries from v2 to all db types#8393

Merged
helenosheaa merged 4 commits intoinfluxdata:masterfrom
avinash-nigam:sql-perfmon-counters
Feb 19, 2021
Merged

SQL Perfmon counters - synced queries from v2 to all db types#8393
helenosheaa merged 4 commits intoinfluxdata:masterfrom
avinash-nigam:sql-perfmon-counters

Conversation

@avinash-nigam
Copy link
Copy Markdown
Contributor

@avinash-nigam avinash-nigam commented Nov 12, 2020

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

Includes changes :

  • replicated perfmon counters list from v2 query to queries across all database types

Copy link
Copy Markdown
Contributor

@denzilribeiro denzilribeiro left a comment

Choose a reason for hiding this comment

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

Is there someone that needs the counter below? There are hardly any customers using buffer pool extensions. If not needed please remove that and will aprrove.
Extension free pages | Total number of free cache pages in the buffer pool extension file.

@avinash-nigam
Copy link
Copy Markdown
Contributor Author

Is there someone that needs the counter below? There are hardly any customers using buffer pool extensions. If not needed please remove that and will aprrove.
Extension free pages | Total number of free cache pages in the buffer pool extension file.

@denzilribeiro I've removed the buffer manager counters

Copy link
Copy Markdown
Contributor

@denzilribeiro denzilribeiro left a comment

Choose a reason for hiding this comment

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

Looks good

@sjwang90 sjwang90 added area/sqlserver feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin labels Nov 24, 2020
@avinash-nigam
Copy link
Copy Markdown
Contributor Author

@ssoroka and @reimda - could you please help merge this PR as well? Thank you.

Comment on lines -479 to -480
''Free pages'',
''Extension free pages'',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why do we remove these two?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These were added recently as part of PR - #8120, however these counters are rarely used (Denzil's comment above mention the same), hence were removed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ssoroka - any thoughts on the above? if there are no concerns, could you please help merge the same? thank you!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

any chance that someone is depending on them?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unlikely this was supposed to be added to here instead by mistake was recently added to V2.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ssoroka your decision here. #8120 was merged on Sept. 2020 and thus was release in 1.17.

My question to @denzilribeiro is if it was intended to be added here, why do you now remove it. In general, what is the cost of keeping those two in there?

Copy link
Copy Markdown
Contributor

@denzilribeiro denzilribeiro Feb 3, 2021

Choose a reason for hiding this comment

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

@srebhan - to be honest should have not been added as rarely ( < 0.5%) do SQL Server folks use it. Removal was more from perspective of unnecessary space, not opposed to leaving it but if 99.9% are not using the feature that enables those counster, let alone the montiroing for it it then why? But you guys' call

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's possible if someone is using it this could break a chart. I'm on the fence here, but if it's all the same to everyone let's just leave the fields in and they can always drop the ones they don't want.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@srebhan @ssoroka - Let me revert the change of removing the two counters, rest of the PR would remain as is. I'll push the change and ping back here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@srebhan @ssoroka - The two counters' removal has been reverted. If there are no other concerns, it'd be very helpful to get this merged. Thank you.

@sjwang90 sjwang90 added this to the Planned milestone Dec 9, 2020
@avinash-nigam
Copy link
Copy Markdown
Contributor Author

@ssoroka and @reimda - Could you please help merge this PR if there are no concerns? Thank you.

@avinash-nigam
Copy link
Copy Markdown
Contributor Author

@ssoroka and @reimda - Could you please help merge this PR if there are no concerns? Thank you.

@ssoroka and @reimda - Any thoughts on the above?

@masree
Copy link
Copy Markdown
Contributor

masree commented Jan 19, 2021

@ssoroka and @reimda - Could you please help merge this PR if there are no concerns? Thank you.

@ssoroka and @reimda - Any thoughts on the above?

@ssoroka and @reimda - Can you please help merge PR if no concerns? Thank you!

@denzilribeiro
Copy link
Copy Markdown
Contributor

@danielnelson / @ssoroka / @sjwang90 can someone help merge this or are there pending issues that need to be addressed?

@sjwang90
Copy link
Copy Markdown
Contributor

@denzilribeiro We'll get this reviewed and let you know if there's anything else before it gets merged. Thanks!

@masree
Copy link
Copy Markdown
Contributor

masree commented Jan 24, 2021

@sjwang90 / @ssoroka Can you help take a look of this PR and merge it if no concerns? Thanks!

@sjwang90 sjwang90 removed this from the Planned milestone Jan 29, 2021
Copy link
Copy Markdown
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

I think the removal of the two properties needs to be agreed on by someone from InfluxData. Alternatively, you could leave those lines in if it is not prohibitively costly (my preferred solution).

@srebhan srebhan self-assigned this Feb 3, 2021
@avinash-nigam
Copy link
Copy Markdown
Contributor Author

I think the removal of the two properties needs to be agreed on by someone from InfluxData. Alternatively, you could leave those lines in if it is not prohibitively costly (my preferred solution).

@srebhan - Reverted the removal of the two counters.

Copy link
Copy Markdown
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Feb 5, 2021
@avinash-nigam
Copy link
Copy Markdown
Contributor Author

@sjwang90 @ssoroka, could you please help merge this?

@helenosheaa helenosheaa merged commit 2372db9 into influxdata:master Feb 19, 2021
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sqlserver feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants