문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top