Skip to content

Conversation

@DavidWiseman
Copy link
Collaborator

Add a link to Object Execution stats on the Object Name column in the Slow Queries tab.

Add a link to Object Execution stats on the Object Name column in the Slow Queries tab.
Copilot AI review requested due to automatic review settings December 4, 2025 14:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds functionality to link from the Slow Queries tab to Object Execution statistics. When users click on an object name in the Slow Queries grid, they can now view detailed execution statistics for that stored procedure.

Key changes:

  • Added click handler for object names in the Slow Queries tab to display Object Execution stats
  • Refactored object execution display logic into a shared utility method
  • Enhanced the database query to support filtering by object name

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
DBADashGUI/Performance/SlowQueries.cs Implements click handler for object names and calls shared method to display Object Execution stats
DBADashGUI/Performance/RunningQueries.cs Refactored to use new shared ShowObjectExecutionSummary method
DBADashGUI/Common.cs Added shared ShowObjectExecutionSummary method with form state management
DBADashGUI/Performance/ObjectExecutionSummary.cs Added ObjectName parameter support for database queries
DBADashGUI/FormState.cs Fixed issue where minimized window state was being persisted
DBADashDB/dbo/Stored Procedures/ObjectExecutionStatsSummary_Get.sql Added @objectname parameter and filtering logic to stored procedure
Files not reviewed (1)
  • DBADashGUI/Performance/SlowQueries.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DavidWiseman DavidWiseman merged commit 62a9612 into trimble-oss:main Dec 4, 2025
@DavidWiseman DavidWiseman deleted the SlowQueries-ObjectExecution-Link branch December 4, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant