Hi folks,
We have a table called content in our teradata db. This table is heavily accessed (+300.000 queries per day) because an internet utility uses it to search for holiday content. During the day, when our website isn't used much, the queries run very fast. But during peak hours (8 pm to 10.30 pm) it takes much MUCH longer to finish the queries... (about 30 times longer)
I've entered some of the most common queries in the teradata index wizard to analyze, and it came back with some recommodations. After validating these, Index wizards reports an performance increase of 84%!
Nice, right? Well, after creating the indexes on the content table, and entering a query in visual explain shows that the index is NOT used, thus no improvement is had in those queries!
Why is the index skipped if such a huge improvement lies within reach? Could someone please help me with this? Am I doing something wrong here? Or any other suggestions to speed the table/queries up a bit?
Thanks...
We have a table called content in our teradata db. This table is heavily accessed (+300.000 queries per day) because an internet utility uses it to search for holiday content. During the day, when our website isn't used much, the queries run very fast. But during peak hours (8 pm to 10.30 pm) it takes much MUCH longer to finish the queries... (about 30 times longer)
I've entered some of the most common queries in the teradata index wizard to analyze, and it came back with some recommodations. After validating these, Index wizards reports an performance increase of 84%!
Nice, right? Well, after creating the indexes on the content table, and entering a query in visual explain shows that the index is NOT used, thus no improvement is had in those queries!
Why is the index skipped if such a huge improvement lies within reach? Could someone please help me with this? Am I doing something wrong here? Or any other suggestions to speed the table/queries up a bit?
Thanks...