When we initiate the DB sync for the first time, Xray will download all vulnerabilities and components information from a global database which is continuously updated by various sources such as NVD/Redhat/Debian etc and store the information in Xray’s database.
The initial DB sync would take some time to be completed as it needs to download all the data from the Global database. However, once the initial sync is completed, the daily database sync would be faster as it will only download and update the delta between the global database and Xray.
In some cases, we would like to confirm that a specific vulnerability is updated in the Xray Database, to confirm this we may execute the following queries -