Repository navigation
feat(server-dashboard): add Oracle, MongoDB and Redis - #3732
Merged
Merged
Conversation
datlechin
enabled auto-merge (squash)
October 21, 2026 00:57
…racle-mongo-redis
… Redis to the catalog
…racle-mongo-redis # Conflicts: # apple/TablePro/Resources/Localizable.xcstrings
…racle-mongo-redis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
V$SESSIONwith text fromV$SQL; metrics fromV$SYSMETRIC, orV$CON_SYSMETRICin a pluggable database, andV$INSTANCE; slow queries are active calls over a second. Terminate:ALTER SYSTEM KILL SESSION 'sid,serial#' IMMEDIATE. Cancel:ALTER SYSTEM CANCEL SQL, 18c and later.currentOp(own operations only withoutinprog), metrics fromserverStatus, slow queries from the browsed database'ssystem.profile. Cancel:killOp. No Terminate.DatabaseDriver.executeRead: dashboard reads run read-only, so a shell global an earlier MongoDB statement redefined cannot write.CLIENT LISTminus the dashboard'sCLIENT ID, metrics fromINFO, slow queries fromSLOWLOG GET 20. Terminate:CLIENT KILL ID. Cancel:CLIENT UNBLOCK … ERROR, for a blocked client on 5.0 and later.SLOWLOG GETreturns a grid.OUTSIDEBLOCK <command>is held back, not queued, while the user'sMULTIblock is open; the dashboard sends every command that way.slowlog|getjoins the curated cluster routing table.OUTSIDEBLOCKas it reads pastDB <n>, soOUTSIDEBLOCK FLUSHALLstays destructive.get_server_dashboard(tools:read) now reads these three engines, andstop_server_session(tools:write, user approval) can cancel or kill a session on them. The tool description drops its engine list.ServerDashboardViewModelTests.redisHasNoDashboardis replaced, andDashboardProviderSQLTests.callerExclusionsgains the three engines' self-exclusion markers.Not in this PR
addrandnameare not shown.Test plan
OracleDashboardProviderTests,MongoDBDashboardProviderTests,RedisDashboardProviderTests,RedisDashboardCommandTests(held back inside aMULTIblock), plus classifier, routing,RedisServerInfoand duration cases.CANCEL SQL(victim gets ORA-01013, stays connected),KILL SESSION(ORA-03113).currentOp, server threads and monitoringhelloleft out),killOpinterrupts a running find.CLIENT LIST,SLOWLOG GET,CLIENT UNBLOCKon aBLPOP;check-redis-command-routing.shpasses.Fixes #3609