It is known that intersection of two compact spaces is might not compact but intersection of two compact Hausdorff spaces is compact.
I curious about intersection of two relatively compact spaces. In metric spaces, compact and relatively compact are equivalent. So, there is no issue in metric spaces.
My question is: is intersection of two relatively compact spaces relatively compact? If not, please show me an counterexample.
Note that the intersection of two compact Hausdorff spaces need not be compact:
But I guess that you actually meant that the intersection of two compact sets in a Hausdorff space is compact. That is true.
It is also true that the intersection of two relatively compact sets is relatively compact. In fact, any subset of a relatively compact space is relatively compact, for if $B\subset A$ and $\overline A$ is compact, then $\overline B\subseteq\overline A$ is a closed subset of a compact space, thus compact.