The present work investigates how heatwaves affect the underground distribution network and, therefore, the continuity and the quality of electricity services delivered by E-Distribuzione by adopting a data-oriented approach. Because of these unusual meteorological conditions, the number of interruptions due to cable failures and power outages in the electricity distribution system has started to grow steadily in the past decade. In particular, the network components that are affected the most by thermal degradation are joints of underground medium voltage (MV) cables. Indeed, joints insulating materials and packaging are especially subject to overheating during heatwaves, enhancing electrical fields in correspondence of their cavities and triggering potential manufacturing defects, while soil aridity reduces the ability of underground cables to efficiently dissipate heat. Given that many factors can contribute to failures, big volumes of data coming from heterogeneous sources need to be stored and processed for monitoring network conditions and climate data almost in real-time. The paper gives evidence of the impact heatwaves have on the distribution infrastructure in time, describes the enhanced data flow implemented in E-Distribuzione Network Operation process, from gathering network information through SCADA systems and climate data from an external accredited provider to the cleaning and storage phase in SQL Server relational databases and to data visualization and analysis. E-Distribuzione is one of the first Distribution System Operators (DSO) to build a structured data management pipeline for evaluating the everyday impact of heatwaves on the quality of service by monitoring day-by-day the frequency of interruptions. The aim is to closely study the correlation between heatwaves and underground cablesjoints damages thus promptly taking needed remediation actions in contingency as well as evaluating the effective medium-long term structural actions on the network for mitigating the risk towards clear advantages in terms of better quality of the electric service.