I know very little about cannons, but just looking at it —
Whoever designed and built this thing was really scared of it blowing up when fired. That's why the barrel is so large and the bore so small by comparison; not to mention all the bands running around its circumference. I bet the thing is made of inferior iron.
It is probably either a signal gun or was just used for salutes.