GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FlashSQL/mysql-plnvm: Partitioned Logging in NVM implementation in InnoDB/MySQL

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

123 Commits
123 Commits

Folders and files

NameName
Last commit message
Last commit date
BUILD
BUILD
 
 
Docs
Docs
 
 
client
client
 
 
cmake
cmake
 
 
cmd-line-utils/libedit
cmd-line-utils/libedit
 
 
dbug
dbug
 
 
extra
extra
 
 
include
include
 
 
libbinlogevents
libbinlogevents
 
 
libbinlogstandalone
libbinlogstandalone
 
 
libevent
libevent
 
 
libmysql
libmysql
 
 
libmysqld
libmysqld
 
 
libservices
libservices
 
 
man
man
 
 
mysql-test
mysql-test
 
 
mysys
mysys
 
 
mysys_ssl
mysys_ssl
 
 
packaging
packaging
 
 
plugin
plugin
 
 
rapid
rapid
 
 
regex
regex
 
 
scripts
scripts
 
 
sql-common
sql-common
 
 
sql
sql
 
 
storage
storage
 
 
strings
strings
 
 
support-files
support-files
 
 
testclients
testclients
 
 
unittest
unittest
 
 
vio
vio
 
 
win
win
 
 
zlib
zlib
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
COPYING
COPYING
 
 
Doxyfile-perfschema
Doxyfile-perfschema
 
 
INSTALL
INSTALL
 
 
README
README
 
 
README.md
README.md
 
 
VERSION
VERSION
 
 
build_mysql.sh
build_mysql.sh
 
 
config.h.cmake
config.h.cmake
 
 
configure.cmake
configure.cmake
 
 
recreate_cscope.sh
recreate_cscope.sh
 
 

Repository files navigation

mysql-plnvm

Partitioned Logging in NVM implementation in InnoDB/MySQL 5.7

Author: Trong-Dat Nguyen @ VLDB Lab, Sungkyunkwan University, Korea

Building from the source code

Step 1: Checking PMEM libraries required by PMDK. Ensure below libraries existed in your /usr/local/lib/ or /usr/lib/:

  • libpmem.a libpmemblk.a libpmemlog.a libpmemobj.a libpmempool.a

Step 2: Change the BUILD_NAME variable in the build_mysql.sh file to build your desired approach:

  • Original InnoDB: BUILD_NAME="-DUNIV_TRACE_FLUSH_TIME"

  • PB-NVM BUILD_NAME="-DUNIV_OPENMP -DUNIV_PMEMOBJ_BLOOM -DUNIV_PMEMOBJ_BUF -DUNIV_PMEMOBJ_BUF_PARTITION -DUNIV_PMEMOBJ_BUF_FLUSHER -DUNIV_PMEMOBJ_BUF_RECOVERY"

  • PL-NVM: TBD

Step 3: Build the source code

# ./build_mysql.sh

Addtional config variables:

  • For all NVM-based methods:
innodb_pmem_home_dir=<your_mount_pmem>
innodb_pmem_pool_size=<val> # in MB
  • For PB-NVM
innodb_pmem_buf_size=<val> # in MB
innodb_pmem_buf_n_buckets=<int>
innodb_pmem_buf_bucket_size=<int> # in pages
innodb_pmem_buf_flush_pct=<val> #threshold 0 - 1
innodb_pmem_n_flush_threads=<int> #must smaller than your max # of CPUs
innodb_pmem_flush_threshold=<int> #1 - innodb_pmem_n_flush_threads
innodb_pmem_bloom_n_elements=<val>
innodb_pmem_bloom_fpr=<val>
innodb_pmem_n_space_bits=<int>
innodb_pmem_page_per_bucket_bits=<int>
innodb_aio_n_slots_per_seg
  • For PL-NVM: TBD

About

Partitioned Logging in NVM implementation in InnoDB/MySQL

Topics

dbmsflashstorageloggingmysqlnvdimmpmemstorage

Resources

Readme
GPL-2.0 license
Activity
Custom properties

Stars

11 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.