mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34705: Binlog-in-engine: Use separate 4k pagesize for binlog files
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@@ -18,7 +18,7 @@ binlog-000001.ibb 262144
|
||||
FLUSH BINARY LOGS;
|
||||
SHOW BINARY LOGS;
|
||||
Log_name File_size
|
||||
binlog-000000.ibb 49152
|
||||
binlog-000000.ibb 36864
|
||||
binlog-000001.ibb 262144
|
||||
binlog-000002.ibb 262144
|
||||
SET STATEMENT sql_log_bin=0 FOR
|
||||
@@ -57,10 +57,10 @@ SET SESSION binlog_format= ROW;
|
||||
*** Do 1500 transactions ...
|
||||
SHOW BINARY LOGS;
|
||||
Log_name File_size
|
||||
binlog-000010.ibb 262144
|
||||
binlog-000011.ibb 262144
|
||||
binlog-000012.ibb 262144
|
||||
binlog-000013.ibb 262144
|
||||
binlog-000014.ibb 262144
|
||||
*** Test purge by date.
|
||||
SET GLOBAL max_binlog_total_size= 0;
|
||||
SET @old_expire= @@GLOBAL.binlog_expire_logs_seconds;
|
||||
@@ -70,7 +70,6 @@ SET GLOBAL binlog_expire_logs_seconds= 0;
|
||||
*** Do 1000 transactions ...
|
||||
SHOW BINARY LOGS;
|
||||
Log_name File_size
|
||||
binlog-000012.ibb 262144
|
||||
binlog-000013.ibb 262144
|
||||
binlog-000014.ibb 262144
|
||||
binlog-000015.ibb 262144
|
||||
|
@@ -92,11 +92,11 @@ while ($i < $num_trx) {
|
||||
#
|
||||
# In this case, just check that the general structure of the present binlogs
|
||||
# is similar, and then update the $binlog_name waited for and the .result file.
|
||||
--let $binlog_name= binlog-000009.ibb
|
||||
--let $binlog_name= binlog-000010.ibb
|
||||
--let $binlog_size= 262144
|
||||
--let $wait_notfound= 1
|
||||
--source include/wait_for_engine_binlog.inc
|
||||
--let $binlog_name= binlog-000013.ibb
|
||||
--let $binlog_name= binlog-000014.ibb
|
||||
--let $binlog_size= 262144
|
||||
--source include/wait_for_engine_binlog.inc
|
||||
SHOW BINARY LOGS;
|
||||
@@ -117,7 +117,7 @@ while ($i < $num_insert) {
|
||||
}
|
||||
COMMIT;
|
||||
--enable_query_log
|
||||
--let $binlog_name= binlog-000011.ibb
|
||||
--let $binlog_name= binlog-000012.ibb
|
||||
--let $binlog_size= 262144
|
||||
--let $wait_notfound= 1
|
||||
--source include/wait_for_engine_binlog.inc
|
||||
|
Reference in New Issue
Block a user