Search code examples
sap-commerce-cloudbackoffice

What is the use of “create essential data” in system update via hac in SAP HYBIRS?


While system update from hac, we have three options

  1. Update running system
  2. Create essential data
  3. localised type

Can anyone please explain what’s the use of all these three fields and why do we prefer unchecking “create essential data” most of the times?


Solution

  • A couple of links related to what essential data is:

    What do those 3 items do:

    1. Update DB schema + type meta data in the DB for this Hybris environment
    2. Load/reload the configured essential/core data sets into the DB
    3. Load localisation file contents into the DB: localisation for types/attributes for example

    In my view the essential/core data should always be safe to load during a system update, including in production. It is intended to be items that are essential for correct operation of the system & should not vary.

    If there are items in the essential data that are being updated at runtime & essential data overwrites that - you either have incorrectly assigned some imports to essential data (instead of project/sample data), or you have somebody doing runtime stuff that they should not. Data that is intended for runtime maintenance should be in project/sampledata (which can be viewed as a starting point data set for the lower environments such as dev) - these data sets generally should not be run during an update, especially in production.