Server: escape profiling queries