Canine dementia: “The odds of a cognitive dysfunction diagnosis were 6.47 times higher in dogs reported as not active compared with those reported to be very active,”

Link. Huge effect, but only correlation.