which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
what are you trying to achieve
what have you tried so far to achieve this
I’m new to SonarQube and just reviewing the install requirements.
I plan to install on a CentOS 8.1 VMware VM.
I trying to plan out disk space. Upon my initial review of the documentation, it looks like
its recommend to have a separate Postqresql VM server as well as space for elasticsearch.
Where does most of the data grow, on the Postresql database or in elasticsearch?
My plan is to attach virtual disks to the VM to house the data, just now sure where most of the growth
To be fully transparent, it’s extremely difficult for us to provide meaningful sizing recommendations because SonarQube instances will vary wildly based on the following factors:
Number of projects
History of analyses
Number of issues
Branches / Pull Requests (Developer Edition and up)
If the question is “Do I ask for 1TB of space or 100GB”, you can pretty safely go for 100 GB.
Especially if you are just starting out on your SonarQube journey, 100GB for the Database and 25GB for Elasticsearch (which is… a lot, honestly) is going to have you set for a long time. Of course – you should continue to monitor and adjust as necessary.
The Database will grow larger than Elasticsearch (which only indexes what it needs)
SonarQube requires a database, and it’s recommended that the database resides on a separate VM.
It’s generally considered a best practice for SonarQube to keep the Elasticsearch data on a separate drive with high read/write performance (f your virtual drive isn’t gaining you that. That said, it’s not a hard requirement and for a new instance. If the virtual drives aren’t giving you a performance boost, the only thing you gain is sometimes faster upgrades of SonarQube in the future.
I don’t really know how to answer this question. What do you mean exactly?
SonarQube is a platform that helps you manage the quality of a codebase over time – it’s not meant to be a “get my answer and delete” kind of service.