This section discusses tuning features related to dimensions and dimension values.

You should only enable a dimension for dynamic statistics if you intend to use the statistics in your Guided Search-enabled Web application. Because the Dgraph performs additional computation for the statistics, there is a performance cost to enabling statistics that your application does not use.

Using dynamic refinement ranking can greatly speed up refinement computation by displaying only the top refinements for a dimension, rather than computing the exhaustive list of refinements.

To decide whether or not dynamic refinement count statistics are likely to be appropriate for a project, consider the following aspects of your configuration:

As a simple rule, add up the counts for all of the refinements on the page. The performance impact of record count statistics grows proportionally with that sum over all refinements. All of the above considerations are aspects of the application that can make that sum larger, and increase your performance slowdown related to record counts.

You can speed up computation of dynamic statistics for refinements by doing the following:

Performance impact from displaying disabled refinements falls into three categories. They are discussed in the order of importance.


Copyright © Legal Notices