Improving Performance by Adjusting a Metric
-
- Example: You notice that a certain metric is causing slow queries. After analyzing it, you realize it’s overly complex or includes unnecessary transformations. You decide to rewrite it in a more optimized way within the semantic layer to improve performance while keeping the results intact.
- Steps to solve:
- Go to the relevant metric
- Click "Modify" → "Edit base query SQL"
- Optimize the base query SQL to improve performance and simplicity
- Save your changes
- Once all changes have been made, click "Submit changes". Jedify will notify you when the new entity is ready for review.
- Review the new metric: Make sure that the change was successfully implemented, and that all related attributes and dimensions have been updated correspondingly. Then, approve or decline changes.
- Verify the new metric: Ask Jedify questions about the edited metric to make sure it successfully uses the new SQL syntax and logic.
- Ready to go live? Click ‘Verify’ to publish.
-
Updated about 1 month ago