From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | Tomka Gergely <tomka(at)zeus(dot)gau(dot)hu>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
Cc: | Bill Moran <wmoran(at)potentialtech(dot)com>, <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Tests |
Date: | 2003-08-23 00:00:17 |
Message-ID: | 200308221700.17201.josh@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Tomka,
Since this didn't post last time:
Another good test to do would be one that measures simultaenous steaming
read-write. For example:
create table_a, with at least 10,000 records, where field1 is the PK and
field2 is a text field.
create table_b, with 500,000 or more records, where field2 is an FK to
table_a, and field_3 is a text field.
do the following:
UPDATE table_b SET field3 = field3 || 'something'
WHERE EXISTS (select field1 FROM table_a
where table_a.field1 = table_b.field2
AND table_a.field_2 = 'x')
For the test to be most effective, the condition above should affect about
100,000 records of table_a, and the records should not be contiguos on disk.
Further, tablea.field2 should not be indexed in order to force a disk scan.
Also another test I'd really like to see is hardware raid (Adaptec, LSI)
against Linux software raid, and 5-disk RAID 5 against 4-disk RAID 1+0.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Tomka Gergely | 2003-08-23 05:20:01 | Re: Tests |
Previous Message | Bill Moran | 2003-08-22 23:55:26 | Re: Tests |