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
Data20Valuestable, 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
| Criteria | Optimization | Correlation Builder |
|---|---|---|
| Purpose | Cleans up unnecessary records in Data20Values. | Generates correlation data for efficient filtering and searching. |
| Affected Tables | Data20, Data20Values | Correlation 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). |
| Impact | Faster loading times, reduced storage usage. | Enables filtering, quick search, and catalog exports. |
| Dependencies | None – can run independently. | Must be executed after every data import or modification. |
Summary of Execution Order
- Import or modify data (e.g., add new pumps).
- Run the Correlation Builder → Generates necessary correlation data for filters and searches.
- Run optimization (optional but recommended) → Cleans up the database for better performance.
Key Takeaway:
- If the Correlation Builder is not executed, filters, 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
Feedback sent
We appreciate your effort and will try to fix the article