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
Subject
Views
Written By
Posted
why mysqld so big. Is any way to shrink it
2292
December 04, 2018 04:27AM
852
December 04, 2018 11:16AM
836
December 10, 2018 03:32AM
616
June 23, 2019 03:18PM
655
June 23, 2019 10:23PM
Sorry, you can't reply to this topic. It has been closed.
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.