Most NoSQL systems are schema-on-read: data can be stored without first having to declare a Schema that imposes a structure. This schemaless feature offers flexibility to evolve data-intensive applications when data frequently change. However, freeing from declaring schemas does not mean their absence, but rather that they are implicit in data and code. Therefore, diagramming tools similar to those available for relational systems are also needed to help developers and administrators understanding NoSQL schemas. Visualizing diagrams is not practical if schemas contain hundreds of database entities, and exploration or query facilities are then needed. In schemaless NoSQL stores, data of the same entity can be stored with different structure which can increase the difficulty of having readable diagrams. NoSQL schema management tools should therefore have three main components: schema extraction, schema visualization, and schema query. Since that there exist four main NoSQL data models, it is convenient that such tools can be built on a generic data model that provide platform-independence to query and visualize schemas. With the aim of favoring the creation of generic database tools, the authors of this paper defined the U-Schema unified data model that integrates the four main NoSQL data models and the relational model. This paper is focused on querying NoSQL and relational schemas which are represented as U-Schema models. We present the SkiQL language designed on U-Schema to achieve a platform-independent schema query service. SkiQL provides two constructs: schema-query and relationship-query. The former allows to obtain information of entity or relationship types, and the latter that of the aggregations or references (relations among types). We will show how SkiQL was evaluated by calculating well-known metrics for languages and using a survey.
翻译:多数无 SQL 系统都是正在解读的系统:数据可以储存,而不必首先宣布一个设置结构的Schema 。这个无化学特征提供了在数据经常变化时发展数据密集型应用程序的灵活性。然而,不宣布 schema 并不表示它们不存在,而是在数据和代码中隐含。因此,还需要类似于用于关系系统的图表工具来帮助开发者和行政者理解 NSQL 系统。如果 schema 包含数百个数据库实体,然后需要勘探或查询设施,则数据可以储存起来。在无化学的 NoSQL 仓库中,同一实体的数据可以储存在不同的结构中,这样可以增加可读图的难度。诺SQL 系统管理工具因此应该包含三个主要组成部分: schema 提取、 schema 视觉化和 schema 查询。由于存在四种主模型,我们可以通过 NSQL 数据模型获得数据模型的数据模型,因此这些工具可以建在通用数据模型上,提供平台独立查询和可视觉的 Schemal Q 。