Comments (7)
请在 cmake 参数中添加 -DWITH_TOKUDB_STORAGE_ENGINE=1
,可以参考下这里 AliSQL 源码编译。
from alisql.
额,这样啊。不是蛮熟悉linux的cmake,这个博客还可以。你是alisql官方的吗?就快弄个社区,官网什么的吧。不要开源建立在口头上。
from alisql.
加上了你说的参数,编译报错,在max os 10.11
CMake Warning (dev) at storage/tokudb/ft-index/portability/CMakeLists.txt:22 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "build_jemalloc" of target
"tokuportability_static_conv" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
ft
locktree
tokufractaltree
tokuportability
util
This warning is for project developers. Use -Wno-dev to suppress it.
from alisql.
阿里数据库的官网,不过更新很慢http://mysql.taobao.org/index.php?title=%E9%A6%96%E9%A1%B5
from alisql.
@mg0324
TokuDB 目前只支持 GNU/Linux(64 bit) 系统,Mac OS 和 Windows 系统是不支持的。
@mg0324 @drakven
还可以关注下我们的《数据库内核月报》月刊,每月都会有更新。
from alisql.
买了个aliyun的ecs服务器,系统是centos7镜像。编译安装alisql成功,但是在执行安装数据库脚本报错:
[root@iZwz9fu4aqltf1hgo4pc1zZ alisql]# scripts/mysql_install_db
Installing MySQL system tables...2016-11-16 18:28:32 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-11-16 18:28:32 0 [Note] ./bin/mysqld (mysqld 5.6.32) starting as process 9485 ...
Transparent huge pages are enabled, according to /sys/kernel/mm/transparent_hugepage/enabled
2016-11-16 18:28:32 9485 [ERROR] TokuDB: Huge pages are enabled, disable them before continuing
2016-11-16 18:28:32 9485 [ERROR] ************************************************************
2016-11-16 18:28:32 9485 [ERROR]
2016-11-16 18:28:32 9485 [ERROR] @@@@@@@@@@@
2016-11-16 18:28:32 9485 [ERROR] @@' '@@
2016-11-16 18:28:32 9485 [ERROR] @@ _ _ @@
2016-11-16 18:28:32 9485 [ERROR] | (.) (.) |
2016-11-16 18:28:32 9485 [ERROR] | ` |
2016-11-16 18:28:32 9485 [ERROR] | > ' |
2016-11-16 18:28:32 9485 [ERROR] | .----. |
2016-11-16 18:28:32 9485 [ERROR] .. |.----.| ..
2016-11-16 18:28:32 9485 [ERROR] .. ' ' ..
2016-11-16 18:28:32 9485 [ERROR] .._______,.
2016-11-16 18:28:32 9485 [ERROR]
2016-11-16 18:28:32 9485 [ERROR] TokuDB will not run with transparent huge pages enabled.
2016-11-16 18:28:32 9485 [ERROR] Please disable them to continue.
2016-11-16 18:28:32 9485 [ERROR](echo never > /sys/kernel/mm/transparent_hugepage/enabled)
2016-11-16 18:28:32 9485 [ERROR]
2016-11-16 18:28:32 9485 [ERROR] ************************************************************
2016-11-16 18:28:32 9485 [ERROR] Plugin 'TokuDB' init function returned error.
2016-11-16 18:28:32 9485 [ERROR] Plugin 'TokuDB' registration as a STORAGE ENGINE failed.
2016-11-16 18:28:32 9485 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-11-16 18:28:32 9485 [Note] InnoDB: The InnoDB memory heap is disabled
2016-11-16 18:28:32 9485 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-11-16 18:28:32 9485 [Note] InnoDB: Memory barrier is not used
2016-11-16 18:28:32 9485 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-11-16 18:28:32 9485 [Note] InnoDB: Using CPU crc32 instructions
2016-11-16 18:28:32 9485 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-11-16 18:28:32 9485 [Note] InnoDB: Completed initialization of buffer pool
2016-11-16 18:28:32 9485 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2016-11-16 18:28:32 9485 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2016-11-16 18:28:32 9485 [Note] InnoDB: Database physically writes the file full: wait...
2016-11-16 18:28:32 9485 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2016-11-16 18:28:34 9485 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2016-11-16 18:28:35 9485 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2016-11-16 18:28:35 9485 [Warning] InnoDB: New log files created, LSN=45781
2016-11-16 18:28:35 9485 [Note] InnoDB: Doublewrite buffer not found: creating new
2016-11-16 18:28:35 9485 [Note] InnoDB: Doublewrite buffer created
2016-11-16 18:28:35 9485 [Note] InnoDB: 128 rollback segment(s) are active.
2016-11-16 18:28:35 9485 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-11-16 18:28:35 9485 [Note] InnoDB: Foreign key constraint system tables created
2016-11-16 18:28:35 9485 [Note] InnoDB: Creating tablespace and datafile system tables.
2016-11-16 18:28:35 9485 [Note] InnoDB: Tablespace and datafile system tables created.
2016-11-16 18:28:35 9485 [Note] InnoDB: Waiting for purge to start
2016-11-16 18:28:35 9485 [Note] InnoDB: 5.6.32 started; log sequence number 0
2016-11-16 18:28:35 9485 [ERROR] Failed to initialize plugins.
2016-11-16 18:28:35 9485 [ERROR] Aborting
2016-11-16 18:28:35 9485 [Note] Binlog end
2016-11-16 18:28:35 9485 [Note] InnoDB: FTS optimize thread exiting.
2016-11-16 18:28:35 9485 [Note] InnoDB: Starting shutdown...
2016-11-16 18:28:36 9485 [Note] InnoDB: Shutdown completed; log sequence number 1600607
2016-11-16 18:28:36 9485 [Note] ./bin/mysqld: Shutdown complete
from alisql.
执行了个:
echo never > /sys/kernel/mm/transparent_hugepage/enabled
居然成功了。嘻嘻。
from alisql.
Related Issues (20)
- 散了吧,这个项目估计凉了 HOT 4
- Debian 10 下编译 AliSQL 5.6.32 (2018-05-01) 成功
- AliSQL 5.7社区版什么时候开源? HOT 3
- 散了散了 HOT 1
- Blog的feed.xml请不要使用内网地址
- db同一时间在做sync时是block
- AliSQL 8.0是否能开源? HOT 2
- how to test in xlog Insert process
- AliSQL-Performance-benchmark 测试所使用的sysbench是哪个版本?
- 啥时候把最新的mysql8.0的开源出来啊
- 太令人遗憾了,AliSQL社区版已经4年没有更新维护了,我们做了一款MySQL HTAP数据库,大家来看看吧 HOT 19
- 10万的commit。。。真忍不住吐槽下,一个单词交一次commit吗 HOT 1
- http://mysql.taobao.org/monthly/2023/09/01/
- 请教在Ubuntu 16.04下编译时出现的问题 HOT 1
- RSS 订阅 http://mysql.taobao.org/monthly/ 显示内网 IP HOT 4
- RSS 订阅页面 http://mysql.taobao.org/monthly/feed.xml 错误
- 阿里SQL5.7/8.0版本的源代码在哪里呢? HOT 1
- 基于Sever层排队的秒杀的死锁问题
- 感觉开源了,没人维护了 HOT 3
- 对更新单行记录的优化如何保证幂等? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alisql.