声纳分析需要很长时间 [英] Sonar analysis takes long time

查看:87
本文介绍了声纳分析需要很长时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的声纳分析需要很长时间才能完成。最初大约需要20-30分钟。后来增加到1小时以上。现在,经过5个月,整个过程需要5个小时。
有人可以建议原因以及如何纠正它。

My sonar analysis takes a long time to complete. Initially it took around 20-30 mins. Later it increased to 1hr+. Now after 5 months it takes whole 5 hours. Can someone suggest the reason and how to rectify the same.

我将sonarqube 4.4与postgresql 9.3 db一起使用。声纳数据库占用近40G的空间。

I use sonarqube 4.4 with postgresql 9.3 db. The sonar db takes up almost 40G of space.

如果您在下面查看我的日志,您会发现大部分时间都花在IndexProjectPostJob上。

If you check my log below you will notice that most of the time is spent on IndexProjectPostJob.

08:53:47.437 INFO  - Executing post-job class org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob
08:53:48.687 INFO  - Executing post-job class org.sonar.plugins.core.batch.IndexProjectPostJob
12:56:24.924 INFO  - Executing post-job class org.sonar.plugins.dbcleaner.ProjectPurgePostJob
12:56:26.601 INFO  - -> Keep one snapshot per day between 2015-06-10 and 2015-07-07


推荐答案

您可能有很多快照。是否可以删除一些。
您使用哪个版本的SonarQube?

You probably have a lot of snapshots. Would it be possible to delete some. Which version of SonarQube do you use ?

问候。

这篇关于声纳分析需要很长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆