Closed
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
- Use playground to build a tidb server
- Use "~/.tiup/bin/tiup bench tpch prepare -D tpch1 -T 4 -H 127.0.0.1 -P 4000 --sf 1" to prepare data
- run "set tidb_mem_quota_query = 50000000;" to set tidb_mem_quota_query to a small value
- run prepare stmt from "analyze table lineitem";
- run execute stmt;
2. What did you expect to see? (Required)
The statement executes successfully.
3. What did you see instead (Required)
ERROR 1105 (HY000): Your query has been cancelled due to exceeding the allowed memory limit for a single SQL query. Please try narrowing your query scope or increase the tidb_mem_quota_query limit and try again.[conn=1833862249828057511]
4. What is your TiDB version? (Required)
| Release Version: v7.2.0-alpha
Edition: Community
Git Commit Hash: 65d5ef2
Git Branch: heads/refs/tags/v7.2.0-alpha
UTC Build Time: 2023-05-31 02:32:04
GoVersion: go1.20.3
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv |
Activity