SonarQube : How to reduce size of measures_data.ibd?(SonarQube:如何减小 measure_data.ibd 的大小?)
问题描述
我已经使用 SonarQube/Sonar 几年了,measures_data.idb 的大小已经增长到 114GB,是的.
I've been using SonarQube/Sonar for a few years now and the measures_data.idb size has grown to a wopping 114GB, yes gig.
我已经设置了默认的家政设置.
I've got the default house keeping settings set.
我正在使用 MySql 5.6(每个文件的默认设置)
I'm using MySql 5.6 (with default per file setting)
我正在使用 Sonar 4.0.
I'm using Sonar 4.0.
我尝试从 mysql 导出数据库,然后再次导入.但它的大小相同.它确实说明了..
I've tried exporting the db from mysql and then importing it again. but its the same size. It does state..
note : Table does not support optimize, doing recreate + analyze instead
status : OK
我从 Sonar 的批量删除"选项中删除了几个旧项目,但文件大小相同.
I've deleted a couple of old projects from Sonar's "Bulk Deletion" option, but the file is the same size.
谁能给我一些关于下一步尝试的建议?
Can anyone give me some advice on what to try next?
谢谢杰夫·波特
推荐答案
最后的解决方案很简单.
The solution in the end was simple.
从 MySQL 5.5 导出.(导出文件为 114 GB)
Export from MySQL 5.5. (export file is 114 GB)
卸载 MySQL 5.5(删除所有数据文件)
Uninstall MySQL 5.5 (remove all data files)
安装 MySQL 5.6
Install MySQL 5.6
导入数据
从 MySQL 5.6 导出(导出文件现在为 13 GB)
Export from MySQL 5.6 (export file is now 13 GB)
卸载 MySQL 5.6(删除所有数据文件)
Uninstall MySQL 5.6 (remove all data files)
安装 MySQL 5.6
Install MySQL 5.6
导入数据
这篇关于SonarQube:如何减小 measure_data.ibd 的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:SonarQube:如何减小 measure_data.ibd 的大小?


- 导入具有可变标题的 Excel 文件 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 更改自动增量起始编号? 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- SQL 临时表问题 2022-01-01