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
mysql编译参数详解(./configure)的更多相关文章
- mysql编译参数详解
mysql编译参数详解(./configure) 1.--prefix=PREFIX:指定程序安装路径: 2.--enable-assembler:使用汇编模式:(文档说明:compiling i ...
- 【转】 linux 安装nginx及编译参数详解
版权声明:本文为博主原创文章,未经博主允许不得转载. 从官网下载一个nginx 的tar.gz 版. 安装方式使用make 安装 第一步:解压 tar -zxvf nginx-1.7.4.tar.g ...
- MySQL字符集详解
Reference: https://www.cnblogs.com/wcwen1990/p/6917109.html MySQL字符集详解 一.字符集和校验规则 字符集是一套符合和编码,校验规 ...
- Linux下nginx编译安装教程和编译参数详解
这篇文章主要介绍了Linux下nginx编译安装教程和编译参数详解,需要的朋友可以参考下 一.必要软件准备1.安装pcre 为了支持rewrite功能,我们需要安装pcre 复制代码代码如下: # y ...
- MySQL 数据类型 详解
MySQL 数据类型 详解 MySQL 的数值数据类型可以大致划分为两个类别,一个是整数,另一个是浮点数或小数.许多不同的子类型对这些类别中的每一个都是可用的,每个子类型支持不同大小的数据,并且 My ...
- mysql存储过程详解
mysql存储过程详解 1. 存储过程简介 我们常用的操作数据库语言SQL语句在执行的时候需要要先编译,然后执行,而存储过程(Stored Procedure)是一组为了完成特定功能的S ...
- mysql 存储过程详解 存储过程
mysql存储过程详解 1. 存储过程简介 我们常用的操作数据库语言SQL语句在执行的时候需要要先编译,然后执行,而存储过程(Stored Procedure)是一组为了完成 ...
- MySQL配置文件详解
MYSQL 配置文件详解 “全局缓存”.“线程缓存”,全局缓存是所有线程共享,线程缓存是每个线程连接上数据时创建一个线程(如果没有设置线程池),假如有200连接.那就是200个线程,如果参数设定值是1 ...
- MySQL存储过程详解 mysql 存储过程
原文地址:MySQL存储过程详解 mysql 存储过程作者:王者佳暮 mysql存储过程详解 1. 存储过程简介 我们常用的操作数据库语言SQL语句在执行的时候需要要先编译,然后执行,而存储 ...
随机推荐
- python——二进制/十进制等转换
To 十进制 八进制: >>> int('10', 8) ->8 To 十六进制: 十进制: >>> hex(12) ->‘0xc’ 二进制: &g ...
- win10 为了对电脑进行保护,已经阻止此应用 解决方法
win10 为了对电脑进行保护,已经阻止此应用 解决方法 正确方法: ."win+x"进入控制面板,选择安全性与维护,在左侧更改windows smartscreen筛选器 ...
- Json_decode:详解
Json_decode:详解 json_decode - 对 JSON 格式的字符串进行编码 mixed json_decode ( string $json [, bool $assoc = f ...
- MySQL解释--百度百科
MySQL是一个关系型数据库管理系统,由瑞典MySQL AB 公司开发,目前属于 Oracle 旗下公司.MySQL 最流行的关系型数据库管理系统,在 WEB 应用方面MySQL是最好的 RDBMS ...
- CHAPTER ONE LOAD-BALANCING
1.1 Synopsis In this part, we will explain how to create a load-balancer withnginxfor a lot of OpenE ...
- Spring 测试框架testContext代码举例
import javax.annotation.Resource; import org.junit.Test; import org.springframework.context.annotati ...
- linux crontab执行python脚本问题
在工作中我们经常会写一个python脚本,然后想通过定时任务去执行,这时我们会想到crontab. 通过 crontab -e去设置crontab 例如:0 0 * * ...
- C# Activator.CreateInstance 动态创建类的实例(一)
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T ...
- python 第三方库下载地址
http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
- python简单网页服务器示例
参考:http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/00138683268974 ...