How is the wood Venice is built on not decomposing over time?

536 views

(Not sure about the flair.. sorry)
Wooden beams in earth (like with fences) rot over the years and break.
I was under the impression that this was because of water.
Shouldn’t Venice “sink” because of rotten beams?

In: Earth Science