blue-core-lod / bluecore_api

API for Blue Core Platform
0 stars 0 forks source link

Define Postgres Schema #19

Open sfolsom opened 1 month ago

qjhart commented 1 month ago

FWIW, I started playing around with a postgres schema for bibframe data. Not sure if this comports at all w/ sinopia's existing backend organization. Feel free to add issues there if you have any questions, but it's very unpolished right now.

qjhart commented 3 weeks ago

@sfolsom I think alot of the postgres schema must depend on how it will drop into the sinopia framework so @jermnelson will have a better understanding, but here are my questions:

Prototype

Are there different tables for works/Instances etc?

Are we using postgres postgres inheritance to combine those?

Are components required for simple search (eg. Title) pulled into their own columns for each item

Are other components (like LC vocabs) stored as their own resource(s)

Are sinopia templates included or will they be managed in a different schema/server?

Are versions (like in sinopia ) included in the database.

Will resources be standardized (like labels non-blank nodes, included or not or either)

MVP

How do we cluster for better performance with many items