mysql编译参数详解(./configure)
2.--enable-assembler:使用汇编模式;(文档说明:compiling in x86 (and sparc) versions of common string operations, which should result in more performance. 汇编x86的普通操作符,可以提高性能)
3.--enable-local-infile:启用对LOAD DATA LOCAL INFILE语法的支持(默认不支持);
4.--enable-profiling:Build a version with query profiling code (req.community-features)
5.--enable-thread-safe-client:使用编译客户端;(让客户端支持线程的意思)
6.--with-big-tables:启用32位平台对4G大表的支持;
7.--with-charset=CHARSET:指定字符集;
8.--with-collation=:默认collation;
9.--with-extra-charsets=CHARSET,CHARSET,...:指定附加的字符集;
10.--with-fast-mutexes:Compile with fast mutexes
11.--with-readline:
12.--with-ssl:启用SSL的支持;
13.--with-server-suffix=:添加字符串到版本信息;
14.--with-embedded-server:编译embedded-server,构建嵌入式MySQL库;
15.--with-pthread:强制使用pthread类库;
16.--with-mysqld-user=:指定mysqld守护进程的用户;
17.--with-mysqld-ldflags=:静态编译MySQL服务器端;(静态链接提高13%性能)
18.--with-client-ldflags=:静态编译MySQL客户端;(静态链接提高13%性能)
19.--with-plugins=PLUGIN,PLUGIN 等等等(MySQL服务器端支持的存储引擎组件(默认为空),可选值较多:
partition:MySQL Partitioning Support;
daemon_example:This is an example plugin daemon;
ftexample:Simple full-text parser plugin;
archive:Archive Storage Engine;
blackhole:Basic Write-only Read-never tables;
csv:Stores tables in text CSV format,强制安装;
example:Example for Storage Engines for developers;
federated:Connects to tables on remote MySQL servers;
heap:Volatile memory based tables,强制安装;
ibmdb2i:IBM DB2 for i Storage Engine;
innobase:Transactional Tables using InnoDB;
innodb_plugin:Transactional Tables using InnoDB;
myisam:Traditional non-transactional MySQL tables,强制安装;
myisammrg:Merge multiple MySQL tables into one,强制安装;
ndbcluster:High Availability Clustered tables;)
20.--with-plugin-PLUGIN:强制指定的插件链接至MySQL服务器;
21.--with-zlib-dir=:向MySQL提供一个自定义的压缩类库地址;
22.--without-server:仅安装MySQL客户端;
23.--without-query-cache:不要编译查询缓存;
24.--without-geometry:不要编译geometry-related部分;
25.--without-debug:编译为产品版,放弃debugging代码;
26.--without-ndb-debug:禁用special ndb debug特性;
基于以上,我的配置:
./configure --prefix=/usr/local/mysql/
--with-server-suffix=yu
--enable-assembler
--enable-local-infile
--enable-thread-safe-client
--with-big-tables
--with-charset=utf8
--with-extra-charsets=gbk,gb2312,utf8,ascii
--with-readline
--with-ssl
--with-embedded-server
--with-pthread
--with-mysqld-user=mysql
--with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static
--with-plugins=partition,innobase,innodb_plugin
最新文章
- 第二十六章 hystrix-dashboard + turbine
- Python 学习---------Day6
- React-Native入门指导之iOS篇
- java多线程之:深入JVM锁机制2-Lock (转载)
- NodeJS+Express+MongoDB 简单实现数据录入及回显展示【适合新人刚接触学习】
- 【我的漫漫跨考路】数据结构之单链表线性存储实现 Beta
- python爬取大众点评
- Java正则表达式语法
- 在安卓代码中dp 和 sp 换算px
- 前端笔记知识点整合之JavaScript(三)关于条件判断语句、循环语句那点事
- CSS(Cascading Style Sheet)简述
- vim常用命令行备忘总结
- C# RabbitMQ延迟队列功能实战项目演练
- mysql忘记密码时如何修改密码
- Hibernate的条件查询的几种方式+查询所有的记录
- winform计算文本的所占的像素长度
- android 系统广播
- OpenGL 遮挡查询
- jquery Mobile入门—多页面切换示例学习
- iOS- Apple零配置网络协议Bonjour的使用?