> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UnresolvableQueryPerformance validation rule

> Identifies views with query performance issues that cannot be resolved by adding or removing requires constraints. Requires restructuring to fix.

This rule detects views where no valid requires constraint solution exists:

1. **View maps only to CDF built-in containers**:
   Since CDF containers cannot be modified, no requires can be added.

2. **No valid solution**:
   This view is causing issues when optimizing requires constraints
   for other views, due to its structure (mapping non-overlapping containers)

## Why it matters

These views will have suboptimal query performance that cannot be fixed by
adding or removing requires constraints. The only solutions require restructuring:

* Add a view-specific container that requires all the other containers in the view
* Restructure the view to use different containers

## Example

View `MultipleEquipments` maps only to containers `Valve` and `InstrumentEquipment`.
The optimal constraints are `Valve → CogniteEquipment` and `InstrumentEquipment → CogniteEquipment`
due to other views needing these constraints to optimize their query performance.
This means however, that neither `Valve` nor `InstrumentEquipment` can reach each other without
creating complex ingestion dependencies. The view needs a new container or restructuring.

## Further reading

* [Validation rules](/cdf/deploy/neat/validation/index)
