crs-tools / tracker

CRS Ticket Tracker
Apache License 2.0
18 stars 11 forks source link

create database fields from must-have properties #115

Open a-tze opened 9 years ago

a-tze commented 9 years ago

Issue migrated from trac ticket # 115

component: database | priority: major | keywords: database, refactoring

2015-10-04 13:27:19: @a-tze created the issue


Following properties should be (re-)introduced as real database fields:

This will add complexity to the application, because these need to be remapped into Properties here and there, but the framework for that is already there, because it is already done. The gain will be performance (should be tested before).

Another alternative to the remapping of properties, maybe including virtual properties: store them duplicated in database and sync with triggers. Property changes are rare, but the mentioned fields are read very often, and often used for JOINS.