Frage

I have thousands of documents of different types and therefore different fields. My task is to find pairs or a group of documents, with specific relations:

A.race='dwarf' and B.race='elfe' and C.profession='thief'
A.haircolor = C.haircolor and B.favorite_meal = C.favorite_meal

Is there a database which is schema-less and relational?

War es hilfreich?

Lösung

Having a schema is part of the definition of a relational database, so a database can not be both schemaless and relational.

But when you are searching for a database which is good for modeling and analyzing relations between entities without enforcing a consistent schema, you could take a look at graph databases like Neo4j. These databases focus on defining entities mostly by their relation to other entities. They make it really easy to find entities which have common relations to other entities.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top