Optimization in Spaix 6 – Purpose and Execution

Created by Katrin Hillemann, Modified on Fri, 6 Feb at 10:12 AM by Katrin Hillemann

1. What is the optimization used for?

The optimization function is designed to clean up unnecessary data records in the database and improve performance by:

  • Reducing redundant entries in the Data20Values table, which in older versions were created for all filterable object properties – even those irrelevant for hydraulic selection.
  • Shortening loading timeswhen opening:
    • Hydraulic selection
    • Direct product selection
  • Speeding up hydraulic searches by processing fewer data records.

2. When should optimization be executed?

  • After upgrading from an older Spaix version (e.g., from V5 to V6), as the data structure has changed.
  • If performance issues occur, such as:
    • Slow application startup.
    • Delayed filter or search responses.
  • After major data changes, e.g., after importing new pumps or series.
  • The optimisation must also be performed when creating a new forward limit so that the associated values are written to Data20Values.
  • Recommended: Regularly (e.g., monthly) to keep the database efficient.

3. Difference Between Optimization and Correlation Builder

CriteriaOptimizationCorrelation Builder
PurposeCleans up unnecessary records in Data20Values.Generates correlation data for efficient filtering and searching.
Affected TablesData20Data20ValuesCorrelation tables (e.g., for ForwardLimits, Quick Search).
When to Execute?After upgrades, if performance issues arise.Always after data changes (e.g., after importing new pumps).
ImpactFaster loading times, reduced storage usage.Enables filtering, quick search, and catalog exports.
DependenciesNone – can run independently.Must be executed after every data import or modification.

Summary of Execution Order

  1. Import or modify data (e.g., add new pumps).
  2. Run the Correlation Builder → Generates necessary correlation data for filters and searches.
  3. Run optimization (optional but recommended) → Cleans up the database for better performance.

Key Takeaway:

  • If the Correlation Builder is not executedfilters, quick searches, and catalog exports will not work correctly.
  • Optimization is a maintenance step that improves speed but is not mandatory for functionality.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article