During reading the data of mass-balance readings, all connected elevation-bands are read as well and added to the according mass-balance object.
Some glaciers (e.g. Clariden) have a lot of mass-balance readings and elevation-bands.
The performance of the process has to be improved. Possible approaches:
- Good design of the database indexes (foreign keys and primary keys of the elevation bands). This would be the best approach. Has to be tested first.
- Lazy loading (only loading elevation bands if needed)
- Additional parameter (telling the DataReader if elevation-bands have to be read as well)