Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: T3's, NetApps, Tuning, Wife's Opinion and other fun
Some questions and a couple of comments regarding Dave's note:
Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com
Upcoming events:
- Hotsos Clinic, Oct 1-3 San Francisco, Oct 15-17 Dallas, Dec 9-11
Honolulu
- 2003 Hotsos Symposium on OracleR System Performance, Feb 9-12 Dallas
-----Original Message-----
Morgan
Sent: Monday, August 12, 2002 9:53 PM
To: Multiple recipients of list ORACLE-L
Hi All,
Well after 6 wekks of testing here is the basic way to operate SUN T3's as efficiently as possible. Be prepared for arguments with High priests from the cult ofSAME.
SUN T3's are fiber attached hardware RAID 5 arrays with a "modern cache". The hardware engineers argue that if you need more I/Os/sec just add another array as a "concatenated volume". The theory being the hardware is intelligent enough to use the cache to increase throughput. It actually works as they claim. Never did explain why it wasn't a single point of failure in the end though. My hardware was 3 4810's, each with 4 - 8 cpus, each with 4 - 8GB, 2 - 4 bricks per machine First insist that multiple bricks be mounted on at least 2 mount points. (D2 and D3). DO NOT USE the forcedirectio option. I don't know why but I have been unable to take less than a 40% throughput hit with it turned on. And I don't care what other people say, no matter how much respect I have for them Insist on at least one JBOD for oracle binaries and configs Insist on at least one JBOD for redo logs (D1) This a bare minimum. One set of redo on D1 One set of redo on D2 Archive logs, Rollback and Temp on D3 All data files where needed on D2 Next Level up Add another JBOD for redo and move redo on to it Move Rollback and Temp to D2 At this point to get more throughput you have to take the JBOD to raw devices. Or try forcedirectio on these devices :) If even better performance is needed, more JBOD, for rollback and redo. If more disk spaces is needed, get another brick. Which leads me to the recent discussion on "proper way to tune" Huh????? Why make it so complex?
Tuning from a blue collar DBA perspective:
Assess the machine first
No matter what your ratios or what your waiting for:
sar to see if the machine is ever pinned vmstat to see your queues and paging iostat to see disk activity top at timed intervals to catch rogue jobs read your logs and config files Then talk to the users Is the "system slow" or is it specific jobs?" log on run ratio reports and query v$system_event Any ratio that is out of range needs to be tuned: Especially disk sorts to memory sorts For the infamous buffer cache ratio: < 10% throw memory at it > 97% take memory away
For wait states here's a quick drive through for those who look at the number and say "Yeah but what do they mean"
Time Wait Total Time
Average
Event # Waits Timeout In Hndrds Time -------------------------- --------- ------- ---------------------- SQL*Net more data to client ######### 0 680421 .005 SQL*Net message to client ######### 0 17590 0.000 SQL*Net message from client ######### 0 395339970335.511
db file sequential read 39562523 0 12300885 .311
rdbms ipc message 12440441 ####### 2774129387222.993
db file scattered read 12264223 0 6202885 .506
log file parallel write 4724477 67 2212249 .468 log file sequential read 2097709 0 1712615 .816
buffer busy waits 1548548 0 408235 .264
control file parallel write 669234 0 376491 .563 pmon timer 662092 662074 203382329307.181
direct path read 573442 0 423920 .739
log file sync 551716 15 459036 .832
db file parallel write 201166 0 6107933.036
undo segment extension 100516 100507 270.000
SQL*Net break/reset to client 92904 0 9522 .102
LGWR wait for redo copy 92844 7 736 .008
file open 76910 0 1874 .024
direct path write 69706 0 140859620.208
SQL*Net message to dblink 48680 0 7 0.000 SQL*Net message from dblink 48680 0 1084142.227
control file sequential read 45198 0 31664 .701 latch free 44849 30305 28693 .640
enqueue 19946 19380 5973595299.488
And the more you study your database the more you will understand of the above :)
After you are aware of your systems problems, fix your config files and file positions and then chase down SQL issues.
>From your users, capture the SQL run explain plan Run top, catch processes that use a full cpu for more than 30 seconds Capture the sql, run explain plan
I have always ogled women. When I got married, (well started going out) I explained to my wife that I was making sure I had the best.
But really, she's a good wife,
I'm even allowed to have opinions. If she approves of them I'm allowed
to have them :)
The digest hit 983K on Friday, if I'm kind, 100K was content.
>From the titles I see that there were
performance problems with partitioned tables and bitmap indices?
I can't help those who won't help themselves. And I don't receive HTML email.
TTFN Off to figure out the relationship between multiblock_read_count and those index_optimizer thingies
Dave
-- Dave Morgan dvmrgn_at_telusplanet.net 403 399 2442 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Dave Morgan INET: dvmrgn_at_telusplanet.net Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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.com -- Author: Cary Millsap INET: cary.millsap_at_hotsos.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Tue Aug 13 2002 - 11:54:06 CDT
![]() |
![]() |