Server IP : 172.67.216.182 / Your IP : 172.69.166.107 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/max_parts/r/ |
Upload File : |
call mtr.add_suppression("A long semaphore wait"); create table t2 (a int not null, primary key(a)) engine='InnoDB' partition by hash (a) partitions 8192; show create table t2; Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) NOT NULL, PRIMARY KEY (`a`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (a) PARTITIONS 8192 */ 65535 inserts; select count(*) from t2; count(*) 65535 select count(*) from t2 partition (p0); count(*) 7 select count(*) from t2 partition (p10); count(*) 8 select count(*) from t2 partition (p100); count(*) 8 select count(*) from t2 partition (p1000); count(*) 8 select count(*) from t2 partition (p4000); count(*) 8 select count(*) from t2 partition (p8000); count(*) 8 select count(*) from t2 partition (p8191); count(*) 8 select * from t2 partition (p0); a 8192 16384 24576 32768 40960 49152 57344 select * from t2 partition (p10); a 10 8202 16394 24586 32778 40970 49162 57354 select * from t2 partition (p100); a 100 8292 16484 24676 32868 41060 49252 57444 select * from t2 partition (p1000); a 1000 9192 17384 25576 33768 41960 50152 58344 select * from t2 partition (p4000); a 4000 12192 20384 28576 36768 44960 53152 61344 select * from t2 partition (p8000); a 8000 16192 24384 32576 40768 48960 57152 65344 select * from t2 partition (p8191); a 8191 16383 24575 32767 40959 49151 57343 65535 delete from t2 partition (p8191); select * from t2 partition (p8191); a insert into t2 partition (p8191) values (8191), (65535); select * from t2 partition (p8191); a 8191 65535 update t2 partition (p8191) set a=16383 where a= 8191; select * from t2 partition (p8191); a 16383 65535 load data infile 'MYSQL_TMP_DIR/data01' into table t2 partition (p8191) fields terminated by ','; select * from t2 partition (p8191); a 8191 16383 57343 65535 drop table t2;