Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: asynch I/O
Mladen,
I don't know enough yet, but last Wednesday night when I was pulled into the before-mentioned situation, performance was horrible and I/O was high. When the VP-IT said they were on NetApps, I felt I instantly knew what was wrong, but I've learned to keep my mouth shut until I have facts. James Herriott wrote that "veterinary practice gives one ample opportunity to make a complete ass of oneself", and I've found the same to be true in this line of work.
So, later that night, they migrated the 150Gb database and all binaries from one filer (an F900?) to the other (an F960?) overnight. NetApps ponied up the new filer -- said they didn't want to be blamed.
For the new filer, they made the following configuration changes:
...I'm not quite sure that I got all of that right, but that's the basic gist...
Of course, as always, people treat the volume of I/O coming from an Oracle database as an unchanging monolithic thing, and they always think the best thing is to make the cost per I/O better. That's OK, if you're made of money...
As Anjo advises in his YAPP reports from www.oraperf.com, tuning I/O means tuning the volume of I/O as well as tuning the cost per I/O. The NetApps folks already had a plan to reduce the cost per I/O before I was even called, so I've kept my mouth shut and pursued tuning the volume of I/O.
Anyway, performance was many-fold better after the changes. My standard query on ALL_INDEXES and ALL_IND_COLUMNS to find indexes belonging to a table took 22 mins on Wednesday night, but only the normal 60-90 seconds the following afternoon. When I/O is sick, the entire system sneezes.
The other side of what they did is snapshots. They take snapshots four times per day and replicate them to another filer to backup to tape. I think they only backup one of those snapshots per day. I would prefer to use RMAN and can't see any way to use it here, but I'm not about to delve into that right now. My job is tuning, not kibitzing on backups.
So, Dick's comments about how WAFL works and how snapshots impact space utilization on the filer triggered some things. Like why take four snapshots per day when you're only backing off one set to tape...?
Anyway, I'll work with these folks some more during next week; they still haven't implemented any of my recommendations (i.e. adding function-based indices, applying tuning patches, purging workflow, changing some custom code and using histograms, etc). I plan to really mess up NetApp's neat little 16-part picture of this system's I/O by making large chunks of it disappear. But that's OK -- they'll just have to adjust again.
So, administratively, I'm not quite sure what really works yet, but I'm watching and (hopefully) learning...
-Tim
on 9/20/03 2:44 PM, Mladen Gogala at mgogala_at_adelphia.net wrote:
> Can you be a little more specific? What kind of administration would you > recommend? > > On 2003.09.20 17:14, Tim Gorman wrote: >> Dick, >> >> With all due respect, I'd like to interject. Due to the many levels of >> abstraction imposed by the various RAID schemes, volume managers, dynamic >> multi-pathing, file-systems, and databases, my eyes tend to cross whenever >> someone starts talking about the movements of the disk heads, rotational >> latency, and so forth. The perception of "contiguousness" in a file-system >> or database datafile on a modern server in relation to disk surfaces is >> purely illusory. >> >> It is somewhat akin to the idea that every US dollar bill is backed by a >> sliver from a gold bar deep in the bowels of Ft Knox -- the facts are much >> more complex, by design. >> >> Your other comments about WAFL's side-effects are interesting and >> thought-provoking. It's been a few years since I've worked on NetApp and >> just this week I was called in to help improve performance on a large Oracle >> environment over NetApp. At this point, I'm glad that I had not blurted out >> my long-standing misgivings about the product, as it seems that its ability >> to support higher volumes of I/O from Oracle has improved. It just requires >> different methods of administration and configuration. It's not your >> grandfather's file-system, that's for sure... >> >> Respectfully, >> >> -Tim >> >> >> on 9/19/03 9:34 AM, Goulet, Dick at DGoulet_at_vicr.com wrote: >>
>> does
>> you
>> head
>> WAFL
>> that
>> those
>> 1GB
>> the
>> that
>> the
>> run >> a
>> needs >>>> 50MB of additional disk space to place all of those 'updated' blocks of >> data
>> 50MB
>> up >> a
>> database
>> bingo
>> servicing
>> does
>> on
>> is
>>>> -----Original Message----- >>>> From: ml-errors_at_fatcity.com [mailto:ml-errors_at_fatcity.com] On >>>> Behalf Of Tanel Poder >>>> Sent: Friday, September 19, 2003 3:25 AM >>>> To: Multiple recipients of list ORACLE-L >>>> Subject: Re: asynch I/O >>>> >>>> >>>> Hi! >>>> >>>> You can have spread your datafiles in 1, 2, 3,4 ..100 >>>> different directories or mount points, but the performance >>>> remain the same for all of them as long as all the mount >>>> points are striped on the same disks. >>>> >>>> If you think of mount points as different sets of disks, e.g. >>>> when adding a new mount point, you add more disks, then yes, >>>> IO performance will improve, because larger number of disks. >>>> >>>> Tanel. >>>> >>>> >>>> ----- Original Message ----- >>>> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com> >>>> Sent: Friday, September 19, 2003 5:09 AM >>>> >>>> >>>>> Could you clarify something for me? Are you saying that if I have a >>>> variety >>>>> of 'mounts' on our netapp >>>>> >>>>> say >>>>> >>>>> /mnt1 >>>>> /mnt2 >>>>> >>>>> I would not benefit by putting my datafiles on seperate ones? I >>>>> thought >>>> that >>>>> is where my I/O waits are coming from. Since we have all of our >>>>> datafiles >>>> in >>>>> the same directory? >>>>> >>>>> -- >>>>> Please see the official ORACLE-L FAQ: http://www.orafaq.net >>>>> -- >>>>> Author: Ryan >>>>> INET: rgaffuri_at_cox.net >>>>> >>>>> Fat City Network Services -- 858-538-5051 http://www.fatcity.com >>>>> San Diego, California -- Mailing list and web >>>> hosting services >>>>> >>>> --------------------------------------------------------------------- >>>>> To REMOVE yourself from this mailing list, send an E-Mail message >>>>> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in >>>>> the message BODY, include a line containing: UNSUB ORACLE-L (or the >>>>> name of mailing list you want to be removed from). You may >>>> also send >>>>> the HELP command for other information (like subscribing). >>>>> >>>> >>>> >>>> -- >>>> Please see the official ORACLE-L FAQ: http://www.orafaq.net >>>> -- >>>> Author: Tanel Poder >>>> INET: tanel.poder.003_at_mail.ee >>>> >>>> Fat City Network Services -- 858-538-5051 http://www.fatcity.com >>>> San Diego, California -- Mailing list and web hosting services >>>> --------------------------------------------------------------------- >>>> To REMOVE yourself from this mailing list, send an E-Mail message >>>> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') >>>> and in the message BODY, include a line containing: UNSUB >>>> ORACLE-L (or the name of mailing list you want to be removed >>>> from). You may also send the HELP command for other >>>> information (like subscribing). >>>> >> >> -- >> Please see the official ORACLE-L FAQ: http://www.orafaq.net >> -- >> Author: Tim Gorman >> INET: tim_at_sagelogix.com >> >> Fat City Network Services -- 858-538-5051 http://www.fatcity.com >> San Diego, California -- Mailing list and web hosting services >> --------------------------------------------------------------------- >> To REMOVE yourself from this mailing list, send an E-Mail message >> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in >> the message BODY, include a line containing: UNSUB ORACLE-L >> (or the name of mailing list you want to be removed from). You may >> also send the HELP command for other information (like subscribing). >> > > -- > Mladen Gogala > Oracle DBA
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tim Gorman INET: tim_at_sagelogix.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Sat Sep 20 2003 - 23:19:39 CDT