You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository is ONLY used to solve issues related to DOCS.
For other issues (related to TiDB, PD, etc), please move to other repositories.
Please answer the following questions before submitting your issue. Thanks!
Describe what you find is inappropriate or missing in the existing docs.
The current explanations of TiDB memory management and behavior when a query uses a large amount of memory are incomplete and confusing.
Describe your suggestion or addition.
https://docs.pingcap.com/tidb/dev/configure-memory-usage discusses configuration and behavior of some options, but it does not discuss the circumstances or operation of oom-use-tmp-storage, which controls whether large operations can be "spilled" to disk.
Change Request
This repository is ONLY used to solve issues related to DOCS.
For other issues (related to TiDB, PD, etc), please move to other repositories.
Please answer the following questions before submitting your issue. Thanks!
The current explanations of TiDB memory management and behavior when a query uses a large amount of memory are incomplete and confusing.
https://docs.pingcap.com/tidb/dev/configure-memory-usage discusses configuration and behavior of some options, but it does not discuss the circumstances or operation of oom-use-tmp-storage, which controls whether large operations can be "spilled" to disk.
https://docs.pingcap.com/tidb/dev/tidb-configuration-file#oom-use-tmp-storage should be updated to clarify what "some operators" means. Which operators can use temporary storage and which can't? Can the location of the temporary storage be configured? How can usage of this temporary storage be monitored?
@tiancaiamao reports:
sort
andmerge join
andhash join
may use conf.OOMUseTmpStorageThe text was updated successfully, but these errors were encountered: