Abstract
Different studies have proved that XMI (default persistence in Eclipse Modelling Framework) has some limitations when operating with large models. Recent approaches propose databases for persistence of models. Therefore, persistence level languages could be used to efficiently query models. While persistence level languages increase performance as they take advantages of underlying databases, they compromise usability for model engineers. Model engineers are familiar with model-level query languages (e.g. EOL or OCL). We present MQT (Model Query Translator), a runtime translation of model-level to persistence-level queries. Thus, we provide model engineers the usability of a model level language but also take advantage of performance optimization of databases. We have performed an empirical study of the approach using the GraBaTs 2009 case study (models from 8.8 MB to 646 MB) and results indicate that persisting models in a database, and combining it with runtime query translation provides a promising alternative for querying large models.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Pagán, J.E., Cuadrado, J.S., Molina, J.G.: A repository for scalable model management. Softw. Syst. Model. 14, 219–239 (2013)
Eike Stepper: CDO Model Repository Overview (2014). http://www.eclipse.org/cdo/documentation/. Accessed 17 March 2014
Benelallam, A., Gómez, A., Sunyé, G., Tisi, M., Launay, D.: Neo4EMF, a scalable persistence layer for EMF models. In: Cabot, J., Rubin, J. (eds.) ECMFA 2014. LNCS, vol. 8569, pp. 230–241. Springer, Heidelberg (2014)
Scheidgen, M.: Reference representation techniques for large models. In: Proceedings of the Workshop on Scalability in Model Driven Engineering. BigMDE 2013, pp. 5:1–5:9. ACM, New York (2013)
Pagán, J.E., Molina, J.G.: Querying large models efficiently. Inf. Softw. Technol. 56, 586–622 (2014)
De Carlos, X., Sagardui, G., Trujillo, S.: MQT, an approach for runtime query translation: from EOL to SQL. In: Proceedings of the 14th International Workshop on OCL and Textual Modeling Applications and Case Studies. OCL 2014 (2014)
Kolovos, D., Rose, L., García-Domínguez, A., Paige, R. (eds.): The Epsilon Book, Enterprise Systems. University of York (2014)
Demuth, B., Hussmann, H., Loecher, S.: OCL as a specification language for business rules in database applications. In: Gogolla, M., Kobryn, C. (eds.) UML 2001. LNCS, vol. 2185, pp. 104–117. Springer, Heidelberg (2001)
Marder, U., Ritter, N., Steiert, H.: A dbms-based approach for automatic checking of ocl constraints. In: Proceedings of Rigourous Modeling and Analysis with the UML: Challenges and Limitations. OOPSLA (1999)
Kolovos, D.S., Wei, R., Barmpis, K.: An approach for efficient querying of large relational datasets with OCL-based languages. In: XM 2013-Extreme Modeling Workshop, p. 48 (2013)
Heidenreich, F., Wende, C., Demuth, B.: A framework for generating query language code from ocl invariants. ECEASST 9 (2008)
Parreiras, F.S.: Semantic Web and Model-Driven Engineering. Wiley, Hoboken (2012)
Acknowledgements
This work is partially supported by the EU Commission with project MONDO (FP7-ICT-2013-10), no. 611125. Authors wish to thank Dr. Dimitris Kolovos.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
De Carlos, X., Sagardui, G., Murguzur, A., Trujillo, S., Mendialdua, X. (2015). Runtime Translation of Model-Level Queries to Persistence-Level. In: Desfray, P., Filipe, J., Hammoudi, S., Pires, L. (eds) Model-Driven Engineering and Software Development. MODELSWARD 2015. Communications in Computer and Information Science, vol 580. Springer, Cham. https://doi.org/10.1007/978-3-319-27869-8_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-27869-8_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-27868-1
Online ISBN: 978-3-319-27869-8
eBook Packages: Computer ScienceComputer Science (R0)