Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor: trace and control memory usage in DistSQL layer #10003

Merged
merged 17 commits into from
Apr 12, 2019
Prev Previous commit
Next Next commit
update DefTiDBMemQuotaDistSQL
  • Loading branch information
qw4990 committed Apr 12, 2019
commit 1d749e996c0b7dafd4b511846a13c7b6557c8525
2 changes: 1 addition & 1 deletion sessionctx/variable/tidb_vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const (
DefTiDBMemQuotaIndexLookupReader = 32 << 30 // 32GB.
DefTiDBMemQuotaIndexLookupJoin = 32 << 30 // 32GB.
DefTiDBMemQuotaNestedLoopApply = 32 << 30 // 32GB.
DefTiDBMemQuotaDistSQL = -1 // no limit.
DefTiDBMemQuotaDistSQL = 32 << 30 // 32GB.
DefTiDBGeneralLog = 0
DefTiDBRetryLimit = 10
DefTiDBDisableTxnAutoRetry = false
Expand Down