Power optimization has a significant role in multi-user massive multiple-input and multiple-output (mMIMO) wireless communication systems, whereas the acquisition of instantaneous channel state information (I-CSI) is a serious challenge in practical scenarios. The statistical spatial information (SPI), which contains angle-of-departures (AoDs) and corresponding large-scale fading factors, is slowly varying. The power optimization based on SPI to improve system performance needs to be explored for multi-user mMIMO systems. In this paper, two novel algorithms for SPI-based power optimization are proposed to maximize the ergodic sum-rate (ESR) under total power constraint for the system. Specifically, the minorization-maximization-based power optimization (MM-PO) algorithm and the closed-form power optimization (CF-PO) algorithm are proposed utilizing the minorization-maximization (MM) method and the fractional programming (FP) method, respectively. Moreover, the ESR is expressed based on the extracted SPI. The approximate expression of the ESR is derived. The complexity of the algorithms depends on the number of users, and the algorithms are scalable in the system. The proposed algorithms can effectively achieve the advantages of SPI while being robust to the uncertainty of I-CSI. Simulation results verify the ESR of our two proposed algorithms is 1.47 and 1.4 times higher than that of the equal power allocation algorithm at a high SNR when the number of antenna and user are equal to 64 and 20, respectively.