Skip to content

MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

License

Notifications You must be signed in to change notification settings

ybbh/mysql-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

debug build

    cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_FLAGS_DEBUG="-g -O0" -DCMAKE_CXX_FLAGS_DEBUG="-g -O0" -DCMAKE_INSTALL_PREFIX="/home/mysql/mysql"
    make
    make DESTDIR=[path to install dir]

build test io_uring log

    make TestLogUring

Test

TestLogUring argument

Allowed options:
  -h [ --help ]                     produce help message
  -l [ --log_files ] arg        number of log files
  -q [ --uring_sqes ] arg       number of iouring SQEs
  -t [ --worker_threads ] arg   number of worker threads issue log request
  -g [ --log_size ] arg             average log size in bytes
  -u [ --use_iouring ] arg          use io_uring
  -w [ --log_entries_sync ] arg number of log entries wirte before invoke sync
  -s [ --run_seconds ] arg          running time(seoncds)

Example

TestLogUring 
    --log_size 1024 --log_files 1 --worker_threads 40 
    --use_iouring true --run_seconds 30 --log_entries_sync 4

Run mysqld

mysql database initialize

mysqld --initialize-insecure

run mysqld

enable environment

export ENABLE_IO_STAT="any value"
export ENABLE_LOG_URING="any value"
export DISABLE_FILE_IO="any value"
mysqld

About

MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 74.8%
  • C 16.6%
  • Java 1.7%
  • Makefile 1.2%
  • NASL 1.1%
  • CMake 1.0%
  • Other 3.6%