-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
File-Augmented Schema #1151
Comments
Initial Work: Consistent File Folder StructureThe first step is to design a consistent file folder structure that's prescribed by DataJoint, based on the schema design and primary key values. For the final solution, we need to consider the following:
To this end, we have considered several classes of algorithms for generating file paths from primary keys: 1. Flat Key Space
Pros
Cons
2. Hierarchical Key Space
|
This will be recategorized as "File-Augmented Schema" |
Closing due to inactivity (older than 365 days), please reopen if it's still applicable. |
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: