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特性;