From: Joel Fradkin <jfradkin@wazagua.com>
To: 'Alvaro Herrera' <alvherre@dcc.uchile.cl>
Cc: 'Andreas Pflug' <pgadmin@pse-consulting.de>
Cc: 'Dave Page' <dpage@vale-housing.co.uk>
Cc: pgsql-performance@postgresql.org
Cc: ac@wazagua.com
Cc: 'Joshua D. Drake' <jd@commandprompt.com>
Cc: wheyliger@wazagua.com
Cc: 'Steve Hatt' <shatt@wazagua.com>
Subject: Re: Joel's Performance Issues WAS : Opteron vs Xeon
Date: Fri, 22 Apr 2005 17:04:19 -0400
Message-ID: <000001c5477e$da38e3e0$797ba8c0@jfradkin> (raw)
In-Reply-To: <20050422183054.GB14419@dcc.uchile.cl>
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[@]dcc.uchile.cl>)
"Use it up, wear it out, make it do, or do without"
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, alvherre@dcc.uchile.cl, pgadmin@pse-consulting.de, dpage@vale-housing.co.uk, ac@wazagua.com, jd@commandprompt.com, wheyliger@wazagua.com, shatt@wazagua.com
Subject: Re: Joel's Performance Issues WAS : Opteron vs Xeon
In-Reply-To: <000001c5477e$da38e3e0$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