Subject Re: Query is running slowly for the first time.
Author un_spoken
Thank you Svein for the tip. I would consider to use those aggregate tables if both execution times of the same query would be close to equal. But as you saw, the second query is executing more than 10 times faster so I guess it is a matter of some memory adjustments?

I will provide all the info that Tomas required so maybe you will have better idea about my environment.

Regards.