403Webshell
Server IP : 104.21.38.3  /  Your IP : 172.71.124.54
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/mysql/src/mysql-test/suite/max_parts/r/innodb-import-partition-1.result
DROP TABLE IF EXISTS t1;
SELECT COUNT(*) FROM t1;
COUNT(*)
8192
FLUSH TABLES t1 FOR EXPORT;
UNLOCK TABLES;
DROP TABLE t1;
select count(*) from t1;
count(*)
8192
DELETE FROM t1;
select count(*) from t1;
count(*)
0
ALTER TABLE t1 DISCARD PARTITION p0,p1,p2,p3,p4,p5,p6,p7,p8 TABLESPACE;
restore: t1#P#p0 .ibd and .cfg files
restore: t1#P#p1 .ibd and .cfg files
restore: t1#P#p2 .ibd and .cfg files
restore: t1#P#p3 .ibd and .cfg files
restore: t1#P#p4 .ibd and .cfg files
restore: t1#P#p5 .ibd and .cfg files
restore: t1#P#p6 .ibd and .cfg files
restore: t1#P#p7 .ibd and .cfg files
restore: t1#P#p8 .ibd and .cfg files
ALTER TABLE t1 IMPORT PARTITION p0,p1,p2,p3,p4,p5,p6,p7,p8 TABLESPACE;
SELECT * FROM t1 PARTITION (p0,p1,p2,p3,p4,p5,p6,p7,p8) ORDER BY i;
i
0
1
2
3
4
5
6
7
SELECT * FROM t1 ORDER BY i;
i
0
1
2
3
4
5
6
7
ALTER TABLE t1 DISCARD PARTITION p9,p10 TABLESPACE;
SELECT * FROM t1 PARTITION (p0,p1,p2,p3,p4,p5,p6,p7,p8) ORDER BY i;
i
0
1
2
3
4
5
6
7
ALTER TABLE t1 DISCARD PARTITION all TABLESPACE;
Warnings:
Warning	1812	InnoDB: Tablespace is missing for table 't1'
Warning	1812	InnoDB: Tablespace is missing for table 't1'
ALTER TABLE t1 IMPORT PARTITION all TABLESPACE;
SELECT * FROM t1 PARTITION (p0,p1,p2,p3,p4,p5,p6,p7,p8) ORDER BY i;
i
0
1
2
3
4
5
6
7
SELECT COUNT(*) FROM t1 ORDER BY i;
COUNT(*)
8192
SELECT * FROM t1 WHERE i%1000 = 0 ORDER BY i;
i
0
1000
2000
3000
4000
5000
6000
7000
8000
DROP TABLE t1;


Youez - 2016 - github.com/yon3zu
LinuXploit