explain analyze
causes wrong result when txn is too large
#35105
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
severity/major
sig/sql-infra
SIG: SQL Infra
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run TiDB and load data with sysbench.
Create table with same schema and load data by
explain analyze insert select
P.S. if we just run
insert select
withoutexplain analyze
, it'll return txn-too-large error.2. What did you expect to see? (Required)
If the statement execution succeeds, the data in
sbtest2
should be the same assbtest1
.3. What did you see instead (Required)
The data in
sbtest2
is truncated.The transaction details in TiDB dashboard are missing.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: