$\def\Z{{\mathbb{Z}}\,} \def\Spec{{\rm Spec}\,}$ Suppose $R$ a ring and consider $\Spec(\prod_{i \in \mathbb{Z}} R)$. Now for the finite case, I know that holds $\Spec(R \times R) = \Spec(R) \coprod \Spec(R)$.
My intutition says that this does not extend to the infinite case. Maybe $\Spec(\oplus_{i \in \Z} R) = \coprod_{i \in \Z}\Spec(R)$ holds, but I am not sure. Can anybody give a proof or counter example for both the infinite direct sum and direct product?