A uv sterilizer will be a waste of money. First of all. Green pea soup water is an algae bloom.
A bacterial bloom will be white water.
If your water is green you have an algae bloom. Lighting can be the culprit. In my opinion, you need to get it shielded from the sunlight. Algae bloom or not. You'll be temp fluxing your tank from direct sunlight.
Algae blooms happen when enough light is supplied, and enough nutrients are supplied. Namely phosphates are what really power green water.
My plan of action would be. Do a 75% water change, Implement a phosguard. Such as seachems phosguard pillow. Then plant a bunch of plants. If you have diggers etc, use some water lettuce to eat the nutrients. Basically. You want plants to out compete the algae. This will be a perminant solution.
By the time the phosguard product is used up, the plants will be done being in shock and get get a foothold on the nutrients.
A UV sterilizer, will cost alot more, and has costly replacement bulbs also.
I'd personaly just use real plants to fight this off.