as with any other fish, its going to come down to stocking level; and planned water changes. Usually problems are only encountered when people try to stuff large fish into small tanks, a la Oscar Cichlid; which necessitates having to change ridiculous volumes of water in order to try and keep levels healthy.
Just give the goldfish adequate room, filtration; and water changes, you'll be golden.