Best Practices and Troubleshooting When Working with Versions
Although planning on private versions isn’t restricted, you might want to consider other ways to better control the performance for these versions. To start, consider the model design, so that the versions of the model are smaller - understand the requirement, plan it, then build it. Some best practice tips for optimizing version size include:
Use a planning area. If public version sizes cannot be reduced, it is strongly recommended to use a planning area for public edit versions. We cover planning areas in a separate lesson, but to put it simply, planning areas can be configured to reduce version size by only putting the data in the planning area into edit mode, reducing memory usage.
Create a performance parameter. Configure a private version performance parameter. The default parameter is 5 million database records but this can be changed to meet your needs. If you create a data snapshot that exceeds the configured parameter, for example, while creating a private version or starting to edit a public version, then you are notified. We cover this setting in the lesson on planning areas.
Set filters before copying. To reduce the size of the version, create a private version with appropriate filters before you copy the data. Working with this type of private version results in noticeable performance gains when entering new data as only a subset of data is copied, resulting in very noticeable performance gains when entering new data. The more discriminating these filters are, the better!
Use separate versions for process steps. Use smaller, separate versions for your planning topics, for example cost center and profitability planning. Instead of executing all planning steps of a planning topic in one large version, use separate versions for optimistic and pessimistic planning, before copying to your final version that best represents your planned year.
Plan better data actions. Rethink data action designs so that the data actions create fewer records. We cover optimizing data actions later in this course.
Define read data access control on the model. This ensures that non-admin planners will create private versions or edit public versions with a configured restricted data snapshot. The more restrictive a user’s data access, the better the performance since the query output will only return data that a user is allowed to view or edit. Use Read data access control and locking features to restrict data regions. Only use Write on dimensions when it's really needed and choose Read and Write wisely on large versions (for example, actuals) to fewer users.
For more information on data access control, see the Securing Data in SAP Analytics Cloud unit in the Managing Security and Administration in SAP Analytics Cloud learning journey.