제가 사용하는 MySQL 최적화 configure 옵션입니다.
CPU는 펜티엄 프로 이상 (i686)에 최적화됩니다.
요즈음 isam 은 사용하지 않으므로 disable 시켰습니다.
localstatedir 은 데이타 디렉토리를 의미합니다. 자신에게 적합하게 고쳐주세요.
CC=gcc CFLAGS=\-O3 -march=pentiumpro\ CXX=gcc CXXFLAGS=\-O3 -march=pentiumpro \r
-felide-constructors -fno-exceptions -fno-rtti\ ./configure \r
--prefix=/usr/local/mysql --enable-assembler \r
--localstatedir=/data1 \/color]
--with-charset=euc_kr \r
--with-extra-charsets=none \r
--with-mysqld-user=mysql \r
--without-isam \r
--sysconfdir=/etc \r
--with-innodb \r
--enable-thread-safe-client \r
--with-mysqld-ldflags=-all-static \r
--with-client-ldflags=-all-static
|