LIke daugherty said,a UV kills the good and bad.
Pros-
Kills algae spores going through the membrane making the tank appear cleaner and the water clearer.
Reduce some fish disease outbreaks by killing parasites/bacteria/virus.If you're trying to keep fish prone to Ich and other diseases than A UV is something to consider.
Cons-
Kills the beneficial bacteria(most are coating the rocks,glass after the cycle so it doesn't kill much).
Maintenance,the lining/sleeve needs to be clean periodically and bulb needs replacing.
Killing algae spores and other things can add even more nutrient especially if you are having excessive diatoms/film algae problems already.More and a larger amount of water changes might be needed for awhile.
*** I didn't list copepods and other fauna getting killed because there is a way to avoid/minumalize deaths***