标签:
一.下载安装jemalloc
#wget http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2 #tar jxvf jemalloc-3.6.0.tar.bz2 #cd jemalloc-3.6.0 #./configure --prefix=/usr/local/jemalloc
二.在mysqld_safe文件中导入
# executing mysqld_safe
#jemalloc
export LD_PRELOAD=/usr/local/jemalloc/lib/libjemalloc.so
三.查看是否导入成功
#lsof -n | grep jemalloc
标签:
原文地址:http://www.cnblogs.com/itfenqing/p/5456309.html