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
CREATE TABLE t1 ( id int(11) NOT NULL AUTO_INCREMENT, k int(11) NOT NULL DEFAULT '0', c char(120) NOT NULL DEFAULT '', pad char(60) NOT NULL DEFAULT '',
PRIMARY KEY (id) /*T![clustered_index] CLUSTERED */
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin AUTO_INCREMENT=100279
PARTITION BY HASH (id) PARTITIONS 1000
insert 100000 rows data
analyze table t1
What did you expect to see?
Analyze finishes in a shorter time.
According to previous test experience, it is within 100s.
The most recent successful test was 37s.
What did you see instead?
"analyze time: "=1929.67098683
Sometimes it can be as long as 4,000 seconds .
A lot of time is spent on: merging global stats for test.t1 columns
The performance degradation is very serious
What version of PD are you using (pd-server -V)?
After testing, it was confirmed that this PR(#8377) caused it
The text was updated successfully, but these errors were encountered:
apollodafoni
changed the title
The time to analyze partition table increased more than 50x
Duration of analyze partition table increased more than 50x
Aug 7, 2024
Bug Report
What did you do?
What did you expect to see?
Analyze finishes in a shorter time.
According to previous test experience, it is within 100s.
The most recent successful test was 37s.
What did you see instead?
"analyze time: "=1929.67098683
Sometimes it can be as long as 4,000 seconds .
A lot of time is spent on:
merging global stats for test.t1 columns
The performance degradation is very serious
What version of PD are you using (
pd-server -V
)?After testing, it was confirmed that this PR(#8377) caused it
The text was updated successfully, but these errors were encountered: