I have to find all items in Sitecore (or rather, in the contents) that have a certain OMS (marketing suite) profile checked in the \"Tracking\" attribute. The Tracking attribute
If you use query or iterate descendants, avoid starting the query from / if possible - start from the equivalent of /sitecore/content/someitem.
Another approach is to use a Lucene or other search index. See the Sitecore reference for more info.