PerconaFT
======
PerconaFT is a high-performance, transactional key-value store, used in the
TokuDB storage engine for Percona Server and MySQL, and in TokuMX, the
high-performance MongoDB distribution.
PerconaFT is provided as a shared library with an interface similar to
Berkeley DB.
To build the full MySQL product, see the instructions for
[Percona/percona-server][percona-server]. This document covers PerconaFT only.
[percona-server]: https://github.com/Percona/percona-server
Building
--------
PerconaFT is built using CMake >= 2.8.9. Out-of-source builds are
recommended. You need a C++11 compiler, though only some versions
of GCC >= 4.7 and Clang are tested. You also need zlib development
packages (`yum install zlib-devel` or `apt-get install zlib1g-dev`).
You will also need the source code for jemalloc, checked out in
`third_party/`.
```sh
git clone git://github.com/Percona/PerconaFT.git percona-ft
cd percona-ft
git clone git://github.com/Percona/jemalloc.git third_party/jemalloc
mkdir build
cd build
CC=gcc47 CXX=g++47 cmake \
-D CMAKE_BUILD_TYPE=Debug \
-D BUILD_TESTING=OFF \
-D USE_VALGRIND=OFF \
-D CMAKE_INSTALL_PREFIX=../prefix/ \
..
cmake --build . --target install
```
This will build `libft.so` and `libtokuportability.so` and install it,
some header files, and some examples to `percona-ft/prefix/`. It will also
build jemalloc and install it alongside these libraries, you should link
to that if you are planning to run benchmarks or in production.
### Platforms
PerconaFT is supported on 64-bit Centos, Debian, and Ubuntu and should work
on other 64-bit linux distributions, and may work on OSX 10.8 and FreeBSD.
PerconaFT is not supported on 32-bit systems.
[Transparent hugepages][transparent-hugepages] is a feature in newer linux
kernel versions that causes problems for the memory usage tracking
calculations in PerconaFT and can lead to memory overcommit. If you have
this feature enabled, PerconaFT will not start, and you should turn it off.
If you want to run with transparent hugepages on, you can set an
environment variable `TOKU_HUGE_PAGES_OK=1`, but only do this for testing,
and only with a small cache size.
[transparent-hugepages]: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-transhuge.html
Testing
-------
PerconaFT uses CTest for testing. The CDash testing dashboard is not
currently public, but you can run the tests without submitting them.
There are some large data files not stored in the git repository, that
will be made available soon. For now, the tests that use these files will
not run.
In the build directory from above:
```sh
cmake -D BUILD_TESTING=ON ..
ctest -D ExperimentalStart \
-D ExperimentalConfigure \
-D ExperimentalBuild \
-D ExperimentalTest
```
Contributing
------------
Please report bugs in PerconaFT to the [issue tracker][jira].
We have two publicly accessible mailing lists for TokuDB:
- tokudb-user@googlegroups.com is for general and support related
questions about the use of TokuDB.
- tokudb-dev@googlegroups.com is for discussion of the development of
TokuDB.
All source code and test contributions must be provided under a [BSD 2-Clause][bsd-2] license. For any small change set, the license text may be contained within the commit comment and the pull request. For larger contributions, the license must be presented in a COPYING.<feature_name> file in the root of the PerconaFT project. Please see the [BSD 2-Clause license template][bsd-2] for the content of the license text.
[jira]: https://jira.percona.com/projects/TDB
[bsd-2]: http://opensource.org/licenses/BSD-2-Clause/
License
-------
Portions of the PerconaFT library (the 'locktree' and 'omt') are available under the Apache version 2 license.
PerconaFT is available under the GPL version 2, and AGPL version 3.
See [COPYING.APACHEv2][apachelicense],
[COPYING.AGPLv3][agpllicense],
[COPYING.GPLv2][gpllicense], and
[PATENTS][patents].
[apachelicense]: http://github.com/Percona/PerconaFT/blob/master/COPYING.APACHEv2
[agpllicense]: http://github.com/Percona/PerconaFT/blob/master/COPYING.AGPLv3
[gpllicense]: http://github.com/Percona/PerconaFT/blob/master/COPYING.GPLv2
[patents]: http://github.com/Percona/PerconaFT/blob/master/PATENTS
没有合适的资源?快使用搜索试试~ 我知道了~
Percona-Server-5.7.24-26-Linux.x86-64.ssl101.tar
需积分: 0 0 下载量 35 浏览量
2023-03-24
11:06:50
上传
评论
收藏 419.98MB GZ 举报
温馨提示
共2000个文件
test:7292个
result:7262个
opt:1799个
Percona-Server-5.7.24-26-Linux.x86-64.ssl101.tar
资源推荐
资源详情
资源评论
收起资源包目录
Percona-Server-5.7.24-26-Linux.x86-64.ssl101.tar (2000个子文件)
binlog_old_version_4_1.000001 146KB
bug33029-slave-relay-bin.000001 4KB
binlog_transaction.000001 2KB
binlog_56_gtid_reserved_word.000001 1KB
binlog_savepoint.000001 1014B
binlog_transaction_with_GTID.000001 789B
binlog_transaction_with_anonymous_GTID.000001 638B
bug16266.000001 532B
trunc_binlog.000001 174B
bug40482-bin.000001 172B
binlog_no_fd_event.000001 168B
binlog_truncated_prev_gtid_event.000001 129B
master-bin.000001 98B
binlog_truncated_event.000001 14B
bug11747887-bin.000003 729B
corrupt-relay-bin.000624 89KB
ver_trunk_row_v2.001 148KB
ver_5_1_23.001 147KB
ver_5_1-wl2325_s.001 146KB
ver_5_1-wl2325_r.001 705B
bug32407.001 516B
libjemalloc.so.1 1.73MB
mysql.1 79KB
mysqlbinlog.1 66KB
mysqldump.1 65KB
mysqlpump.1 49KB
myisamchk.1 49KB
mysql_install_db.1 34KB
mysqladmin.1 28KB
mysqlcheck.1 25KB
mysqlslap.1 24KB
mysql_upgrade.1 24KB
mysql_config_editor.1 23KB
mysqld_safe.1 22KB
mysqlimport.1 21KB
myisampack.1 19KB
innochecksum.1 18KB
mysqlshow.1 18KB
mysqld_multi.1 16KB
mysql_ssl_rsa_setup.1 11KB
mysql.server.1 10KB
mysql_secure_installation.1 9KB
mysql_plugin.1 9KB
mysql_config.1 8KB
myisam_ftdump.1 6KB
my_print_defaults.1 6KB
comp_err.1 6KB
myisamlog.1 5KB
replace.1 5KB
perror.1 5KB
mysql_tzinfo_to_sql.1 5KB
resolve_stack_dump.1 4KB
resolveip.1 3KB
zlib_decompress.1 3KB
lz4_decompress.1 3KB
mysqldumpslow.1 3KB
mysqlman.1 675B
libperconaserverclient.so.20.3.11 6.45MB
libperconaserverclient.so.20 6.45MB
locks-border-locks.notyet.3981 6KB
mysqld.8 4KB
libperconaserverclient.a 13.13MB
libmysqlservices.a 45KB
bug48633.ARM 19B
bug47012.ARM 19B
bug46565.ARZ 8KB
bug48633.ARZ 157B
bug47012.ARZ 22B
slow_query_log.awk 337B
default.weekly.basic 5KB
Berlin 2KB
README.bhs 839B
matrix.bin 3.3MB
char.bin 256KB
update-full-row.binlog 614B
update-partial-row.binlog 606B
write-partial-row.binlog 596B
write-full-row.binlog 571B
change_column_Makefile 607B
ChangeLog 98B
README.checksum 738B
ddl.cln 113B
default_mysqld.cnf 4KB
my.cnf 2KB
rpl_1slave_base.cnf 2KB
default_mysqld_autosize.cnf 2KB
my.cnf 2KB
ndb_rpl_multi_binlog_update.cnf 2KB
my.cnf 2KB
rpl_1slave_base.cnf 2KB
ndb_rpl_break_3_chain.cnf 2KB
default_ndbd.cnf 2KB
ndb_big_addnode.cnf 1KB
ndb_config_mycnf1.cnf 1KB
rpl_1slave_base.cnf 1KB
rpl_1slave_base.cnf 1KB
rpl_1slave_base.cnf 1KB
rpl_ipv4_as_ipv6.cnf 1KB
rpl_ip_mix.cnf 1KB
rpl_ip_mix2.cnf 1KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
weixin_38158319
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功