5G ensures the provision of intelligent network and application services by means of connectivity to remote sensors, massive amounts of Internet of Things data, and fast data transmissions. Through the utilization of distributed compute architectures and by supporting massive connectivity across diverse devices like sensors, gateways, and controllers, 5G brings about a transformative revolution in the conversion of both big data at rest and data in motion into real-time intelligence. Big Data Analytics play an important role in the evolution of 5G standards, enabling intelligence across networks, applications, and businesses. Administrators of mobile organizations have access to a plethora of opportunities to enhance service quality through big data. Network optimization serves as a crucial method to achieve this task, with network prediction forming the foundation for such optimization. Ensuring network stability and security is essential for 5G mobile communication, considering its significance as an important tool in national life. Therefore, this work focuses on presenting big data network optimization for mobile cellular networks within the context of 5G. In order to improve the Quality of Experience (QoE) for users, this work explores various methods for integrating network optimization and Big Data analytics. The performance of the presented model is evaluated in terms of QoE, Throughput, handover rate, mobility, reliability, and network slicing.