Hierarchies and their feeding at start-up
What is hierarchy feeding?
Upon launching an application, many queries are generated and executed on the external database, with most of them related to feeding hierarchies. For each hierarchy, the feeding is required to retrieve the list of members. This list of members is used notably:- for some Copper measures (such as Lead or Lag)
- in the filter widget of the UI, for the user to select which members to use in the filter
- to complete the result of a query with missing member for an MDX query without “NON EMPTY”
Why can it be slow?
Performance issues can arise from:- Such a query would scan the entire table, and can be slow if the table is large.
- A project with hundreds or more hierarchies generates as many queries upon start-up, potentially overwhelming the external database.