主权项 |
1. A computer-implemented method comprising:
obtaining, for insertion into a schema-less database, a data object that comprises a plurality of key and value pairs; hashing the keys associated with the plurality of key and value pairs, wherein the hashing includes executing a hash function to generate a hashed data object; comparing the hashed data object to a plurality of first hashed data objects; determining that the hashed data object does not match any of the first hashed data objects and, based on the determining, associating the hashed data object with the first hashed data objects to generate second hashed data objects; and generating a schema for the database, the schema comprising a hierarchy of keys that represent the second hashed data objects. |