There are two different types of compression ratio. One is called static. It is the difference in volume between bottom dead center and top dead center. Changes in piston dome/dish and head chamber volume will affect this. Then there is also dynamic compression ratio. Cams play a role in dynamic compression ratio. A cam with more high RPM breathing ability will have a lower dynamic ratio due to more valve over lap. Big cams and high compression goes hand and hand. Bigger cam with help top end power at a cost to low end torque. Some of the low end torque can be recouped with higher compression pistons. 190 to 210 psi compression pressure is a good range for 93 octane pump gas fuel. Also, the design of the combution chamber will affect how much timing you can run without knock. The faster the charge burns the higher knock threshold the engine will have.
So, make sure your A/F ratio is on, and like the previous poster said tune for the most power and watch knock.
This is another good read.
http://www.popularhotrodding.com/tech/0 ... index.html