Symptom
- Users get the following message when opening optimized story:
- "We are optimizing the story so that it will load and open more quickly in the future".
- Because of this message, the load time for opening the story might taking longer.
Environment
SAP Analytics Cloud All Versions
Reproducing the Issue
- Log on to SAC.
- Open optimized story.
- Notice the message shows.
Cause
- This is an expected behavior.
- With the Optimized Experience, instead of spending the first few seconds of story opening to generate all the queries, we use Persisted Query Information. The Persisted Query Information is created and stored for the first page within the story when a story designer saves a story in the Optimized Experience. It is also supported in View Time when a Viewer creates a Bookmark with a Default Page.
- Persisted Query Information allows the data related queries to be sent to the backend (sever) as early as possible on story open. It allows the client in parallel to the sever processing the queries to focus on rendering visualizations and rendering other components within a dashboard.
Resolution
- When a story has been edited, story definition is changed, therefore a persisted cache is also regenerated with it in parallel so this could cause an expected longer loading time the first time you open the story.
- The purpose for this so that the next time the story opens, it will open more quickly.
- Persisted Query Information can become invalidated once the data model structure changes (i.e. Add / Remove Dimension, Add / Remove Measure, and so on). Within this scenario, Viewers will take a one-time performance hit where the Persisted Query Information is regenerated on Story Open. It is recommended for this scenario that a Story Designer re-saves the story as it will re-generate the Persisted Query Information for all Viewers.
See Also
- KBA 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- KBA 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- KBA 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- SAP Analytics Cloud Connection Guide
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support
Your feedback is important to help us improve our knowledge base.
Keywords
first time load, seconds, time, story, SAC, optimized, taking longer, performance, expected, behavior
, KBA , LOD-ANA-DES , Story Design & Visualizations , LOD-ANA-DES-COR , SAC Core story functionality - widgets, geo, design, etc , LOD-ANA-LDC , SAC Live Data Connection , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public