The study of the housing in the Roman world focused primarily on the organization of the housing. However, since the beginning of the 21st century, building archaeology offered new approaches and methods to better understand the Roman house. Construction archaeology, and the studies associated with it, are often faced with the difficulty of treatment of a great data quantity. Moreover, as the construction archaeology is still developing, methodological approaches are also a dynamic research field. In this study, the goal is to investigate some possibilities of use of a database to process such quantity of data in construction archaeology and especially in the studies of windows in the Roman house. In this case, two Roman villas, the villa of Diomedes in Pompeii (NA) and the villa of Poppaea in Oplontis (Torre Annunziata, NA) were selected for their preservation state as well as for their various constructive moments. The scope is to treat and compare the different variables thanks to the use of a database. This crossed analysis allows to compare the size of the windows. It is also a powerful tool to conduct statistical analysis such as correspondence analysis to make links between different window sizes and construction techniques, an interesting chronological and cultural indicator in the construction of a villa. It is therefore possible to see that the use of the database is a very powerful tool to find such type of correspondence between variables and one can only wonder the other use of the database in that field.