We recommend that you use Object Storage V2, a next-generation object database, instead of Object Storage V1 (Phonograph). Learn more about Object Storage V2.
This page provides an overview of the Ontology’s legacy backing store, Object Storage V1 (Phonograph). On newer ontologies and those that have completely migrated, Object Storage V2 is the only option.
When a datasource is added as an Ontology backing datasource or as a writeback dataset in the Ontology Manager, the datasource is registered and then indexed into Phonograph for storage. When user applications want to display object backing data, Phonograph is queried and the applications display the results.
When a backing datasource is initially added to an object type or link type, the datasource must be registered in Phonograph. Data must be registered in Phonograph before it can be queried by or displayed in user applications.
The Phonograph section of the Datasources tab of an object type or link type displays whether or not the backing datasources are successfully registered in Phonograph. If an object type or link type’s backing datasources have not been successfully registered in Phonograph, a “not registered” red label will appear next to the object type or link type’s display name on the home page and in search results.
Unregistering an object type or link type’s backing datasource prevents its data from appearing in user applications and also removes the history of user data edits (stored in Phonograph). To read more about the potentially destructive changes that may be caused by unregistering a backing datasource from Phonograph, as well as actions in the Ontology Manager that require unregistering, see the documentation on potential breaking changes. The Ontology Manager will always warn you if your changes have potentially destructive impact on edit histories or user applications.
When updates are made to data in the backing datasource or when schema changes are made to the definition of an object type or link type, a sync will begin that reindexes the updated data into Phonograph. Once this sync, often referred to as a reindex, is complete, the updated data and schema will appear in user applications.
The Phonograph section of the Datasources tab of an object type or link type displays the status of the last reindex to be started. The status can be success
, in progress
, or failed
. If the last reindex of the backing datasources of an object type or link type has failed, a “failed” red label will appear next to the object type or link type’s display name on the home page and in search results.
You can hover over or select the last sync for more details, including why a sync may have failed.
In incremental indexing, only new data updates are indexed. Object Storage V1 (Phonograph) indexes new datasource transactions incrementally only if the datasource transaction type is APPEND or UPDATE. For SNAPSHOT transactions, OSv1 always triggers batch indexing (in which all object instances are reindexed).