Bug #99948 | btr_attach_half_pages don't need to set prev_block or next_block | ||
---|---|---|---|
Submitted: | 21 Jun 2020 22:23 | Modified: | 22 Jun 2020 12:25 |
Reporter: | Zongzhi Chen (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[21 Jun 2020 22:23]
Zongzhi Chen
[21 Jun 2020 22:41]
Zongzhi Chen
After runing many times of sysbech oltp_insert, there is about 2% performance optimization... before the fix: SQL statistics: queries performed: read: 0 write: 1417911 other: 0 total: 1417911 transactions: 1417911 (14172.55 per sec.) queries: 1417911 (14172.55 per sec.) ignored errors: 0 (0.00 per sec.) reconnects: 0 (0.00 per sec.) General statistics: total time: 100.0443s total number of events: 1417911 Latency (ms): min: 0.13 avg: 18.06 max: 899.72 95th percentile: 108.68 sum: 25603694.01 Threads fairness: events (avg/stddev): 5538.7148/174.79 execution time (avg/stddev): 100.0144/0.01 after the patch: SQL statistics: queries performed: read: 0 write: 1442132 other: 0 total: 1442132 transactions: 1442132 (14415.49 per sec.) queries: 1442132 (14415.49 per sec.) ignored errors: 0 (0.00 per sec.) reconnects: 0 (0.00 per sec.) General statistics: total time: 100.0384s total number of events: 1442132 Latency (ms): min: 0.13 avg: 17.75 max: 894.51 95th percentile: 108.68 sum: 25602354.60 Threads fairness: events (avg/stddev): 5633.3281/183.16 execution time (avg/stddev): 100.0092/0.01
[22 Jun 2020 12:27]
MySQL Verification Team
Hi Mr. zongzhi, Thank you for your bug report. I have analysed your patch and I agree with you. Verified as reported.