MySQL Forums
Forum List  »  Source, Builds, Binaries

why mysqld so big. Is any way to shrink it
Posted by: yx jiang
Date: December 04, 2018 04:27AM

File mysql in version 5.7.23 is more than 200M. But the text,data,bss segment are small like this

text data bss dec hex filename
23377448 1667344 781744 25826536 18a14e8 ./sql/mysqld

My cmake options like this

cmake ../ \
-DBUILD_CONFIG=mysql_release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWITH_BOOST=/home/jiangyx/tmp/mysql_compile_optimize/mysql-5.7.23/boost \
-DCMAKE_C_FLAGS="-O3" \
-DCMAKE_CXX_FLAGS="-O3" \
-DWITH_SYSTEMD=1 \
-DWITH_INNODB_MEMCACHED=0 \
-DFEATURE_SET="%{feature_set}" \
-DWITH_EMBEDDED_SERVER=0 \
-DWITH_EMBEDDED_SHARED_LIBRARY=1 \
-DWITH_NUMA=OFF \
-DOPTIMIZER_TRACE=OFF \
-DWITH_ARCHIVE_STORAGE_ENGINE=OFF \
-DWITH_FEDERATED_STORAGE_ENGINE=OFF \
-DWITH_PARTITION_STORAGE_ENGINE=OFF

Options: ReplyQuote


Subject
Views
Written By
Posted
why mysqld so big. Is any way to shrink it
501
December 04, 2018 04:27AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.