Ultra slow query execution and high cpu consumption

Hi Joe,
Thanks for your response. The problem I have is that for some variables, which are dependent on the result of another query, I do not get a result. Thus, I have to search for tag = ‘’, which turns out to be ultra slow as well. I understand that the regular expression I used before tag =~ // prompts a search for all tags, but unfortunately, both queries are slow and almost bring down the DB.

Do you have a suggestion how I could overcome this problem?

Thanks, Flavio