mysql 8.0 为什么那么大? 800M 的可执行文件

2019-06-25 21:33:02 +08:00
 lolizeppelin

我真服了 orz

6748 次点击
所在节点    MySQL
15 条回复
love
2019-06-25 22:03:54 +08:00
你确定 800M?
hly9469
2019-06-25 22:06:03 +08:00
不幸的是,作为一只 docker,它才 129M
kevinwkxw
2019-06-25 22:06:21 +08:00
oracle 那个是把所有的依赖全部打成一个包了吧
chendy
2019-06-25 22:19:41 +08:00
你确定 800M ?
Humorce
2019-06-25 22:22:19 +08:00
willxiang
2019-06-25 22:24:08 +08:00
我下的 zip 只有 184M。
masker
2019-06-25 23:11:42 +08:00
Windows (x86, 64-bit), ZIP Archive
228.9M
Download
(mysql-8.0.16-winx64.zip)
MD5: 1a6646b047425cc1150b8a88751e721b

Windows (x86, 32-bit), MSI Installer 8.0.16 373.4M
Download
(mysql-installer-community-8.0.16.0.msi) MD5: c9cef27aea014ea3aeacabfd7496a092
两个加起来都没有 800m
tony601818
2019-06-25 23:50:58 +08:00
你是把 debug symbol 也算进来了吧
lolizeppelin
2019-06-26 01:49:36 +08:00
linux 的 rpm 包 400M 安装玩 mysqld 800M mysqld-debug 700M
lolizeppelin
2019-06-26 12:15:53 +08:00
mysql 5.6
Download size 59.67 MB
Installed size 252.15 MB

mysql 5.7
Download size 165.50 MB
Installed size 745.72 MB


mysql 8.0
Download size 403.09 MB
Installed size 1.77 GB

我操.....指数增长喷了
Mitt
2019-06-26 13:18:41 +08:00
毕竟安装的起 mysql 的都不缺这点空间,你要缺干嘛不用 sqlite
hyperbin
2019-06-26 14:24:00 +08:00
换成 postgresql
yiyi11
2019-06-26 14:34:58 +08:00
oracle 接手之后一直给 mysql 加特性,mysql8.0 支持开窗函数,复杂的统计查询时很好用。
CodeCore
2019-06-26 14:54:34 +08:00
PG 小
lolizeppelin
2019-06-26 17:12:14 +08:00
搞定了...自己编译改下 spec 文件
install 的最后增加

# reomve debug
rm -rf %{buildroot}%{_sbindir}/mysqld-debug
/bin/strip --strip-debug %{buildroot}%{_sbindir}/mysqld

server 的 rpm 包降到 74M 了......

蛋痛....我们的是活的小白鼠给他们做 debug 的把

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/577428

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX