Change
Remove type-instance from associations
Issue description
In a store of 1 mio topics there is 1 mio associations and 2 mio roles which are hardly ever used. Consider removing the persisting of the type instance association.
Developer comments
The system should keep its current behavior with a few minor technical changes under the hood, but it should be possible to process topic maps with %instance_of% at the %topic%. Initially %instance_of% should be added when reading, this will make it easier for the JavaScript components to determine the type of a topic. Later it should be also possible to use it for writing.
Plan to adjust the table structure:
* Create a unique constraint on (type, instance).
* Drop the foreign key constraint on association_id.
* Rename association_id to id, set autoincrement to max.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.