Skip to content

Commit

Permalink
Merge #28328
Browse files Browse the repository at this point in the history
28328: distsql: add memory accounting and stats to windowers r=yuzefovich a=yuzefovich

Adds memory accounting and stats collection to
windowers.

Related to: #24425.

Release note: None

Co-authored-by: yuzefovich <[email protected]>
  • Loading branch information
craig[bot] and yuzefovich committed Aug 9, 2018
2 parents f248bf0 + fef1a65 commit 7272ace
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 43 deletions.
1 change: 1 addition & 0 deletions pkg/sql/distsqlrun/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

228 changes: 191 additions & 37 deletions pkg/sql/distsqlrun/stats.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions pkg/sql/distsqlrun/stats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,9 @@ message RouterOutputStats {
int64 max_allocated_mem = 2;
int64 max_allocated_disk = 3;
}

// WindowerStats are the stats collected during a windower run.
message WindowerStats {
InputStats input_stats = 1 [(gogoproto.nullable) = false];
int64 max_allocated_mem = 2;
}
Loading

0 comments on commit 7272ace

Please sign in to comment.