Prepare ci databases based on the numbers of cpu cores