Partial knee replacement -- easier surgery, quicker recovery, but may not last as long, might need to be re-done sooner, perhaps less than 10 years.
Total knee replacement -- more complicated procedure, more arduous recovery, probably lasts longer, usually over 10 years.
All good orthopedists will tell you that an activity like tennis will likely shorten the time until you need repeat surgery. My wife had partial two years ago, doing quite well. An in-law who was an avid tennis player had a total, attachment to the bone collapsed in about two years. If I had one done, I would definitely limit my tennis to doubles.