Data Model Optimization

If a Nectari view is running with an unacceptable time response given the data volume, the first thing to do is to determine whether the view is based on a data model or a cube. In the case of a cube, see the next subsection. If it is a data model, do the following:

  1. Use the log to see and copy the SQL Query of the data model. (Refer to Nectari Logs to determine where the log file is located.)
  2. Paste and run the query in a standard SQL client (e.g. SQL Server Management Studio) directly on the server.
  3. Analyze the query to determine ways to optimize it, such as adding useful indexes to the database.
    Note

    You should use caution when adding indexes to a Sage ERP SQL Server Database as they might get deleted during upgrades if you did not use a specific Sage ERP tool to add them.