mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-12353: Replace MLOG_*_END_COPY_CREATED
Instead of writing the high-level redo log records MLOG_LIST_END_COPY_CREATED, MLOG_COMP_LIST_END_COPY_CREATED write log for each individual insert of a record. page_copy_rec_list_end_to_created_page(): Remove. This will improve the fill factor of some pages. Adjust some tests accordingly. PageBulk::init(), PageBulk::finish(): Avoid setting bogus limits to PAGE_HEAP_TOP and PAGE_N_DIR_SLOTS. Avoid accessor functions that would enforce these limits before the correct ones are set at the end of PageBulk::finish().
This commit is contained in:
@@ -962,7 +962,7 @@ AND compress_ops BETWEEN @inl_val AND 1000
|
||||
AND table_name='tab5' AND database_name='test'
|
||||
AND index_name like 'idx%' ;
|
||||
compress_stat 1
|
||||
The size of the tab5.ibd file: 163840
|
||||
The size of the tab5.ibd file: 159744
|
||||
# fetch the compressed page and check the stats
|
||||
===============
|
||||
Fetch Records
|
||||
@@ -986,7 +986,7 @@ AND compress_ops BETWEEN @inl_val AND 1000
|
||||
AND table_name='tab5' AND database_name='test'
|
||||
AND index_name like 'idx%' ;
|
||||
compress_stat 1
|
||||
The size of the tab5.ibd file: 163840
|
||||
The size of the tab5.ibd file: 159744
|
||||
# fetch the compressed same page once again and check the stats
|
||||
# the stat figures should be same as above query
|
||||
===============
|
||||
@@ -1011,7 +1011,7 @@ AND compress_ops BETWEEN @inl_val AND 1000
|
||||
AND table_name='tab5' AND database_name='test'
|
||||
AND index_name like 'idx%' ;
|
||||
compress_stat 1
|
||||
The size of the tab5.ibd file: 163840
|
||||
The size of the tab5.ibd file: 159744
|
||||
DROP TABLE tab5;
|
||||
#******************************************************************
|
||||
# Test 1-8K: innodb_cmp_per_index_enabled=ON and innodb_compression_level=0 with page size 8K
|
||||
|
Reference in New Issue
Block a user