Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.1.20
-
None
-
10.1.29
Description
ALTER TABLE ... DISCARD TABLESPACE takes a lot of time with large buffer pool (>128G).
Steps to reproduce:
1. drop / create an InnoDB table
2. discard the table space
3. increase the buffer pool size.
4. Re-try once you have a 128G+ buffer pool, and re-run #1 & #2.
The discard time should be increasing.
Attachments
Issue Links
- causes
-
MDEV-16759 InnoDB: Assertion failure in thread 139946191502080 in file row0ins.cc line 285
-
- Closed
-
- is part of
-
MDEV-16283 ALTER TABLE...DISCARD TABLESPACE still takes long on a large buffer pool
-
- Closed
-
- relates to
-
MDEV-14263 FLUSH TABLES FOR EXPORT may write the same pages multiple times
-
- Confirmed
-
-
MDEV-9459 Truncate table causes innodb stalls
-
- Closed
-
-
MDEV-14310 Possible corruption by table-rebuilding or index-creating ALTER TABLE…ALGORITHM=INPLACE
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Comment | [ A comment with security level 'Developers' was removed. ] |
Labels | need_feedback |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Labels | need_feedback |
Component/s | Storage Engine - InnoDB [ 10129 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Assignee | Marko Mäkelä [ marko ] |
Attachment | perf_5g.data [ 44183 ] | |
Attachment | perf_10g.data [ 44184 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Sprint | 10.1.29 [ 202 ] |
Link | This issue relates to MDEV-14263 [ MDEV-14263 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Fix Version/s | 10.1.29 [ 22636 ] | |
Fix Version/s | 10.2.11 [ 22634 ] | |
Fix Version/s | 10.3.3 [ 22644 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue relates to |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Comment |
[ I need to re-open this one.
After testing with 10.1.29, we are still seeing slowness with 512G buffer pool size: {code} MariaDB [test]> drop table if exists t; Query OK, 0 rows affected, 1 warning (0.00 sec) MariaDB [test]> create table t(id int) engine=InnoDB; Query OK, 0 rows affected (0.00 sec) MariaDB [test]> alter table t discard tablespace; Query OK, 0 rows affected (7.34 sec) MariaDB [test]> drop table if exists t; Query OK, 0 rows affected (0.22 sec) MariaDB [test]> select @@version; +-----------------+ | @@version | +-----------------+ | 10.1.29-MariaDB | +-----------------+ 1 row in set (0.01 sec) MariaDB [test]> select @@innodb_buffer_pool_size; +---------------------------+ | @@innodb_buffer_pool_size | +---------------------------+ | 549755813888 | +---------------------------+ 1 row in set (0.00 sec) {code} Is there anything further that can be done here? ] |
Link |
This issue is part of |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue causes |
Workflow | MariaDB v3 [ 81677 ] | MariaDB v4 [ 152489 ] |
Zendesk Related Tickets | 130729 |