Netservers
1753730 Members
4726 Online
108799 Solutions
New Discussion юеВ

Re: RAID performance with Oracle DB

 
JimM_2
Occasional Contributor

RAID performance with Oracle DB

I'm using Oracle 8.1.6.3 on Windows2000Pro SP4.
I have a DB that's about 15GB. I have just restored the database to a fresh install on my LH 3 (2x400PII, 512MB, 8-10KRPM, 18.2GB drives in RAID5). I restored it from my laptop (P4-3.06GHz, 1GBRAM, 60GB, 5400 RPM). If I do a select count(*) on a 4.5 million record table on each machine, I get the following results.
Laptop - 10 Sec.
Netserver - ~45 Sec.
What could be causing the huge difference in DB response. I'm assuming it's a drive IO issue.
6 REPLIES 6
Hari Kumar
Trusted Contributor

Re: RAID performance with Oracle DB

Your Laptop Configurations are HiFi to the Netserver you have in terms of Processor Speed and RAM.The processor speed and Ram are of very great configurations when compared to Netservers.So we can expect the difference in DB response.
Information is Wealth ; Knowledge is Power
JimM_2
Occasional Contributor

Re: RAID performance with Oracle DB

The HDD on my laptop is a single 5400 rpm drive. The Array on the LH3 consists of eight 10K RPM, 18.2GB drives. The integrated NetRAID controller is set to Ultra-2. I can't expect to get better performance? Which would improve performance more? A pair of 600MHz PIIIs or a Gig of RAM?
The Processors in th LH3 only show about 25-30% untilization running the query.
Hari Kumar
Trusted Contributor

Re: RAID performance with Oracle DB

Here One thing i want specify is RAID5 is the BEST in fault tolerance but PERFORMANE is a issue with it and we need plan carefully to span files accross different i/o and mirroring(control files, log files e.t.c ) to make I/O overheads limit.It gives better performance from cache and we must accept its performance at first read from disks.
A well approved writeup on keeping to RAID5
Please go thru this ----------

RAID Performance Trade-offs
Conventional RAID demands a performance versus efficiency trade-off. This trade-off is
rooted in RAID Level 5, the most frequently implemented and commercially successful
variant of RAID. RAID 5 makes efficient use of disk space but often uses four distinct
write operations to put data onto disk. This is referred to as the ├в RAID 5 Write Penalty.├в
This penalty consumes resources and impedes overall application performance.
A technique called the Block Pooling is used to avoid the RAID 5 Write Penalty. The
Block Pool is reserved space on disks that functions as ├в virtual cache├в for disk write
processes. When data is to be written to RAID 5 disk, the RAID 5 Write Penalty is
avoided by first writing that data to the Block Pool using swifter RAID 0+1. Then in a
background process, relocates the data from the Block Pool to disk using the more space
efficient RAID 5. The Block Pool eliminates performance-robbing ├в backpressure├в on the
application from sluggish RAID 5 disk write operations. Figure 3 shows the interaction of
Concatenated Writes, Write Back Cache and the Bloc
Information is Wealth ; Knowledge is Power
Hari Kumar
Trusted Contributor

Re: RAID performance with Oracle DB

Sorry the message could not be displayed properly.
Please find the attachment.
Hope that helps you.
Revert,
Thanks,
Information is Wealth ; Knowledge is Power
Hari Kumar
Trusted Contributor

Re: RAID performance with Oracle DB

Hey,
Have been to the document ? Its provided by HP !
Information is Wealth ; Knowledge is Power
Sachin_16
Regular Advisor

Re: RAID performance with Oracle DB

Jim,

A pair of 600Mhz will give you better performance. You might also want to consider if you have ReadAhead/Normal settings in Netraid, cachedio,writeback/thru. what are you OS drives running on Software Raid/Hardware Raid, Is the Data on different Raid adapter/array.
Your laptop is definitely better in terms of processor speed. And it is running of only one single drive with no parity,unlike your server which has parity in disks plus it is flowing thru netraid adapter memory.
your laptop would have ddr memory which is faster than normal sdram memory.