Sánchez-de-Madariaga Ricardo, Muñoz Adolfo, Lozano-Rubí Raimundo, Serrano-Balazote Pablo, Castro Antonio L, Moreno Oscar, Pascual Mario
Telemedicine and Information Society Department, Health Institute "Carlos III" (ISCIII), c/Sinesio Delgado, 4 -, 28029, Madrid, Spain.
Medical Informatics, Hospital Clínic, Unit of Medical Informatics, University of Barcelona, Barcelona, Spain.
BMC Med Inform Decis Mak. 2017 Aug 18;17(1):123. doi: 10.1186/s12911-017-0515-4.
The objective of this research is to compare the relational and non-relational (NoSQL) database systems approaches in order to store, recover, query and persist standardized medical information in the form of ISO/EN 13606 normalized Electronic Health Record XML extracts, both in isolation and concurrently. NoSQL database systems have recently attracted much attention, but few studies in the literature address their direct comparison with relational databases when applied to build the persistence layer of a standardized medical information system.
One relational and two NoSQL databases (one document-based and one native XML database) of three different sizes have been created in order to evaluate and compare the response times (algorithmic complexity) of six different complexity growing queries, which have been performed on them. Similar appropriate results available in the literature have also been considered.
Relational and non-relational NoSQL database systems show almost linear algorithmic complexity query execution. However, they show very different linear slopes, the former being much steeper than the two latter. Document-based NoSQL databases perform better in concurrency than in isolation, and also better than relational databases in concurrency.
Non-relational NoSQL databases seem to be more appropriate than standard relational SQL databases when database size is extremely high (secondary use, research applications). Document-based NoSQL databases perform in general better than native XML NoSQL databases. EHR extracts visualization and edition are also document-based tasks more appropriate to NoSQL database systems. However, the appropriate database solution much depends on each particular situation and specific problem.
本研究的目的是比较关系型数据库系统和非关系型(NoSQL)数据库系统,以便以ISO/EN 13606标准化电子健康记录XML提取物的形式单独或并发地存储、恢复、查询和持久化标准化医疗信息。NoSQL数据库系统最近备受关注,但文献中很少有研究探讨将其应用于构建标准化医疗信息系统的持久层时与关系型数据库的直接比较。
创建了一个关系型数据库和两个不同大小的NoSQL数据库(一个基于文档的数据库和一个原生XML数据库),以评估和比较在它们上面执行的六个复杂度不断增加的不同查询的响应时间(算法复杂度)。还考虑了文献中类似的适当结果。
关系型和非关系型NoSQL数据库系统的查询执行显示出几乎呈线性的算法复杂度。然而,它们显示出非常不同的线性斜率,前者比后两者陡峭得多。基于文档的NoSQL数据库在并发情况下的性能优于单独运行时,并且在并发情况下也优于关系型数据库。
当数据库规模极大时(二次使用、研究应用),非关系型NoSQL数据库似乎比标准关系型SQL数据库更合适。基于文档的NoSQL数据库总体上比原生XML NoSQL数据库表现更好。电子健康记录提取物的可视化和编辑也是更适合NoSQL数据库系统的基于文档的任务。然而,合适的数据库解决方案很大程度上取决于每个具体情况和特定问题。