RES: RES: RES: [PERFORM] Improving select peformance

2007-08-04 Thread Carlos H. Reimer
.filpgt = vencodpgt.filpgt) AND (ven.codpgt = vencodpgt.codpgt)) Total runtime: 1317306.468 ms (43 rows) Reimer > -Mensagem original- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] nome de Tom Lane > Enviada em: quinta-feira, 2 de agosto de 2007 23:13 > Para: [EMA

Re: RES: RES: [PERFORM] Improving select peformance

2007-08-02 Thread Tom Lane
"Carlos H. Reimer" <[EMAIL PROTECTED]> writes: > In this case, I believe the best choice to improve the performance of this > particular SQL statement is adding the 'set join_collapse_limit = 1;' just > before the join statement, correct? That's a mighty blunt instrument. The real problem with yo

RES: RES: [PERFORM] Improving select peformance

2007-08-02 Thread Carlos H. Reimer
rmance@postgresql.org > Assunto: RES: RES: [PERFORM] Improving select peformance > > > Yes, but as the change did not alter the response time I used the original > view. > > Anyway here are the response times using the changed view (without the > concatena

RES: RES: [PERFORM] Improving select peformance

2007-08-01 Thread Carlos H. Reimer
x27;::bpchar) -> Seq Scan on tt_pla vencodpgt (cost=0.00..2.18 rows=18 width=24) (actual time=0.002..0.017 rows=18 loops=256) Total runtime: 9546.971 ms (46 rows) > -Mensagem original- > De: Alvaro Herrera [mailto:[EMAIL PROTECTED] > Enviada em: quarta-feira, 1 de ag

Re: RES: [PERFORM] Improving select peformance

2007-08-01 Thread Alvaro Herrera
Carlos H. Reimer wrote: > Hi, > > I have changed the view to eliminate the bizarre concatenation conditions > but even so the response time did not change. Are you sure you did that? In the EXPLAIN it's still possible to see them, for example >-> Nested Loop (cost=1.34..3409.0

RES: [PERFORM] Improving select peformance

2007-08-01 Thread Carlos H. Reimer
, but can this solution be considered or the problem is in another place? Thank you in advance! Reimer > -Mensagem original- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] nome de Tom Lane > Enviada em: quinta-feira, 19 de julho de 2007 22:31 > Para: [EMAIL PROTEC

Re: [PERFORM] Improving select peformance

2007-07-19 Thread Tom Lane
"Carlos H. Reimer" <[EMAIL PROTECTED]> writes: > One of our end users was complaining about a report that was taking too much > time to execute and I´ve discovered that the following SQL statement was the > responsible for it. Here's part of the problem: >Join Filter:

[PERFORM] Improving select peformance

2007-07-19 Thread Carlos H. Reimer
Hi, One of our end users was complaining about a report that was taking too much time to execute and I´ve discovered that the following SQL statement was the responsible for it. I would appreciate any suggestions to improve performance of it. Thank you very much in advance!