Generating a schema of a not-only-structured-query-language database
AssigneeInternational Business Machines Corporation
InventorsLimei Jiao, Chen Wang, Lanjun Wang, Shuo Zhang
Life of this patent
Estimating the term…
Abstract
Generation of a schema of a NoSQL type database, where a set of entry(ies) of a NoSQL type database can be determined, and the record schema is a treelike relationship between key hierarchies with a key as a node in the entry, wherein the key corresponds to an attribute name. For at least one record schema, a node in which there is an attribute name variation is determined based on a similarity of sub-nodes in the treelike relationship, and the record schema is updated according to the determined result. The schema of the NoSQL type database is generated based on the updated record schema.
Claims20
A method comprising:
- determining a record schema of a set of entry(ies) in a Not-only-Structured-Query-Language (NoSQL) type database, the record schema being a treelike relationship between key hierarchies with a key as a node in each entry of the set of entry(ies), wherein the key corresponds to an attribute name;
- determining a node in which there is an attribute name variation based on a similarity of sub-nodes in the treelike relationship, and updating a corresponding record schema according to the determined result;
- and
- generating a schema for the NoSQL type database based on the updated record schema.
A device comprising:
- a determiner configured to determine a record schema of a set of entry(ies) in a NoSQL (Not-only-Structured-Query-Language) type database, the record schema being a treelike relationship between key hierarchies with a key as a node in each entry of the set of entry(ies), wherein the key corresponds to an attribute name;
- an updater configured to determine a node in which there is an attribute name variation based on a similarity of sub-nodes in the treelike relationship, and updating a corresponding record schema according to the determined result;
- and
- a generator configured to generate a schema of the NoSQL type database based on the updated record schema.
A computer program product comprising a computer readable storage medium having stored thereon:
- first program instructions programmed to determine a record schema of a set of entry(ies) in a Not-only-Structured-Query-Language (NoSQL) type database, the record schema being a treelike relationship between key hierarchies with a key as a node in each entry of the set of entry(ies), wherein the key corresponds to an attribute name;
- second program instructions programmed to determine a node in which there is an attribute name variation based on a similarity of sub-nodes in the treelike relationship, and updating a corresponding record schema according to the determined result;
- and;
- and
- third program instructions programmed to generate a schema for the NoSQL type database based on the updated record schema.
Dependencies are inferred from the claim text.