From: | Jordan Tomkinson <jordan(at)moodle(dot)com> |
---|---|
To: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: High cpu usage after many inserts |
Date: | 2009-02-23 08:29:57 |
Message-ID: | 6de2f13b0902230029k12c6290audd4fb74db862f44a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Feb 23, 2009 at 5:20 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>wrote:
> On Mon, Feb 23, 2009 at 12:42 AM, Jordan Tomkinson <jordan(at)moodle(dot)com>
> wrote:
> >
> >
> > On Mon, Feb 23, 2009 at 4:29 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
> > wrote:
> >>
> >> Oh yeah, what OS is this? Version and all that.
> >
> > I should probably clarify that the high cpu only exists while the jmeter
> > tests are running, once the tests are finished the cpu returns to 0%
> (this
> > isnt a production server yet, so no other queries other than my tests)
> > I have not yet tried other SQL queries to see if they are affected, i
> > suspect it may only be related to the two forum tables the test focuses
> on
> > but I may be incorrect - the database is filling up with data again now
> so I
> > can test this tomorrow.
>
> Sorry, I had gotten the impression the CPU usage continued after the
> test. That it's 100% during the test is quite understandable. So
> does it start lower than 4x100% Then climb during the tests? Is the
> throughput dropping off over time?
>
As per the spreadsheet (
http://spreadsheets.google.com/pub?key=pu_k0R6vNvOVP26TRZdtdYw) CPU usage is
around 50% and starts climbing over 3 hours until we have just under 10,000
rows of data then stays at 99% for the duration of all future tests.
Once the rows are removed the tests start back down at 50% usage again.
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2009-02-23 08:44:04 | Re: problems with win32 enterprisedb 8.3.6 ssl=on |
Previous Message | Scott Marlowe | 2009-02-23 08:20:29 | Re: High cpu usage after many inserts |