Query taking long time on MVs [message #537543] |
Thu, 29 December 2011 04:08 |
ind9
Messages: 65 Registered: January 2009
|
Member |
|
|
Dear All,
Let me take this opportunity to say Happy new year in advance to all...
I have an issue in materailized view which has got one of the nullable column and query on this column taking approximately 2 mins where as other indexed columns takes less than 10 sec.
Here is the summary
SQL> Select Count (1), Count (VAT_NO) From Mv_customer;
COUNT(1) COUNT(VAT_NO)
---------------------------------
2893561 1516
If an index is created on VAT_NO will that improve the performance. If so please suggest what kind of index can be created considering very less number of records has got VAT_NO
Thank you in advance to all.
BR, Ind
|
|
|
|
|
|
|