TITLE: Sylow subgroups of abelian profinite groups
QUESTION [5 upvotes]: If $G$ is a finite abelian group, then we have a decomposition
$$G\cong \prod_{p} G(p)$$
where $G(p)$ is the $p$-Sylow subgroup of $G$. This product makes sense as for all but finitely many primes $p$, we have $G_p=\{0\}$. This is proven by showing that the cardinality of $G$ and $\prod_{p} G(p)$ agree. If we now assume that $P$ is a profinite abelian group, there still exists the notion of a $p$-Sylow subgroup $P(p)$ which is now a pro-$p$-group. I'm curious if there exists an isomorphism
$$P\cong \prod_{p} P(p).$$

REPLY [10 votes]: This is Proposition 2.3.8 of Ribes and Zaleskii - Profinite groups (second edition).  (I originally gave references specifically for the finer structure of profinite Abelian groups, but assuming finite generation, in Section 4.3 of the same book.)