Re: some PITR performance data with DBT-2 - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: some PITR performance data with DBT-2
Date
Msg-id NOEFLCFHBPDAFHEIPGBOGEIPCEAA.simon@2ndquadrant.com
Whole thread Raw
In response to some PITR performance data with DBT-2  (Mark Wong <markw@osdl.org>)
Responses Re: some PITR performance data with DBT-2
List pgsql-hackers
>Mark Wong wrote
> Hi Simon,
>
> Sorry it has taken so long.  Among other things, I doubled the controllers
> and drives on the system I was testing this on.  But now I have some data
> against PostgreSQL-8.0beta2.
>

Thanks very much.

> Here is the test run with archiving enabled:
>     http://www.osdl.org/projects/dbt2dev/results/dev4-010/158/
>
> Here is the test run with archiving disabled:
>     http://www.osdl.org/projects/dbt2dev/results/dev4-010/159/
>

> The overall throughput difference between the two runs with archiving
> enabled/disabled was within 1%.
>

Excellent. I hoped it was that low - my target was < 5%.

Stats check out with no wierdness in the results. TGFT.

Also, I notice the tpm figures have gone up some more - have you got new
hardware, or has the PostgreSQL setup been tuned more? Or can it be that
rel8.0 really is that much faster??

> Here is sar/iostat/vmstat and oprofile data during the first hour of
> recovery.  Total recovery time took about 6.5 hours:
>     http://www.developer.osdl.org/markw/pitr/
>

That's bad news. My own recovery performance estimates would lead me to hope
that its possible to get the recovery to be quicker than the processes that
wrote the logs, even on a very quick 4 CPU system. I'd be hoping for ~1
hour, or at least <= 4 hours.

> I ran the test over a duration of 3 hours (including a 2 hour rampup of
> the driver), as opposed to the 6 hours you originally requested.  I
> hope that is ok.
>
> System details, which you may be interested in:
>
> 4 x 1.5 GHz Itanium 2
> 16GB RAM
> 6 x Compaq Computer Corporation Smart Array 64xx
> 6 x 14 disk 15K RPM drives (split bus)
>
> The database and archive directory were put onto a single LVM volume
> across all 84 drives.
>
> Let me know if I left anything out.
>

First off, thank you again.

I've had a look at all the results, but I found a few things:

- couldnt find postgresql.conf or recovery.conf anywhere, so not sure what
OS command you are using
- log files were very large indeed due to the SPI error messages, so I
haven't been able to download those properly for analysis - any chance you
could grep out the SPI stuff, so I can see the archive and restore commands?

Stats I'd be interested in for analysing recovery performance would be:
- how many log files in total were archived/restored
- where were they archived to
- what was the archive/recovery command?

Best Regards, Simon Riggs



pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: 'TID index'
Next
From: Joe Conway
Date:
Subject: Re: x86_64 configure problem