From: Joel Fradkin <jfradkin@wazagua.com>
To: PostgreSQL Perform <pgsql-performance@postgresql.org>
Subject: performance on a querry with many group by's any way to speed it up?
Date: Fri, 20 May 2005 15:47:21 -0400
Message-ID: <005c01c55d74$bcd0b0b0$797ba8c0@jfradkin> (raw)
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.
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: jfradkin@wazagua.com
Subject: Re: performance on a querry with many group by's any way to speed it up?
In-Reply-To: <005c01c55d74$bcd0b0b0$797ba8c0@jfradkin>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox