Thread: performance on a querry with many group by's any way to speed it up?
explain analyze SELECT audit , store , question , month , year , week , weekday , myaudittotalscore , active , auditnum , answer , quarter , y_n , region , district , audittype , status , keyedby , questiondisplay , qtext , qdescr , answerdisplay , answertext , customauditnum , dateaudittaken , datecompleted , dateauditkeyed , datekeyingcomplete , section , createdby , division , auditscoredesc , locationnum , text_response , Sum(questionpointsavailable) , Sum(pointsscored)
from viwAuditCube where clientnum ='RSI'
GROUP BY audit, store, question, month, year, week, weekday, myaudittotalscore, active, auditnum, answer, quarter, y_n, region, district, audittype, status, keyedby, questiondisplay, qtext, qdescr, answerdisplay, answertext, customauditnum, dateaudittaken, datecompleted, dateauditkeyed, datekeyingcomplete, section, createdby, division, auditscoredesc, locationnum, text_response ORDER BY audit, store, question, month, year, week, weekday, myaudittotalscore, active, auditnum, answer, quarter, y_n, region, district, audittype, status, keyedby, questiondisplay, qtext, qdescr, answerdisplay, answertext, customauditnum, dateaudittaken, datecompleted, dateauditkeyed, datekeyingcomplete, section, createdby, division, auditscoredesc, locationnum, text_response
Joel Fradkin
Wazagua, Inc.
2520 Trailmate Dr
Sarasota, Florida 34243
Tel. 941-753-7111 ext 305
jfradkin@wazagua.com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
© 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc
This email message is for the use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message, including attachments.