Yeah vacuuming sand beds is a touchy subject. I keep a thin sand bed that I vacuum. Deeper sand beds may cause problems if disturbed. I have 1-3". I use use a variety of detritus removal techniques. Vacuum sand Vacuum rocks Power head / turkey baste rocks. Try to get the nasties out of the holes and low flow areas. Vacuum sump with shop vac. I use a bucket heat. Cost $25 at Home Depot. I don't do most of that every time but alternate them around during water changes. Probably vacuum sump every few months or as needed. I use filter socks so that prevents a lot from building up to begin with. As long as you clean them out properly they work well. If I need extra vacuuming than a water change will allow I use a hose that just goes straight into a filter sock in sump. Then u can vacuum unlimited time. Over time It's hard to tell what kind of nasty stuff builds up in our aquariums. So in my eyes best to keep the nasty stuff exported as much as possible.