Skip to content

Which database should be used as the underlying data store? #40

@valerie-autumn-skye

Description

@valerie-autumn-skye

Discussed during morning session on June 11.

Currently using MongoDB, but other, more robust databases are available:

  • PostgreSQL has geodatabase extensions, JSONB column support (with indexing and query capability into the data structure), and extensions available for JSON validation against a schema. However, it is an open question of whether these three features will work together.
  • LinkML supports JSON-Schema draft-07. There are multiple extensions available that enable JSON validation. There are likely more, these are just the first I found and are likely some of the oldest. There may be newer extensions that are more suitable.

During the June 11 hackathon session, it was agreed that for the short term, MongoDB is sufficient for our needs and will facilitate rapid development, but this issue should be re-examined in a later iteration of development. @aclum and @jeff-cohere added support in favor of PostgreSQL over MongoDB in June 12 hackathon session. Our strict schema dependence is at odds with the flexible schema model of MongoDB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions