⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
t
/
View File Name :
filesort_pack.test
CREATE TABLE t1 ( id int(10) unsigned NOT NULL auto_increment, k int(10) unsigned NOT NULL default '0', c char(120) NOT NULL default '', pad char(60) NOT NULL default '', PRIMARY KEY (id), KEY k (k) ) engine=innodb; --disable_query_log let $count= 140; while ($count) { eval insert into t1(id, k) values ($count, $count); dec $count; } --enable_query_log ANALYZE TABLE t1; SET @@session.sort_buffer_size=32768; FLUSH STATUS; SHOW SESSION STATUS LIKE 'Sort%'; --disable_result_log # This is similar to sysbench --oltp-order-ranges --oltp-range-size=1000 # With packed addon fields, we should get Sort_merge_passes = 0 SELECT c FROM t1 WHERE id between 2 and 1002 ORDER BY c; --enable_result_log SHOW SESSION STATUS LIKE 'Sort%'; SET @@session.sort_buffer_size=DEFAULT; DROP TABLE t1;