performance on a querry with many group by's any way to speed it up?

From: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
To: "PostgreSQL Perform" <pgsql-performance(at)postgresql(dot)org>
Subject: performance on a querry with many group by's any way to speed it up?
Date: 2005-05-20 19:47:21
Message-ID: 005c01c55d74$bcd0b0b0$797ba8c0@jfradkin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(at)wazagua(dot)com
www.wazagua.com
Powered by Wazagua
Providing you with the latest Web-based technology & advanced tools.
C 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.

Browse pgsql-performance by date

  From Date Subject
Next Message Joel Fradkin 2005-05-20 19:58:29 cant seem to post the explain
Previous Message Christopher Kings-Lynne 2005-05-20 01:45:42 Re: Optimizing for writes. Data integrity not critical