Server IP : 104.21.38.3 / Your IP : 162.158.190.94 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/innodb/r/ |
Upload File : |
# Set the environmental variables # Create a table CREATE TABLE tab5 (col1 int auto_increment primary key, col2 VARCHAR(25), col3 varchar(25)) ENGINE=InnoDB; # Create indexes CREATE INDEX idx1 ON tab5(col2(10)); CREATE INDEX idx2 ON tab5(col3(10)); # Insert a sample record INSERT INTO tab5(col2,col3) VALUES('Test for wl6504','Test for dump pct'); # Set the dump file name SET GLOBAL innodb_buffer_pool_filename=ib_buffer_pool100; SET GLOBAL innodb_buffer_pool_dump_pct=100; SELECT variable_value INTO @IBPDS FROM information_schema.global_status WHERE variable_name = 'INNODB_BUFFER_POOL_DUMP_STATUS'; # Take the dump file SET GLOBAL innodb_buffer_pool_dump_now=ON; # Wait until the system table get updated & dump get created # Check the dump file exist in the DATADIR # Set the dump file name SET GLOBAL innodb_buffer_pool_filename=ib_buffer_pool50; # Set the value 50 SET GLOBAL innodb_buffer_pool_dump_pct=50; # Check the value is 50 SELECT @@global.innodb_buffer_pool_dump_pct; @@global.innodb_buffer_pool_dump_pct 50 SELECT variable_value INTO @IBPDS FROM information_schema.global_status WHERE variable_name = 'INNODB_BUFFER_POOL_DUMP_STATUS'; # Take the dump file SET GLOBAL innodb_buffer_pool_dump_now=ON; # Wait until the system table get updated & dump get created # Check the dump file exist in the DATADIR # Get the size of the dump files & compare wl6504 test PASS # Reset the default value SET GLOBAL innodb_buffer_pool_dump_pct=Default; SET GLOBAL innodb_buffer_pool_filename=Default; # Cleanup DROP TABLE tab5;