Xin Hao Zhang

Results 10 issues of Xin Hao Zhang

Previously, the fields `latestQuery` and `latestFormattedQuery` representing the latest non-empty query string for a statement viewed from the detaisl page was being stored in redux. The purpose of these fields...

This commit enables wait time insights for active executions pages on CC Dedicated. This includes the `Time Spent Waiting` column in the overview pages and the wait time insights panel...

We should create a workload generator that gets us into a state that puts heavy pressure on the persisted sql stats recording system. Ideally, the workload should: * Generate a...

C-bug
T-observability-inf
A-observability-inf

**sql: record topLevelQueryStats in instrumentationhelper** Previously topLevelQueryStats were being passed directly into the logging function after execution in dispatchToExecutionEngine. This commit persists the top level stats of the query execution...

**Describe the problem** Please describe the issue you observed, and any steps we can take to reproduce it: On db console custom time series page, select a metric and change...

C-bug
O-support
branch-release-23.1
branch-release-23.2
P-3
T-observability
backport-24.1.x

Note to reviewers: only the latest commit should be reviewed in this PR. ------------------------------------------------------------------------ Setting a query timeout or cancellation error occurs in execStmtInOpenState, while logging occurs in dispatchToExecutionEngine (called...

When writing to in-memory sql stats, we would previously trigger a flush to the system tables if we start experiencing memory pressure. In practice this resulted in the flush operation...

**sqlstats: remove ApplicationStats interface impl from StatsCollector** Previously, StatsCollector had an embedded `sqlstats.ApplicationStats` interface. There isn't a need for StatsCollector to exist as this interface over using its concrete type....

This commit allows the update table metadata BG job to execute a run when signalled via a channel. Currently, the channel is passed to the statusServer which notifies the job...

Backport 2/2 commits from #128856. /cc @cockroachdb/release Release justification: bug fix --- Since 23.1 we've been using the sql over http api to view, request and cancel stmt bundles for...

backport