Studies done in the 1990's concluded dogs spayed or neutered under one year of age grew significantly taller than non-sterilized dogs or those not spayed / neutered until after puberty.
Comparing female dogs binned into the categories of «intact» versus «spayed» introduces a methodological bias that might lead one to conclude that ovaries adversely influence longevity, i.e. ovary removal promotes longevity.