Constraint Handling

Previous Next

The Rules Engine has a number of internal optimization strategies that are used to handle constraints as quickly as possible. You can further optimize this process by adding specifications based on your knowledge of the application.

The most important thing is to minimize constraint handling. If you know that the Rules Engine handles a constraint unnecessarily, there are a number of things you can do to skip this constraint evaluation. To a lesser degree, you may be able to optimize by having the Rules Engine evaluate constraints in a particular order.

This section covers the background information on constraint handling that you need before you can apply this kind of optimization.

Related Topics

Row Checks

Constraint Tests

Tables in Constraints

Update On Self Constraints

Reparations

Constraint Evaluation Order at Record Validation Time

Constraint Evaluation Order: Summary

Pre-Conditions and Post-Conditions

Driving Tables

Constraint Key Query

Multi-Record Constraint Handling