It totally depends on the material you are working on. in other words, there are some experimental relations between yield strengths in question; however, these relations differ from material to material.
It is worth mentioning that all these relations are approximate.
I would like to add to Mehran Shahpari's answer that the differences in tensile and compressive strength of a material are very much dependent on its hardness (brittleness): the more brittle a material is, the greater this difference. If the tensile and compressive strengths of metals with good plastic deformability differ little from one another, the compressive strengths of such brittle materials such as concrete, ceramics or glass are about a factor of 10 higher than their tensile strengths.