Re: Optimal Postgres setup with 6 disks total (including OS)
-----BEGIN PGP SIGNED MESSAGE-----
On 06/12/2006, at 10:39 PM, Craig Sanders wrote:
for testing, stick in a smallish boot drive (whatever you have spare)
and install debian on it. then reconfigure the raid disks in various
ways (and formatted using various filesystems - ext3, xfs, reiser,
whatever) and run bonnie++ on it each time.
Bonnie is great for testing throughput but not really a great test for
should take about a day or so to run all the tests....but well
Actually - to run proper tests will probably take much longer - but
it is definitely worth it.
for a long-lived server, this is pretty much the only way to guarantee
getting the best performance. in theory, raid 1+0 should beat raid 5,
but practice has a way of trumping theory every time.
RAID 1+0 is great if you have a lot of data which needs to be
table scans) but for Random access, it is not really better than a well
implemented Raid 1.
You will probably find that you are better off running two raid 1s
your data across multiple disks than you are running one raid 1+0.
You may also want to look at putting your indexes on different
physical disks as well.
We are currently 4x raid 1s for data, 1x raid 1 for indexes and 1x
raid 1 for the xlog.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
-----END PGP SIGNATURE-----