Re: Joel's Performance Issues WAS : Opteron vs Xeon

From: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
To: "'Alvaro Herrera'" <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: "'Andreas Pflug'" <pgadmin(at)pse-consulting(dot)de>, "'Dave Page'" <dpage(at)vale-housing(dot)co(dot)uk>, <pgsql-performance(at)postgresql(dot)org>, <ac(at)wazagua(dot)com>, "'Joshua D(dot) Drake'" <jd(at)commandprompt(dot)com>, <wheyliger(at)wazagua(dot)com>, "'Steve Hatt'" <shatt(at)wazagua(dot)com>
Subject: Re: Joel's Performance Issues WAS : Opteron vs Xeon
Date: 2005-04-22 21:04:19
Message-ID: 000001c5477e$da38e3e0$797ba8c0@jfradkin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

One further question is: is this really a meaningful test? I mean, in
production are you going to query 300000 rows regularly?

It is a query snippet if you will as the view I posted for audit and case
where tables are joined are more likely to be ran.

Josh and I worked over this until we got explain analyze on the linux box to
1 sec. I was just using this as a test as I don't have my views set up on
MYSQL.

So many of my reports pull huge data sets (comprised of normalized joins).
I am thinking I probably have to modify to using an non normalized table,
and Josh is sending me information on using cursors instead of selects.

And is the system always going to be used by only one user?
No we have 400+ concurrent users

I guess the question is if this big select is representative of the load you
expect in production.
Yes we see many time on the two processor box running MSSQL large return
sets using 100%cpu for 5-30 seconds.

What happens if you execute the query more times? Do the times stay the
same as the second run?
I will definitely have to pressure testing prior to going live in
production. I have not done concurrent tests as honestly single user tests
are failing, so multiple user testing is not something I need yet.

Joel

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"Use it up, wear it out, make it do, or do without"

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Anjan Dave 2005-04-22 21:50:29 Updating table, precautions?
Previous Message Mischa Sandberg 2005-04-22 20:53:50 Re: Joel's Performance Issues WAS : Opteron vs Xeon