Some filters cannot be updated in real time. In this case, you will see a notification saying: The filter you have built has been running for a long time. Try creating a scheduled segment.Documentation Index
Fetch the complete documentation index at: https://help.maestra.io/llms.txt
Use this file to discover all available pages before exploring further.
Here’s what you can do to simplify a filter.
If you need to search for customers with orders, try following these steps: go to Database → Customers, click Add condition and go to Actions → Customer action → Orders and Product lists → Order → Additional information → First action information instead of selecting Add condition → Actions → Customer action → Orders and products → Order → Order first action:.png?fit=max&auto=format&n=8PKiDbR3rMJsCzSE&q=85&s=7a8b3b45f641fd33dc8cba5f9a7d4431)

| Before | After |
|---|---|
A search by quantity is more complex than the At least one condition. Therefore, try using the At least one condition instead of Set quantity → From 1:


| Before | After |
|---|---|
If you’re creating a filter for orders with specific product categories and it’s taking a while to load, try creating a Scheduled or Static segment for these products and add it to your filter:


| Before | After |
|---|---|
You can also speed up your search for balance updates: add your conditions for the bonus points account, the action template, and / or the period of a relevant update. You can specify the balance update actions by its name or category:


| Before | After |
|---|---|
If you need a search for orders placed during a specific timeframe in the Actions tab, go to Database → Actions, click Add condition → Orders and products → Order → Order item → Order → Additional information → First action information:


| Before | After |
|---|---|
If your filter for actions cannot be created and you cannot simplify it, try filtering using a Scheduled segment for customers with the actions from the initial filter:


| Before | After |
|---|---|
If a segment cannot be calculated and your filter has multiple conditions, try to determine if there are any particularly difficult ones that may be slowing things down. To do this, apply your conditions one by one:

Reasons why a filter cannot be calculated
Whether a filter can be calculated or not depends on the three factors:- filter conditions;
- the amount of data that fits these conditions;
- the database workload volume at the time when you’re creating the filter.
- Filter conditions


What happens if you choose not to delete your data?In this case, please keep in mind that your filters may work slower. Some of them will no longer be updated in real time and you will have to replace them with Scheduled segments.