Showing results for 
Show  only  | Search instead for 
Did you mean: 

How does "equals", "contains", "matches", etc, work behind the scenes.


Due to concerns about possible DT server performance impact of setting up measures that use these built in conditions, how do these conditions work behind the scenes? Is it a regex, or something else? If regex, can we see the regex's being used?

@Cesar Quintana @Cesar Quintana


These string matching operators (equals, starts, etc.) are not implemented with regexes but with efficient string matching functions. I recommend to use simple string matching operators instead of regex whenever possible as that will perform better. Regex evaluation can be quite expensive in terms of server CPU usage. Starting with 6.2, the server log will contain statistics about the most expensive regular expressions and the strings they are matched against.

Perfect. Thank you!