Servoy generates queries to retrieve aggregations from a given table anytime you create a related foundset on that table. This happens whether you refer to the related foundset strictly in your code (eg. var fs = record.relation) or in a portal or a related tabpanel. It does this so that the aggregations are available as soon as the foundset it created. Makes sense.
Often there are situations where I am creating lot of related foundsets and I don't need the aggregations, and so performance is being compromised with no real gain for my users.
Would Servoy consider adding an option to the relation editor called 'skip aggregations'?
Obviously you'd have to think about what to do if a user tries to refer to an aggregation via a relation where they said 'skip aggreagations' but that doesn't seem like a huge problem.
Wondering what others think of this idea.