File-Augmented Schema #1151
Labels
enhancement
features
needs-discussion
Issues requiring further development review and verify impact.
Milestone
Feature Request
Problem Statement
While the database provides data structure, efficient queries, and transaction support, files are still preferred for strong large objects such as images, numerical arrays, movies, etc. Users like to have direct read-only access to the files without mediation by the database. Storing large objects in MySQL tables has adverse performance effects on data queries.
DataJoint has previously implemented several approaches to address some aspects of this problem:
attach
andattach@store
datatype to store files, preserving the filename but not the folder structuresblob@store
datatype for storing serialized data structures in external filesfilepath@store
datatype to allow organizing files and folders under users' controlAdapatedType
datatype that allows defining custom logic to apply for reading and writing.In particular, the SpyGlass pipeline Loren Frank's lab relied on the
filepath
andAdaptedType
features to implement NWB file management.None of these methods simultaneously address the following desiderata:
datajoint-python
or DB access, and files should maintain their native file extensions and MIME types (as opposed to serializing into another format).We need a solution for file management that simultaneously addresses all of these desiderata.
The text was updated successfully, but these errors were encountered: