Your SlideShare is downloading. ×
Itpub电子杂志(第一期)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Itpub电子杂志(第一期)

2,930
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,930
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. ITPUB µç×ÓÔÓÖ¾ ·âÃæ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 2. ITPUB µç×ÓÔÓÖ¾ Ŀ¼ Ä¿ ¼ ¿ª¾íÊ×Óï Êý¾Ý¿â¹ÜÀí 2GB ÎÊÌâ The Oracle DBA’ Guide to NT s ÔÚ Oracle ÖÐÔËÐÐ ÃüÁî OS Oracle DBA ÈÕ³£¹ÜÀí Êý¾Ý¿â¿ª·¢ ¹ØÓÚracle Öдó¶ÔÏó O (lob)´¦ÀíµÄһЩ·½·¨ºÍʵÀý Developer2000 ϵÁн²×ùÒ» ²é¿´±í½á¹¹µÄ script ORACLE ÈÏÖ¤ OCP ²»ÍêÈ«Ö¸ÄÏ LZ0-024 ¿¼µã×ܽá ÆóÒµÐÅÏ¢»¯ ÖÐСÆóÒµÈçºÎÑ¡Ôñ MRP ϵͳ CRM µÄºËÐÄ¡¢Ó¦ÓÃÖص㼰·Ö²¼ÊµÊ©²½Öè Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ ÂÛ̳¾« »ª ÖÆ×÷ÈËÔ± HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 3. ITPUB µç×ÓÔÓÖ¾ ¿ª¾íÊ×Óï 1 ¿ª¾íÊ×Óï ÎÒÃÇÒ»Ö±Ôڳɳ¤ ¡-¡- ±¾¿¯ËùÓÐÎÄÕ°æȨ¹é×÷ÕßËùÓУ¬ÈçÓÐתÔØ£¬ÇëÓë webmaster@itpub.net ÁªÏµ£¬¶àл֧³Ö£¬Ò»Æð±£ »¤ÎÒÃǵÄÀͶ¯³É¹û ¡£ >> 2001 ITPUB µ®Éú 2001 ÄêÊÇ´´ÊÀ¼ÍµÄÒ»Äê¡£ 2001 ÄêÊÇÖйúÈËÑïüÍÂÆøµÄÒ»Ä꣬ WTO£¬°ÂÔ˻ᣬÊÀ½ç±-ΧÈÆ×ÅÎÒÃÇ¡£ÎÒÃǸе½ÎÞ± µÄÐÒ¸£¡£ 2001 ÄêÓÖÊÇÐÁËáµÄÒ»Ä꣬°éËæ×Å IT 911£¬ÕûÌåÏÝÈëÁË»¬Æ¡£ 2001 ÄêÔÚttp://www.smiling.com.cn£¬µ®ÉúÒ»¸öС×éÃû×ÖÊÇ h oracle¡£ 2001 Äê Ô£¬ 10 oracle С×é°á¼Ò£¬È«Ð嵀 ITPUB µ®Éú¡£ >> ¾ö ÐÄ ITPUB Á¢Ö¾³ÉΪ IT ¼¼ÊõÖÐÐĽ»Á÷ÉçÇø¡£ ITPUB ¼á³Ö×ÔÓÉƽµÈ¿ª·ÅµÄ¾«Éñ£¬ÕâÀïÈÝÄÉÒ»ÇжԼ¼ÊõµÄ²»Í¬µÄ¼û½â£¬ÕâÀ ±ðÈ˵ÄÈκθöÐÔ£¬Ä¿µÄÖ»ÓÐÒ»¸ö£¬Ï£ÍûÎÒÃǶ¼ÄÜÔÚ ITPUB Öн»Á÷£¬Ñ§Ï°ºÍ½ø²½¡£ >> Õ¹ Íû 2002 ÄêÊÇ ITPUB ¹Ø¼üµÄÒ»Ä꣬ÎÒÃǽ«×¥ºÃÒÔϼ¸¼þÊ £º 1£©ÂÛ̳µÄÎȶ¨ÐÔ 2£©µç×ÓÔÓÖ¾µÄÎȶ¨·¢ÐÐ 3£©Õë¶ÔÐÂÊÖÍƳöһЩÁÐÀ¸Ä¿£¬»î¶¯¡£ 4£©ÍƳö¼¸ÆÚÖØÁ¿¼¶µÄ¼Î±öÁÄÌì 5£©… … … … >> ×£ ¸£ 2001 Äê²»¹ÜËüÔõôÑù£¬¹ýÈ¥µÄ¾ÍÈÃËû¹ýÈ¥°É¡£ 2002 Äê¶Ô ÎÒÃÇÓÖÊÇÒ»¸öеÄÒ»Äê¡£ ÖÔÐĵÄ×£¸£´ó¼Ò¹¤×÷˳Àû£¬Ñ§Ï°½ø²½£¬Éú»îÐÒ¸£ ,ÉíÌ彡¿µ¡£ 2002 Äê ITPUB ÐèÒª´ó¼Ò¸ü¶àºÇ»¤ÓëÖ§³Ö£¬ÇëÏàÐÅÎÒÃÇ£¬ÎÒÃÇÒ»Ö±¶¼ÔÚ http://www.itpub.net HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 4. ITPUB µç×ÓÔÓÖ¾ 2GB ÎÊÌâ 2GB ÎÊÌâ ----2Gb or NOT 2Gb-File limits in ORACLE ±¾ÎÄÃèÊö "2GB"µÄÎÊÌâ¡£Ëü²ûÊöÁËΪʲô 2GB ÊÇÒ»¸ö¹Ø¼üÊý×Ö²¢ÇÒ¸ø³öÁËÈç¹ûÎļþ´óÓÚ 2GB ʱһЩÄãÐèÒªÖªµÀµÄ¶«Î÷¡£ ±¾ÎÄÖ÷Òª²ûÊöÔÚ Unix ϵͳÉ쵀 ÎÊÌâ¡£ 2GB ÌÖÂÛµÄÖ÷Ì⣺ Ϊʲô ÊÇÒ»¸öÌرðµÄÊý×Ö 2GB ΪʲôʹÓõÄÊý¾ÝÎļþ 2GB Export ºÍ2GB SQL*Loader ºÍ2GB ORACLE ºÍÆäËû ÎÊÌâ 2GB ÆäËû Ϊʲô ÊÇÒ»¸öÌØÊâµÄÊý×Ö 2GB Ðí¶àPU ºÍϵͳµ÷ÓÃ½Ó¿Ú 32 λµÄ×Ö£¨ © ¸ö λ¾ÍÔÚÐí¶àϵͳÉÏ´ø C (API)ʹÓà word£ ¡£Õâ 32 À´ÁËÏÞÖÆ¡£ÔÚÐí¶àÇé¿öÏ£¬±ê×¼Îļþ²Ù×÷µÄ word À´Ö¸¶¨Îļþ´óСºÍ API ʹÓÃ2 λÓзûºÅ 3 ÔÚÎļþÖеÄÏà¶ÔλÖá£ÓзûºÅµÄ 32 λword ʹÓÃ×î¸ßλΪ·ûºÅ룬Òò´Ë 31 λËùÄܱíʾµÄ×î ´óÖµ¾ÍÊÇ 0x7FFFFFFF£¨ +2147483647£© £¬±ÈGB С 2 1¡£ 2GB »ò´óÓÚ µÄÎļþͳ³Æ¡°´óÎļþ¡ λ»·¾³ÖоͻáÓöµ½Ðí¶àÎÊÌ⡣ΪÁË 2GB ± 32 ¡£ËùÒÔÔÚ ¿Ë·þÕâЩÎÊÌ⣬ÏÖÔڵIJÙ×÷ϵͳ´ó¶àʹÓà 64 붨ÒåÁËеÄϵͳµ÷Óá£Ð°汾µÄ ORACLE ʹÓÃÁËÕâЩ½Ó¿Úµ«ÊÇÔÚ´¦Àí¡°´óÎļþ¡±Ê±»¹ÊÇÓÐÐí¶àÎÊÌâÊÇÐèҪעÒâµÄ¡£ ÁíÒ»¸ö±È½ÏÌØÊâµÄ Êý×ÖÊÇ 4GB£¬0xFFFFFFFF ×÷ΪÎÞ·ûºÅ×ÖËùÄܱíʾµÄ×î´óÖµ¾ÍÊÇ 4294967295£¬±ÈGB ÉÙ 4 1¡£¼Ó ÔòÔì³ÉµÍ 1 32 λ±äΪ 0x00000000 ºÍÒ»¸ö½ø룬ÔÚ 32 λ ÌåϵÖÐÕâ¸ö½øλ»á±»¶ªµô£¬Òò´Ë 4GB ÊÇÁíÒ»¸ö¿ÉÄܻᷢÉúÎÊÌâµÄÊý×Ö¡£ 32 λӰÏì×Å ORACLE µÄÐí¶à·½Ã档ΪÁËʹÓôóÎļþ£¬ÄãÐèÒª£º 1.²Ù×÷ϵͳ֧³Ö 2GB+µÄÎļþ»òÂãÉ豸 2.²Ù×÷ϵͳ¾ßÓÐÖ§³Ö²Ù×÷ IO µÄ 2GB+Îļþ API 3.ORACLE ʹÓÃÕâЩ API Õâ¶Ô RACLE Òâζ×Åʲô£¿ O ÏÖ½ñ£¬´ó¶àÊýƽ̨֧³Ö´óÎļþ²¢ÇÒÓÐ 64 λµÄ API¡£´Ó ORACLE 7.3 ¿ªÊ¼Í¨³£¾ÍʹÓÃÕâ ЩAPI ÁË£¬µ«ÊÇÕâÒÀÀµÓÚƽ̨¡¢²Ù×÷ϵͳºÍ ORACLE µÄ°æ±¾¡£ÔÚ¶àÊýÇé¿öÏ´óÎļþÖ§³ÖÊÇ ¿ÉÐеģ¬µ«ÔÚijЩÇé¿öÏÂÐèÒªÒ»¸öרÃÅµÄ patch¡£ÔÚ±¾ÎÄд×÷ʱ£¬ÔÚ Öл¹ÓÐһЩ ORACLE ¹¤¾ßûÓÐʹÓÃÕâЩÐ嵀 64 λAPI£¬±ÈÈç export£¬ SQL*LOADER£¬µ±È»ÕâÊÇÒÀÀµÓÚƽ̨µÄ¾ß Ìå²Ù×÷ϵͳÊý¾Ý¿â°æ±¾µÄ¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 5. ITPUB µç×ÓÔÓÖ¾ 2GB ÎÊÌâ 2GB+µÄÊý¾ÝÎļþ ΪʲôʹÓà /É豸×÷Ϊ ORACLE µÄÊý¾ÝÎļþµÄºÃ´¦ºÍȱµã£º ÕâÀïÎÒÃÇ×ܽá³öʹÓôóÎļþ ºÃ´¦£º ÔÚ´ó¶àÊýƽ̨ÉÏ£¬ ×î´óÖ§³Ö ¸öÊý¾ÝÎļþ¡£Ã¿¸öÎÄ 2GB£¬ÄÇ ORACLE7 1022 ¼þÈç¹ûСÓÚ Êý¾Ý¿â×î´óÒ²³¬²»¹ý£¨ÔÚ RACLE8 ÉÏÕâ²»ÊÇÎÊÌ⣬ Ö§³Öÿ¸ö±í¿Õ¼ä 2044GB¡ £ O ORACLE8 1022 ¸öÎļþ£ ©¡£´óÎļþµÄʹÓÿÉÒÔÍ»ÆÆ 2044GB µÄÏÞÖÆ¡£ ¶ÔÏà¶ÔСµÄÊý¾Ý¿âÀ´½²£¬´óÎļþÒâζןüÉÙµÄÎļþ¡£Ò²¾ÍÒâζ׎ÏÉÙµÄÎ ×ÊÔ´¡£ ȱµã£º »Ö¸´µÄµ¥Î»¸ü´ó¡£Ò»¸ö 2GB µÄÎļþÐèÒª 15 ·ÖÖÓµ½Ò»¸öСʱµÄ±¸·Ý /»Ö¸´Ê±¼ä£¨ÒÀÀµÓÚ ±¸·Ý½éÖʺʹÅÅÌËٶȣ µÄÎļþÐèÒª´Ëʱ¼äµÄ 8GB © ¡£Ò»¸ö 4 ±¶¡£ ²¢Ðб¸·Ý /»Ö¸´²Ù×÷»áÊÜÓ°Ïì¡£¿ÉÄÜÓвÙ×÷ϵͳÌØÊâµÄÏÞÖÆ£º±ÈÈç´óÓÚ 2GB µÄ²¿·Ö£¬Ò² ÐíÒì²½ Ö»ÄÜ´®ÐÐ IO (serialised)²Ù×÷ÁË¡£ ²Ù×÷´óÓÚ µÄÎļþÒ²ÐíÐèÒª²¹¶¡£¨ 2GB patch£ ©£¬ÌØÊâµÄÅäÖõȣ¬Ïà¶ÔСÎļþÀ´½²ÎÞÐÎÖÐ ÒýÈëÁËÐí¶à²»¿É²âÒòËØ£¬±ÈÈçÔÚһЩ AIX ÖС£ ʹÓôóÎļþʱÐèҪעÒâµÄ¼¸µã£º Ïò²Ù×÷ϵͳ³§ÉÌÈ·ÈÏÊÇ·ñÖ§³Ö´óÎļþ²¢ÇÒÈçºÎÅäÖÃËûÃÇ Ïò²Ù×÷ϵͳ³§ÉÌÈ·ÈÏ¿ÉÖ§³ÖµÄ×î´óʵ¼ÊÎļþ´óС ÏòORACLE Ö§³ÖÈ·ÈÏÊÇ·ñÐèÒª²¹¶¡»òÔÚÄãµÄƽ̨ÉÏ£¨Ó²¼þ¡¢²Ù×÷ϵͳ¡¢ ORACLE£© ÊÇ·ñÓÐʲôÏÞÖÆ µ±ÄãÉý¼¶²Ù×÷ϵͳ»ò ʱ£¬¼ì²éÒÔÉÏËùÌá¡£ ORACLE È·ÈÏÊÇ·ñÕýÈ·µÄÉèÖÃÁËϵͳ ÒÔÔÊÐíËùÓÐÓû§ÄÜʹÓôóÎļþ È·Èϱ¸·Ý½Å±¾ÄÜ´¦Àí´óÎļþ × ¢ Ò» ¹ Ó Ð Ò » ¸ ö Ê ¹ Ó Ã ´ ó Î Ä ¼ þ µ Ä Ï Þ Ö Æ ¡ £ Î Ä ¼ þ ´ ó Ð ¡ µ Ä ¾ ß Ì å Ê ý Ö µ Ò À À â DB_BLOCK_SIZE º Í Æ ½ Ì ¨ ¡ £ Ô Ú ´ ó ¶ à Ê ý Æ ½ Ì NT £¬ ¨ £ £ ¬ Î Ä ¼ þ ´ ó Ð ¡ Ï Þ Ö Æ Î ª Unix£¬ É Ï VMS © ¨ £ 4194302*DB_BLOCK_SIZE¡£ Çë²é¿´ [NOTE:112011.1]ÖеÄÏêϸ¼Ç¼ Alert Öصã×¢ÒâÊÂÏ µ±ÔÊÐíÎļþ×Ô¶¯Ôö³¤Ê±ÐèÒªÌرðСÐÄ¡£¶Ô AUTOEXTEND µÄÎļþÏÞÖÆ MAXSIZE СÓÚ 2GB ÊÇÃ÷Öǵġ£·ñÔò£¬ÓÉÓÚ [BUG:568232]£¬µ±ÎļþÔö³¤ ³¬¹ý ORACLE ²»ÄÜ´¦Àíʱ¿ÉÄÜ»á ³öÏÖ RA-600[3292]µÈ´íÎó¡£ O ´ó¶àÊýƽ̨ÉÏ ORACLE µÄÊý¾ÝÎļþ°üº¬Ò»¸öÌØÊâµÄÍ·Êý¾Ý¿é£¬ËùÒÔ´´½¨Ò»¸ö 2GB µÄ Îļþ£¬Êµ¼ÊÐèÒª´óÓÚ 2GB µÄ¿Õ¼ä¡£ÔÚ Æ½Ì¨ÉÏ£¬Õâ¸öÍ·´óСͨ³£ÊÇ Unix DB_BLOCK_SIZE£¬ µ«ÔÚÂãÉ豸ÉÏ¿ÉÄÜ»á¸ü´ó¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 6. ITPUB µç×ÓÔÓÖ¾ 2GB ÎÊÌâ 2GB µÄÏà¹Ø ORACLE ´íÎó£º ORA-01119 Error in creating datafile xxxx ORA-27044 unable to write header block of file SVR4 Error: 22: Invalid argument ORA-19502 write error on file 'filename', blockno x (blocksize=nn) ORA-27070 skgfdisp: async read/write failed ORA-02237 invalid file size KCF:write/open error dba=xxxxxx block=xxxx online=xxxx file=xxxxxxxx file limit exceed. Unix error 27, EFBIG Export and 2Gb 2Gb Export File Size ±¾ÎÄд×÷ʱ´ó¶àÊýµÄ export °æ±¾Ê¹ÓÃĬÈϵÄÎļþ´¦Àíexport Îļþ¡£ÕâÒâζ API À´´´½¨ ×ÅÔÚÏ൱¶àµÄƽ̨ÉÏ£¬²»Äܵ¼³ö´óÓÚ 2GB µÄÎļþ¡£ ÒÔÏÂÊÇһЩ¿Ë·þµÄ·½·¨£º ͨ³£¿ÉÒÔµ¼³ö´óÓÚ 2GB µÄÎļþµ½ÂãÉ豸ÉÏ¡£ ÔÚ Unix ÉÏ¿ÉÒÔʹÓÃÃüÃû¹ÜµÀÀ´Ñ¹Ëõ/·Ö¸îÎļþ ¿ÉÒÔµ¼³öµ½´ÅÅÌÉÏ ORACLE8i ÔÊÐíµ¼³öµ½¶à¸öÎļþ¶ø²»ÊÇÒ»¸ö´óµÄÎļþ £¨Ò룺·½·¨¿É²Î¿¼ÎÄÕ½áβ´¦²¹³ä£© ÆäËûµÄ µ¼³öÎÊÌâ 2GB ORACLE ×î´ó extent µÄ´óСΪ 2GB.²»ÐÒµÄÊÇÐí¶à·¢Ðа汾µÄ ORACLE ÖеÄexport ¶¼ÓÐÒ»¸öÎÊÌ⣬¾ÍÊǵ±Ö¸¶¨Ê±£¬¿ÉÄܵ¼³öµÄÎļþÖÐÆä compress=y Next ´æ´¢×Ó¾ä»á³öÏÖ´ó ÓÚ2GB µÄÇé¿ö¡£Õâ»áµ¼Ö¼´Ê¹Ö¸¶¨ÁËimport Ò²»á³ö´í¡£±¾ÎÊÌâ¿É²Î¼û ignore=y ʱ£¬ [BUG:708790]ºÍ [NOTE:62436.1] µäÐ굀 2GB+ʱexport ´íÎó£º . . exporting table BIGEXPORT EXP-00015: error on row 10660 of table BIGEXPORT, column MYCOL, datatype 96 EXP-00002: error in writing to export file EXP-00002: error in writing to export file EXP-00000: Export terminated unsuccessfully ÔÚ[BUG:185855]Öл¹Ìáµ½ÁËÒ»¸öÎÊÌ⣺µ±µ¼³öÈ«¿âʱ²úÉúµÄ create tablespace ÃüÁî»á ʹÓÃytes ×÷Ϊµ¥Î»¡£µ± ʱ£¬Éú³ÉµÄÊý¾ÝÎļþÈô´óÓÚ b import 2GB£¬¿ÉÄܵ¼Ö ora-2237 ´íÎó¡£ ½â¾ö°ì·¨ÊÇÏÈ´´½¨±í¿Õ¼ä ytes)£¬È»ºóµ¼ÈëÎÄ (Óà ´úÌæ M b ¼þ¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 7. ITPUB µç×ÓÔÓÖ¾ 2GB ÎÊÌâ µ¼³öµ½´Å´ø export ÖÐµÄ volsize ²ÎÊý×î´óµ½ 4GB.ÔÚһЩƽ̨ÉÏÖ»ÓÐ 2GB¡£ 8i ÖÐÒѾ-ÐÞ¸ÄÁ˱¾ÎÊÌâ¡£ [BUG:490190]ÃèÊöÁ˱¾ÎÊÌâ¡£ SQL*Loader and 2Gb µäÐ͵ģ¬µ±SQL*Loader ´ò¿ªÒ»¸ö´óÓÚ 2GB µÄÊäÈëÎļþʱ»á±¨ÈçÏ´íÎó£º SQL*Loader-500: Unable to open file (bigfile.dat) SVR4 Error: 79: Value too large for defined data type [NOTE:30528.1]ÖеÄÀý×Ó¿ÉÒÔÐ޸ĺóÓÃÓÚ´óµÄÊäÈëÎļþ¡£ ORACLE 8.0.6 Ìá¸ßÁ˶ԴóµÄ ºÍ ÎļþµÄÖ§³Ö¡£µ«×î´óµÄÊäÈëÎļþÒÀƽ̨²» discard log ͬ¶ø²»Í¬¡£ [BUG:948460]ÏêϸÃèÊöÁËÊäÈëÎļþµÄÏÞÖÆ¡£ [BUG:749600]½éÉÜÁË×î´óµÄ Îļþ´óС¡£ discard ORACLE ºÍÆäËû ÎÊÌâ 2GB ÏÂÃæÁгöÁËÆäËûµÄ 2GB ÎÊÌâ £-´Ó RACLE 8.0.5 ¿ªÊ¼¿ÉÒÔÔÚ´ó¶àÊýƽ̨ÉÏʹÓà 8.0.5 README Îļþ½é O 64 λORACLE ÉÜÁËÕâЩ¡£¼û [NOTE:62252.1] £- DBV Ò²Ðí²»ÄÜɨÃè´óÓÚ 2GB µÄÎļþ £¬²¢±¨¡° DBV-100¡±´í¡£¼û [BUG:710888] £-ÔÚ½¨Á¢´óÓÚ 2GB Îļþʱ£¬ ÃüÁî SQL datafile ... Size xxxxx ±ØÐëÓá® »ò¡®¯ M¡¯ K¡£¬·ñÔò ±¨´í¡® ORA-02237¡ºinvalid file size ¯£ £-ÔÚ RACLE 7.3.4 ֮ǰ±í¿Õ¼äµÄ ²»Äܳ¬¹ý O quotas 2GB¡£È磺 Eg£ºALTER USER <username> QUOTA 2500M ON <tablespacename> reports ORA-2187£ºinvalid quota specification¡£¼û [BUG:425831] ½â¾ö°ì·¨ÊǸ³Óè tablesapace ȨÏÞ¡£ unlimited £-ʹÓà spool ʱÈç¹û spool ³öµÄÎļþ³¬¹ý 2GB Ò²Ðí»á±¨´í¡£ ÆäËû ¾ßÌå¸÷ƽ̨ÉÏÎļþ´óСÏÞÖÆ Platform See ~~~~~~~~ ~~~ AIX (RS6000 / SP) [NOTE:60888.1] HP [NOTE:62407.1] Digital Unix [NOTE:62426.1] HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 8. ITPUB µç×ÓÔÓÖ¾ 2GB ÎÊÌâ Sequent PTX [NOTE:62415.1] Sun Solaris [NOTE:62409.1] Windows NT Maximum 4Gb files on FAT Theoretical 16Tb on NTFS ** See [NOTE:67421.1] before using large files on NT with ORACLE8 **2 There is a problem with DBVERIFY on 8.1.6 See [BUG:1372172] **3 There is a problem with 8.1.6 / 8.1.7 where an autoextend to 4Gb can cause a crash - see [BUG:1668488] ºó¼Ç ÕâƪÎÄÕÂÀ´×Ô £º metalink.ORACLE.com¡£±¾Ã»ÏëÈ«ÎÄ·-ÒëµÄ£¬ÒòΪÆäÖÐÐí¶àÏêϸµÄ½ Éܶ¼Òª²Î¿¼¸ÃÍøÕ¾ÉϵÄÐí¶àÆäËûÎÄÕ£-£-ÎÒÒ²ÖªµÀ¶ÁÕ߶Áµ½Ò»¸öÎÊÌ⣿ÉÓÖ ¬ ½â¾ö·½·¨»áºÜÄջ𣬵«ÎÞÂÛʱ¼ä¾«Á¦¶¼²»¿ÉÄÜÈÃÎÒÈ«²¿ÕÒÀ´£¬¶øÇÒËƺõҲû ±¾Îľ͵±Æð¸öÍ·°É¡£ ²¹³ä£º export ´óÎļþ¿ÉÒÔ²ÉÈ¡µÄ·½·¨£º 1. ÂãÉ豸 ±ÈÈçÖ±½Óµ¹³öµ½ /dev/rlvtest µÈ¡£ 2. ÃüÃû¹ÜµÀ Ï£© (Unix mknod /tmp/imp_pipe p compress < /tmp/exp_pipe > export.dmp.Z & exp file=/tmp/exp_pipe userid=xxx/xxx tables=... mknod /tmp/imp_pipe p uncompress < export.dmp.Z>/tmp/imp_pipe & imp file=/tmp/imp_pipe userid=xxx/xxx tables=... 3. ѹËõ/Îļþ²ð·Ö :(ÒÔÏÂÖ»ÔÚ ÖÐÓÐЧ£º ksh ) echo |exp file=>(compress | split -b 1024m - expdmp-) userid=xxx/xxx tables=... echo | imp file=<(cat expdmp- * |zcat) userid=xxx/xxx tables=... (ÏÂÃæÓÉ chao_ping ²¹³ä ) 4.¿ÉÒÔÖ±½Óµ¹³öµ½´Å´ø ±ÈÈçxp file=/dev/rmt0 .... e 5¡£¿ÉÒÔÔÚ ORACLE8i+°æ±¾ÀïÃ棬ͨ¹ýʹÓà file Ïà½áºÏ£¬µ¹³öÉú³É¶à¸öÎļþ¡£ filesize ºÍ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 9. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT The Oracle DBA’ Guide to NT s Windows NT ƽ̨ÕýÔÚѸËÙÕ¼ÁìÖеͶËÊг¡£¬Äã×¼±¸ºÃÁËÂ𣿠ÔÚOracle ×îÔçÔÚ Äê´úÖÐÆÚ½øÈëÊý¾Ý¿âÊг¡µÄʱºò£¬ 80 Oracle Ñ¡ÔñµÄÖ÷Ҫƽ̨¾ÍÊÇ Digital ¹«Ë¾µÄVAXСÐÍ»úϵͳ£ VAXÉÏÃæµÄ °æ±¾µÄ ¬ ÔÚ¿ª·¢Íê VMS Oracle ÒÔºó£ Oracle ¬ ÔÙ°Ñ ÒÆÖ²µ½±ðµÄƽ̨µÄ²Ù×÷ϵͳÉÏ£¬±ÈÈç DG-OS£¬ MVS£¬ Unix µÈ¡£Èç¹ûÄãÔÚ87 Äê×óÓҾͿªÊ¼ ʹÓà racle£¬ÏàÐÅÄãÄǸöʱºòÓõÄÓ¦¸ÃÊÇ O VMS ϵͳ¡£ ÔÚ Äê´úÍíÆÚ¿ªÊ¼£¬ 80 Oracle µÄÖ÷ÒªÊг¡×ªÏòÁË¿ª·Å Ô ÏµÍ³nix¡ Ú90 Äê´úÖÐÆÚµ½ÏÖÔÚ£¬ U £ ¾ø´ó¶àÊýµÄ ϵͳ¶¼ÔËÐÐÔÚ Oracle Unix ϵͳÉÏ£¬ºÜ¶à³ÌÐòÔ±¶¼²»µÃ²»¼èÄѵĴÓVMS תÏòµ½ Unix ƽ̨¡£ ʱ¼ä×ßÏòÁË Ä꣬ÎÒÃÇÖ𽥿´µ½ÁËÁíÍâÒ»¸ö·¢Õ¹·½Ïò£-ËäȻûÓÐÏòµ±Ê±´Ó 2000 VMS ת ÏòUnix ÄÇôÃ÷ÏÔ£ºËäÈ» Unix ÈÔȻռ¾Ýן߶ËÊг¡£¬µ«ÊÇÔ½À´Ô½¶àµÄÖеͶËÓû§¿ªÊ Windows ϵͳ¡£ÎÒÃDz»Ó¦¸ÃºöÊÓÕâ¸öÏÖÏóµÄ´æÔÚ£¬Ó¦¸Ã¿ªÊ¼½Ó´¥ºÍѧϰOracle ÔÚ Windows ƽ̨ÉϵĹÜÀí¡£ ÔÚÕâƪÎÄÕÂÀïÃæ£ÎÒÏò´ó¼Ò½éÉÜ Æ½Ì¨ºÍÔÚ ¬ Oracle ÔÚUnix Windows ƽ̨ÉÏÓÐÄÄЩÇø±ð£¬ ÒÔ¼°ÔÚ Windows ƽ̨ÉϹÜÀí µÄ³£¼ûÎÊÌâ¡£ÎÒÃÇÏ£Íû¶ÁÕßÓÐÒ»¶¨µÄ Oracle Unix ºÍWindows ²Ù×÷ϵͳ»ù´¡ÖªÊ¶¡£ Oracle ÔÚWindows ϵͳÉϵÄÌåϵ½á¹¹ Oracle Ò»Ö±¶ÔÊý¾Ý¿âµÄ¿ÉÒÆÖ²ÐԷdz£ÖØÊÓ£¬Êµ¼ÊÉÏËüҲȷʵ×öµÄ·Ç³£ºÃ¡£Ã Oracle ¶¼ÓÐÒ»ÖµIJÙ×÷·½·¨ºÍÌØÐÔ¡£ÔÚ¼¸ºõËùÓÐƽ̨ÉÏ£¬¶¼¿ÉÒÔ¿´µ½ Oracle µÄ´æÔÚ¡£ÔÚ¸÷ ¸ö²»Í¬µÄƽ̨ÉÏ£ÓWindows95 ÉϵÄracle£½ IBM µÄ Intel ¬ µÄ ´ O ¬ µ S/MVS ÉϵÄracle£¬ O Oracle ¶¼ÊÇͬÑùµÄÒ»Ì×ͨÓõÄÌåϵ½á¹¹£º ¡ñ Ò»¿é¹«¹²ÄÚ´æÇøÓò£¬³ÆΪ SGA¡£ÀïÃæ´æ·ÅÊý¾Ý¿é»º³å£¬ SQL »º³åÇø£¬×ֵ仺³åÇø £¬ ÖØ×öÈÕÖ¾»º³åÇøµÈ¡£Èç¹ûÅäÖÃ³É MTS ½á¹¹µÄ»°£¬»¹ÓлỰÐÅÏ¢¡£ ¡ñ һЩÊý¾Ý¿âºǫ́½ø³Ì£¬±ÈÈç pmon£¬smon£¬arc0 µÈ¡£Èç¹ûÓзֲ¼ dbwr£¬lgwr£¬ ʽҵÎñ£¬²¢ÐÐÊý¾Ý¿â£¬×÷Òµ¶ÓÁеȣ¬»¹ÓÐһЩ±ðµÄÏà¹ØµÄºǫ́½ø³Ì¡£ ¡ñ Oracle Êý¾Ý¿âÓÃÀ´´æ·Å±í£¬Ë÷Òý£¬»Ø¹ö¶ÎµÈÊý¾ÝµÄÊý¾ÝÎļþ¡£ ¡ñ ÖØ×öÈÕÖ¾Îļþ£¬¼Ç¼ÔÚʵÀýʧ°ÜµÄʱºò»Ø¹öËùÐèÒªµÄÐÅÏ¢¡£ ¡ñ һЩ Server ½ø³Ì£¬ÓÃÀ´·þÎñÀ´×Ô¿Í»§½ø³ÌµÄÇëÇó¡£Èç¹ûÅäÖóÉÁ˹²Ïí·þÎ ¾ÍÊÇispatcher£¨µ÷¶È½ø³Ì£©ºÍһЩ¹² ½ø³ÌΪ¿Í»§ÇëÇó·þÎñ¡£ D ÏíµÄerver S ¡ñ Ò»¸öistener£¬ÓÃÀ´¼àÌýÀ´×ÔÍⲿ¿Í»§»úµÄÇëÇó¡£ L Êý¾ÝÎļþºÍÈÕÖ¾ÎļþÒ»°ã¶¼ÊÇÓòÙ×÷ϵͳµÄÎļþϵͳÉϵÄÎļþ»òÕßÊ¹Ó ·ÖÇøÀ´ÊµÏÖ£¬ÔÚ²»Í¬²Ù×÷ϵͳ¶¼ÊÇÒ»ÑùµÄ¡£µ«ÊÇ Oracle µÄÄÚ´æ½á¹¹ºÍ½ø³Ì½á¹¹ÔÚ Windows ƽ̨ÉϺͱðµÄƽ̨ÓÐЩÇø±ð¡£ ÔÚUnix ÏÂÃ棬ÿ¸ö ½ø³Ì¶¼ÊÇÒ»¸öµ¥¶ÀµÄ Oracle Unix ½ø³Ì£¬°üÀ¨ ºǫ́½ø³ÌºÍ Oracle Oracle Server ½ø³Ì¡£ ´æÔÚÓÚ µÄ¹²ÏíÄÚ´æ¶ÎÀïÃæ¡£ SGA Unix HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 10. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT Unix ÏÂÃæ racle µÄÌåϵ½á¹¹ ÏÂÃæÕâ·ùͼ±íÏÖÁË O £º µ«ÊÇT ƽ̨É쵀 N Oracle ÓÐЩÇø±ð¡£ ³ä·ÖÀûÓÃÁË Oracle NT ¶ÔÏ̵߳ÄÁ¼ºÃÖ§³Ö¡£ÏÂÃæ µÄ¸½Í¼ 2 ÀÎÒÃÇ¿ÉÒԱȽÏһϠracle ºÍ É쵀 racle µÄÇø±ð£º Unix É쵀 O NT O ÔÚ¼¸ºõËùÓвÙ×÷ϵͳÀïÃ棬һ¸ö½ø³ÌÊDz»ÔÊÐí²Ù×÷±ðµÄ½ø³ÌµÄÄÚ´æ¿Õ¼äµÄ£ Unix Ï ÃæÒªÅäÖù²ÏíÄÚ´æ¡£µ«ÊÇÔÚ NT ÀïÃ棬ÒòΪÕû¸ö ¾ÍÊÇÒ»¸öµ¥¶ÀµÄ½ø³Ì£¬Ã¿¸ö Oracle Oracle µÄ½ø³ÌÔÚ¶¼±íÏÖΪ OS Oracle ½ø³ÌµÄỊ̈߳¬Òò´Ë²»Í¬Ïß³ÌÔÊÐí²Ù×÷¹²Í¬µÄÄÚ´æ¿Õ¼ä¡ ÔÚ Æ½Ì¨ÉÏ£¬Ã¿¸ö ʵÀý¶¼ÊÇÒ»¸ö NT Oracle NT ½ø³Ì¡£ÔÚÕâ¸ö½ø³ÇÀïÃ棬°üÀ¨ÁËËùÓÐµÄ Oracle ½ø³Ì£¬Ã¿¸ö ½ø³Ìʵ¼ÊÉÏÒÔÏ̵߳ÄÐÎʽ³öÏÖ¡£ Oracle NT ƽ̨É쵀 Oracle ²ÉÓÃT µÄ¶à¸öÏß³Ì N /Ò»¸ö½ø³ÌµØ·½Ê½À´ÊµÏÖ Oracle¡£µ«Êǵ¥¸ö½ø³ÌµÄ ģʽ¾ö¶¨ÁËÒ»¸öʵÀýÄܹ»Ê¹ÓÃÄÚ´æµÄÊýÁ¿¡£ÔÚ Oracle NT4.0 ÀïÃ棬ÿ¸ö½ø³ÌÄܹ»Ñ°Ö· 4GB µÄÐéÄâ¿Õ¼ä£¬µ«ÊÇÓÐ 2G ÊDZ£Áô×÷Ϊ²Ù×÷ϵͳԤÁôµÄ£¬ Oracle ×î¶àÒ²Ö»Äܹ»Ê¹Óà 2GB ÄÚ´æ¡£ Ò»ÑÛ¿´È¥£¬ 2G ÄÚ´æ¶ÔÓÚ´ó¶àÊý½ø³ÌÓ¦¸ÃÊǹ»ÓÃÁË£¬µ«ÊǼÇס£ºÕâÀï Oracle ²»µ«Òª´æ·Å SGA£¬»¹Òª´æ·ÅËùÓеĻỰÐÅÏ¢µÈ¡£ÔÚNT4 ÀïÃ棬ÓÐÁ½¸ö°ì·¨¿ÉÒÔ¿¼ÂÇ£ºÊ¹ÓÃNT ÆóÒµ°æ£¬ ÕâÑù£¬¿ÉÒÔÉèÖòÙ×÷ϵͳֻ±£ÁôOracle ¿ÉÒÔÑ°Ö· 1GB ¿Õ¼ä£¬ 3Gb£¬»òÕßʹÓà °æ±¾µÄ Alpha HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 11. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT NT ϵͳ¡£ Oracle µÄ¶àÏ̷߳þÎñÆ÷ģʽ¿ÉÒÔÈúܶà¸ö Client ½ø³ÌºÍÉÙÊý¹²Ïí ½ø³ÌͨÐÅ£¬Õâ Server Ñù¾Í´ó´ó¼õÉÙÁ˵ķþÎñÆ÷½ø³Ì£¬´Ó¶ø¼õÉÙÁ˶ÔÄÚ´æµÄÐèÇó¡£ Oracle NT ƽ̨µÄ Oracle8 ¿ªÊ¼ Ö§³Ö¶àÏ̷߳þÎñÆ÷¡£Èç¹û½øÒ»²½²ÉÓÃºÍ Connection Pool Concentrating ¼¼Êõ£¬¿ÉÒÔ¸ü¼Ó¼õ ÉÙ¶ÔÄÚ´æµÄÐèÇó¡£ ÔÚWindows2000 ÀïÃæ£ ¬Ó¦ÓóÌÐòµÄ¿ÉÑ°Ö·¿Õ¼ä´ïµ½ÁË 32GB£¬Õâ¶ÔÓÚ¾ø´ó¶àÊýµÄ Oracle Ó¦Ó㬶¼ÊÇ×ã¹»ÁË¡£ Æô¶¯ºÍ¹Ø±Õ ÔÚUnix »·¾³Ï£¬ÎÒÃÇͨ³£Ê¹Óà dbstart/dbshut£¬svrmgrl »òÕß sqlplus À´Æô¶¯ /¹Ø±Õ¡£ ÔÚ Oracle Æô¶¯µÄʱºò£¬ Æô¶¯ÊµÀý£¬ Êý¾Ý¿â£¬ Êý¾Ý¿â£¬È»ºó »á×Ô Oracle Mount Open Oracle ¶¯ daemonize £¬³ÉΪºǫ́½ø³Ì£¬ºÍµÇ½»á»°ÍÑÀ룬ÕâÑù£¬µ±Óû§×¢ÏúµôÖ®ºó£¬ Oracle ÈÔ¾É ¼ÌÐøÔËÐС£ µ«ÊÇÔÚ Windows ƽ̨Ï£¬ÐèÒªÓû§×¢ÏúÖ®ºó£¬ Oracle ÈÔ¾ÉÄܹ»ÔËÐУ¬ Oracle ±ØÐë×¢²á ³ÉΪT µÄÒ»¸ö·þÎñ¡£ N NT ÏÂÃæµÄ Oracle Ö÷Òª°üº¬ÏÂÃæÕâЩ¹Ø¼ü·þÎñ£º ¡ñOracleServicesid Õâ¸ö·þÎñ¶¨ÒåÁË NT »úÆ÷ÉϵÄÒ»¸ö ʵÀý¡£Ò»°ã¸ñʽÊÇ Oracle OracleService%SID% ¡ £ ± È È ç ÎSID Ä ABC £ ¬ Ä Ç Ã ´ Ï à Ó ¦ µ Ä · þ Î ñ à û × Ö ¾ Í Ê Ç Ò µ ÊÇ OracleServiceABC¡ £ Ö»ÓÐÆô¶¯Õâ¸ö·þÎñ£ ¬ ²ÅÄܹ»½øÒ»²½Æô¶¯ ºÍ Oracle ʵÀý£¬Mount Open Êý¾Ý¿â¡£µ«ÊÇÒ²¿ÉÒÔÉèÖóÉʵÀý×Ô¶¯ Open Êý¾Ý¿â¡£ ¡ñOracleStartsid Õâ¸öÖ»ÊÇÔÚ Oracle8 °æ±¾ÀïÃæ²Å³öÏֵġ£ÔÚ Oracle8i ÀïÃ棬Õâ¸ö·þ ÎñºÍ OracleServiceSid ºÏ²¢ÁË¡£Æô¶¯Õâ¸ö·þÎñÏ൱ÓÚ¾ÍÊÇÖ´ÐÐÁËÒ»¸ö Æô¶¯Êý¾Ý¿âµÄ½Å ±¾¡£ ¡ñOracleTNSListener Õâ¸öʱ Oracle µÄ¼àÌý½ø³Ì¡£Ò»°ãÒ»¸öĬÈÏ Listener ¾Í¹»ÓÃÁË¡£ Èç¹ûÉèÖÃÁ˱ðµÄ Ãû×Ö£¬¾Í»á²úÉúÏàÓ¦µÄ·þÎñ¡£ listener Èç¹ûÏ£Íû Oracle Äܹ»×Ô¶¯Æô¶¯£¬¿ÉÒÔÉèÖÃÏàÓ¦·þÎñÊôÐÔΪ Auto¡£ net start OracleServiceGDB1 net start OracleStartGDB1 net start OracleTNSListener80 ÎÒÃÇ¿ÉÒÔͨ¹ý Õâ¸ö¹¤¾ßÀ´´´½¨£¬É¾³ý£¬±à¼-£¬Æô¶¯ºÍÍ£Ö¹ oradim OracleService ·þÎñ¡£ µ«ÊÇÎÒÃÇÒ»°ã½¨ÒéʹÓà sqlplus À´¹Ø±ÕÏàÓ¦µÄ·þÎñ¡ svrmgrl »òÕß £ÕâÊÇÒòΪÔڵͰ汾µÄ Oracle ÀïÃ棬ÔÚ Ò»¸ö¼¶±ðÍ£Ö¹ ·þÎñ£¬Ï൱ÓÚÔÚ ÀïÃæÖ´ÐÐÁË NT Oracle Oracle shutdown abort£¬Õâ ÊǺܲ»¹æ·¶µÄ²Ù×÷¡£ËäÈ»¾ø´ó¶àÊýÇé¿öÏ£¬ Oracle Ò²¶¼ÊÇÄܹ»×Ô¶¯»Ö¸´µÄ£¬µ«ÊÇÕâ¸ö²»ÊÇ Oracle ÍƼöµÄ¹Ø±ÕÊý¾Ý¿âµÄ·½·¨¡£ ´Ó Oracle8 ºÍ 8i ¿ ª Ê ¼Oracle Ì í ¼ Ó Á Ë × ¢ ² á ± í ² Î Ê ý £ º » ò Õ ß £¬ ora_shutdown ora_<sid>_shutdown£¬ Ora_shutdown_type£¬Ora_shutdown_timeout µÈ²ÎÊýÀ´¿ØÖÆ´Ó NT ¼¶±ð¹Ø±ÕÊý¾Ý¿âĬÈϲÉÈ¡µÃ·½Ê½¡£±ÈÈçÎÒÃÇÉ趨ÁË ora_<sid>_shutdowntype=I£¬ ora_<sid>_shutdow_timeout=30£¬ÄÇô Oracle »áÏÈʹÓà shutdown immediate À´¹Ø±Õ £¬Èç ¹û¹ýÁË Ã뻹ûÓйرճɹ¦£¬hutdown abort À´¹Ø±ÕÊý¾Ý¿â¡£ 30 NT ʹÓà s Oracle °æ±¾¹²´æʱºòµÄ¿¼ÂÇ ¶à¸ö ÔÚ Unix ÏÂÃæ¹ÜÀí¶à¸ö°æ±¾µÄ Oracle Ïà¶ÔÈÝÒ×£¬ÎÒÃÇÖ»ÐèÒª°Ñ²»Í¬µÄ Oracle Èí¼þ°²×° µ½²»Í¬µÄ Oracle_HOME Ï Ã棬ȻºóÇл»µÄʱºò£¬Ö¸¶¨»·¾³±äÁ¿ ¾Í¿ÉÒÔ $ORACLE_HOME ÁË¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 12. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT ÔÚ NT Ï Â Ã æ £ ¬ Æ ä Ê µ Ò ² ² î ² » ¶ à ¡ £ ² » Í ¬ µ Ä Ê Ç × ¢ ² á ± í Ï Â Ã æ µ Ä ¼ ü Ö µ £ º NT Ä ¬ È Ï Ê ¹ Ó Ã HKEY_LOCAL_MACHINESOFTWAREORACLEORACLE_HOME À´¼Ç¼ÐÅÏ¢¡£ ÈçºÎ½øÐб¸·Ý ºÍ ÉÏÃæµÄ Unix Oracle ±¸·ÝÒ»Ñù£¬ÎÒÃÇͬÑùÓкܶàÖÖ¿ÉÑ¡µÄ±¸·Ý·½°¸£ºÀ䱸·Ý£¬ OS ÈÈ ±¸·Ý£¬ ±¸·Ý£¬ ±¸·ÝµÈ¡£¶ÔÓÚ exp Rman exp ºÍÀ䱸·Ý£¬ÔÚ NT ÉÏûÓÐʲôÇø±ð¡£ Unix ºÍ NT µÄ±¸·Ý¹¤¾ß¿ÉÒÔ±¸·Ýµ½´Å´ø£¬ Ö»Äܹ»±¸·Ýµ½´ÅÅÌ¡£Òò´ËÈç¹ûʹÓà Oracle µÄocopy OS ±¸·Ý£¬Ò»°ã¶¼ÐèÒªÓиöÖÐתµØ£¬Èà Oracle Ïȱ¸·Ýµ½´ÅÅÌÁíÍâÒ»¸ö¿Õ¼ä£¬ÔÙͨ¹ý NT Ö»´ý µÃ±¸·Ý¹¤¾ß¿½±´µ½´Å´øÉÏÈ¥¡£»òÕß¿ÉÒÔÓà Rman ºÍÏàÓ¦µÄ±¸·ÝÈí¼þ£¨Èç Oracle À¦°óµÄ Legato£©µÈʵÏÖÖ±½Ó±¸·Ýµ½´Å´ø¡£ ¶¨ÆÚʵÐб¸·Ý ÔÚ ÏÂÃ棬ÎÒÃÇͨ¹ý À´ÊµÏÖ¶¨ÆÚµÄ×÷Òµ¹ÜÀí£¬Í¬Ñù£¬ÔÚ Unix crontab Windows ÏÂÃ棬ÎÒ ÃÇÒ²¿ÉÒÔʵÏÖ£¬Í¨¹ý AT »òÕ߼ƻ®ÈÎÎñ¡£ÎÒÃÇ¿ÉÒÔ¾ö¶¨ÊÇÖ»Ö´ÐÐÒ»´Î£¬»¹ÊÇÒ»Ö±Ö´ At µÄ»ù±¾ÃüÁî¸ñʽÊÇ£º At ʱ¼ä [/every:date] [/next:date] ʱ¼äÊÇ Ð¡Ê±¸ñʽµÄ£¬ 24 date ¿ÉÒÔÊÇÿ¸öÔ嵀 1-31 »òÕßÿÐÇÆÚµÄ W£¬ M£¬T£¬ TH£¬ S£¬ F£¬ SU¡£ ÀýÈ磬ÎÒÃÇÏ£ÍûϵͳÄܹ»ÔÚÿÌìÏÂÎçÈýµã½øÐй鵵£º at 15:00 /every:m,t,w,th,f,s,su cmd /c c:binarchive.bat >c:logsarchive.log µ±È»£¬ÒªÊµÏÖ¶¨ÆÚÖ´ÐгÌÐò£¬ÎÒÃDZØÐë°Ñ Service ·þÎñÆô¶¯¡£ Windows µÄSchedule ½øÐÐÐÔÄܼì²é ¼àÊÓÊý¾Ý¿âµÄÐÔÄÜ£¬Õï¶ÏÐÔÄÜÎÊÌâºÍÐÔÄÜÉϵÄÆ¿¾±£¬´Ó¶ø¶ÔÊ DBA µÄÖ÷ÒªÖ°ÔðÖ®Ò»¡£ËäÈ»ÀíÂÛÉÏÀ´½²£¬ÔÚ NT ÉϺÍnix ÉÏÃæ½øÐÐÐÔÄܵ÷Óŵķ½·¨Ò»Ñù£¬ U µ«ÊÇʵ¼ÊʹÓõŤ¾ß»¹ÊDz»Ò»ÑùµÄ¡£ ÔÚ Unix ÏÂÃ棬ÎÒÃÇÒ»°ãͨ¹ý sar£¬top µÈ¹¤¾ßÀ´¼ì²éϵͳµÄÕûÌåÐÔÄܺ͵¥¶À vmstat£¬ ½ø³ÌµÄÇé¿ö¡£ÔÚNT ÏÂÃ棬ÎÒÃÇÒ»°ãͨ¹ý NT ×Ô´øµÄ½ø³Ì¹ÜÀíÆ÷ºÏÐÔÄܼàÊÓÆ÷À´¼ì²é·þÎñÆ µÄÕûÌåÐÔÄÜ¡£ NT µÄÐÔÄܼàÊÓÆ÷¿ÉÒÔ¼ì²éϵͳ·¶Î§ÄںܶàµÄ×ÜÌåÇé¿ö£¬±ÈÈç×ÜÌåµÄ CPU ʹÓã¬ÄÚ´æ ʹÓã¬ÍøÂçʹÓ㬴ÅÅ̵ÈÐÅÏ¢¡£Ò²¿ÉÒÔ¼ì²éij¸öµ¥¶ÀÏ̵߳ÄÐÅÏ¢¡£ ×÷ΪT ƽ̨É쵀 N Oracle DBA£¬±ØÐë¶Ô½ø³Ì¹ÜÀíÆ÷ºÍÐÔÄܼàÊÓÆ÷·Ç³£ÊìϤ¡£ Oracle »¹×Ô¼ºÌṩÁ˽ӿڣ¬ÀûÓà NT µÄÐÔÄܼàÊÓÆ÷À´¹ÜÀíºÍ¼àÊÓ Oracle Êý¾Ý¿âµÄÐÔÄÜ¡£ CPU ×ÊÔ´ ¼à¿Øÿ¸öÏß³ÌʹÓÃµÄ ËäÈ»ÔÚ NT µÄ½ø³Ì¹ÜÀíÆ÷ÀïÃæ¿ÉÒÔ¿´µ½¾¿¾¹ÄÄЩ½ø³ÌÕ¼ÓÃÁ˹ý¶àµÄ×ÊÔ´£¬µ« ½ø³Ì£¬¿´¾¿¾¹ÊÇÄǸöÏß³ÌÕ¼ÓÃÁ˹ý¶àµÄ×ÊÔ´¡£ÒòΪ¾ÍÈçÇ°ÃæËù˵£¬ Oracle ÔÚ ÉϵÄʵÏÖÊÇ NT Ò»¸ö½ø³Ì¶à¸öỊ̈߳¬´Ó OS µÄ½Ç¶È£¬¾ÍÊÇÒ»¸ö½ø³Ì¡£ÎÒÃÇ¿ÉÒÔͨ¹ýÏÂÃæµÄ½Å±¾£¬À´¼à ÊÇÄǸö Oracle µÄÏß³ÌÕ¼ÓÃÁ˶àÉÙ×ÊÔ´¡££¨×¢Ò⣬ÕâÀïºǫ́½ø³ÌʹÓÃµÄ © CPU ×ÊÁÏÎÞ·¨¿´µ½££ ¡ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 13. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT LISTING 1. CPU usage query. column program format a20 column username format a12 select p.spid thread£¬s.username£¬ decode(nvl(p.background£¬ 1£¬ 0)£¬ bg.description£¬ s.program ) program£¬ ss.value/100 CPU£¬ physical_reads disk_io from v$process p£¬ v$session s£¬ v$sesstat ss£¬ v$sess_io si£¬ v$bgprocess bg where s.paddr=p.addr and ss.sid=s.sid and ss.statistic#=12 and si.sid=s.sid and bg.paddr(+)=p.addr order by ss.value desc; ¿ÉÒÔͨ¹ý Oracle µÄOEM ¹¤¾ß£º Oracle Top Session À´¼ì²éÿ¸öµ¥¶ÀÏß³ÌÕ¼ÓÃCPU µÈ×ÊÔ´ µÄÇé¿ö¡£Ò²¿ÉÒÔʹÓõ¥¶ÀµÄµÚÈý·½¹¤¾ß£¬±ÈÈç dbtop.pl ½Å±¾ (werple.net.au~gharriso ¿ÉÒÔ ÏÂÔØ )¡£ ÐÔÄܵ÷ÓÅ ÔÚ Æ½Ì¨ÉÏ¶Ô ½øÐÐÐÔÄܵ÷ÓÅ£¬Æäʵ»ù±¾Ô-ÔòºÍÔÚ NT Oracle Unix ÉϽøÐÐÐÔÄܵ÷ÓÅûÓÐʲ ôÇø±ð£º ¡ñµ÷ÕûQL£¬ÓÅ»¯Ó¦ÓóÌÐòµÄÉè¼Æ S ¡ñÈ·±£Ê¹ÓÃÁ˺ÏÊʵĹ»ÓõÄÓ²¼þ£º°üÀ¨ CPU£¬Äڴ棬ÍøÂç×ÊÔ´£¬´ÅÅÌ×ÓϵͳµÈ£¬Äܹ»·û ºÏÓ¦ÓóÌÐòµÄÒªÇó¡£ ¡ñ¾¡Á¿°ÑÊý¾ÝÎļþ·Åµ½²»Í¬µÄÎïÀí´ÅÅÌÉÏÃ棬¼õÉÙ IO µÈ´ý¡£ ¡ñ¾¡Á¿°Ñ Oracle µÄredo log ºÍ¹éµµÈÕÖ¾Îļþ£¬Êý¾ÝÎļþµÈ·Åµ½²»Í¬µÄÎïÀí´ÅÅÌÉ Ö¤¿É»Ö¸´ÐÔºÍÀíÏëµÄÐÔÄÜ¡£ ¡ñ Oracle ·ÖÅä×ã¹»µÄ ¸ø SGA£¬»Ø¹ö¶Î£¬ÅÅÐòÇøºÍÁÙʱ±í¿Õ¼äµÈÄÚ²¿×ÊÔ´¡£ ÏÂÃæÕâЩÊÇ NT ƽ̨ÉÏÌØÓеÄһЩҪ¿¼Âǵķ½Ã棺 ¡ñ ¶ÔÓÚ ·Ç³£Ãܼ¯µÄÓ¦Ó㬿ÉÒÔ¿¼ÂÇʹÓÃÂãÉ豸¡£ÔÚ IO NT ÉÏÃæʹÓÃÂãÉ豸ÐèҪעÒâµÄ ¶«Î÷ºÍÔÚ ÉÏÓÃÂãÉ豸ûÓÐʲô²î±ð¡¿ÉÒÔʹÓà À´±¸·Ý ÉÏÃæµÄ Unix ocopy »òÕß £ rman NT ÂãÉ豸ÉÏÃæµÄÊý¾ÝÎļþ¡£ ¡ñ Èç¹ûʹÓÃÎļþϵͳÀ´´æ·ÅÊý¾ÝÎļþ£¬´¦ÓÚÐÔÄܵĿ¼ÂÇ£¬Á½Õ߲¶à£¬µ« µÄ¿¼ÂÇ£¬Ó¦¸ÃÓÅÏÈʹÓà NTFS£¬ÒòΪËüʵÏÖÁËȨÏÞ¿ØÖÆ£¬¶ÔÓÚ Oracle µÄ°²È«±È½ÏÖØÒª¡£ ¡ñ ÓÉÓÚ indows ϵͳ֧³ÖÎļþϵͳµÄÒì²½ W IO£¬Ò»°ã²»ÐèÒªÉèÖöà¸ö dbwr ½ø³Ì ¡£ BUGS? WHAT BUGS? I may have painted a fairly rosy picture of the Oracle/NT environment. However, the NT HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 14. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT environment is no more immune to bugs than others.Although most bugs are either noncritical or have workarounds or patches,you may encounter a few of them while attempting to implement some of the features I've discussed. For example: ¡ñThe Oracle8 facility to shut down a service cleanly is not functional in Oracle8.0.3.0 (see Oracle Product Change Request #513414). ¡ñ Running in archivelog mode--and hence performing online backups--is not supported in Oracle7.3.2.1 (see alert #10802099). ¡ñThe integration of Oracle logging into the NT performance monitor does not always work without manual intervention (see Oracle Product Change Requests #556846 and #520639). ORACLE ON NT: HERE TO STAY I've given you just a taste of Oracle administration under Windows NT. Oracle administration is a big topic,and we've barely scratched the surface here. However,I think you'll see that transitioning Oracle from Unix to N is neither particularly unpleasant nor T troublesome,although there are challenges. Both Unix and NT are here to stay,at least for the foreseeable future. While Oracle professionals who restrict themselves to the Unix environment will continue to be in demand,those who embrace both environments will have access to a greater range of Oracle installations and will experience greater variety in their professional lives. If you're an Oracle professional,you owe it to yourself to be at least familiar with Oracle on NT. Guy Harrison is an independent Oracle consultant specializing in Oracle development and performance issues and author of Oracle SQL High Performance Tuning (Prentice Hall, 1997). He is currently working with Quest Software Inc. in Australia. You can contact Guy at gharriso@werple.net.au or through his home page at werple.net.au/~gharriso/. ÎÒÃǾ¿¾¹Ê¹ÓÃʲôÎļþϵͳ£¿ ÔÚ Windows ÉÏÃ棬ÎÒÃÇ¿ÉÒÔʹÓà FAT £¬ FAT32£¬ NTFS£¬Ñ¹ËõµÄ ºÍÂãÉ豸¡£ÄÇô¾¿¾¹ NTFS ʹÓà ʲôÎļþϵͳµÄÐÔÄܸü¼ÓÓÅÔ½ÄØ£¿ÎÒÃÇÀ´×öÒ»¸ö¼òµ¥µÄÊÔÑ飬½øÐв ºÍÈ«±íɨÃ裬¿´¿´½á¹ûÈçºÎ¡£ ¶ÔÓÚÿ¸öÊÔÑ飬ÎÒÃÇͨ¹ýµ¼ÈëÒ»¸ö 8MB µÄÎļþ£¬È»ºó½øÐÐÒ»¸ö´óµÄ²éѯ£¨Éæ¼°Ëĸö¸ µ¼ÈëµÄ´ó±í£¬Í¨¹ýË÷Òý½øÐвéѯ£ ©¡£²âÊÔʹÓõĻúÆ÷ÅäÖÃΪ NT 4, Pentium Pro256MHZ, µ¥ ¿éCPU£¬ 64M Äڴ棬һ¸ö µØ 2.5GB IDE Ó²ÅÌ¡£Ã¿´Î²»Í¬µÄ²âÊÔ֮ǰ£¬»úÆ÷¶¼ÖØÐÂÆô¶ ´Î¡£ ´ÓÏÂÃæµÄ²âÊÔ½á¹ûÎÒÃÇ¿ÉÒÔ¿´µ½£¬ NTFS ºÍFAT µÄÐÔÄÜ»ù±¾Ò»Ñù£¬ÂãÉ豸µÄÐÔÄÜÔÚ¸÷¸ö· Ã涼Ã÷ÏÔ¸ßÓÚÎļþϵͳ¡£ NT µÄѹËõÎļþϵͳЧÂʷdz£µÍÏ£¬ ²»ÄÜ¿¼ÂÇ¡£ µ±È»£¬ÔÚÕæÕý¿¼ÂÇʹÓÃʲôÎļþϵͳµÄʱºò£¬»¹Ó¦¸Ãͬʱ¿¼Âǵ½°²È«ÐÔ Ò×¹ÜÀíÐÔ£¬Èç ºÎ½øÐб¸·ÝµÈ¸÷¸öÒòËØ¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 15. ITPUB µç×ÓÔÓÖ¾ The Oracle DBA's Guide to NT Ô-×÷£º Harrison Guy ÍƼö£º snowhite2000 ·-Òë¸Ä±à£º chao_ping HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 16. ITPUB µç×ÓÔÓÖ¾ ÔÚ ORACLE ÖÐÔËÐÐ ÃüÁî OS ÔÚ ORACLE ÖÐÔËÐÐ ÃüÁî OS ÔÚ Oracle 8i ÖУ¬ÍùÍù»á³öÏÖÒªÔÚ´æ´¢¹ý³ÌÖÐÔËÐвÙ×÷ϵͳÃüÁîµÄÇé¿ö¡£Ò»° ÓÃOracle Enterprise Manager É趨×÷ҵʱ¿ÉÒÔ´ïµ½Õâ¸öÄ¿µÄ¡£µ«ÊÇÓÉÓÚ OEM ÔÚÉ趨×÷Òµ ȱ·¦Áé»îÐÔ£¬É趨µÄ×÷ÒµµÄ²ÎÊýÊǹ̶¨µÄ¡£ÔÚʵ¼ÊÓ¦Óõ±ÖÐÍùÍùÐèÒªÔÚ SQL Óï¾äµ±ÖÐÔËÐÐ ÐèÒªËæʱÔËÐвÙ×÷ϵͳÃüÁî¡£ Oracle 8i ûÓÐÖ±½ÓÔËÐÐ OS ÃüÁîµÄÓï¾ä£¬ÎÒÃÇ¿ÉÒÔÀûÓà DBMS_PIPE ³ÌÐò°üʵÏÖÕâÒ»ÒªÇó¡£ DBMS_PIPE ͨ¹ý´´½¨¹ÜµÀ£¬¿ÉÒÔÈÃÖÁÉÙÁ½¸ö½ø³Ì½øÐÐͨÐÅ¡£ Oracle µÄ¹ÜµÀÓë²Ù×÷ϵ ͳ µÄ¹ÜµÀÔÚ¸ÅÄîÉÏÓÐÏàͬµÄµØ·½£¬µ«ÊÇÔÚʵÏÖ»úÖƲ»Í¬¡£ ÏÂÃæ½éÉÜʵÏÖ¾ßÌå²½Ö裺 1 ´´½¨Ò»¸ö³ÌÐò°ü£¬¹ÃÇÒÆðÃû½Ð Óï¾äÈçÏ£º DAEMON£¬ SQL /*´´½¨aemon ³ÌÐò°ü d */ CREATE OR REPLACE PACKAGE BODY daemon AS /*execute_system ÊÇʵÏÖÔËÐÐ os ÃüÁîµÄº¯Êý */ FUNCTION execute_system(command VARCHAR2, timeout NUMBER DEFAULT 10) RETURN NUMBER IS status NUMBER; result VARCHAR2(20); command_code NUMBER; pipe_name VARCHAR2(30); BEGIN pipe_name := DBMS_PIPE.UNIQUE_SESSION_NAME; DBMS_PIPE.PACK_MESSAGE('SYSTEM'); DBMS_PIPE.PACK_MESSAGE(pipe_name); DBMS_PIPE.PACK_MESSAGE(command); /*Ïò daemon ¹ÜµÀ·¢ËͱíʾÃü */ ÁîµÄ×Ö·û status := DBMS_PIPE.SEND_MESSAGE('daemon', timeout); IF status <> 0 THEN RAISE_APPLICATION_ERROR(-20010, 'Execute_system: Error while sending. Status = ' || status); END IF; status := DBMS_PIPE.RECEIVE_MESSAGE(pipe_name, timeout); IF status <> 0 THEN RAISE_APPLICATION_ERROR(-20011, 'Execute_system: Error while receiving. Status = ' || status); END IF; /*»ñÈ¡·µ»Ø½á¹û */ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 17. ITPUB µç×ÓÔÓÖ¾ ÔÚ ORACLE ÖÐÔËÐÐ ÃüÁî OS DBMS_PIPE.UNPACK_MESSAGE(result); IF result <> 'done' THEN RAISE_APPLICATION_ERROR(-20012, 'Execute_system: Done not received.'); END IF; DBMS_PIPE.UNPACK_MESSAGE(command_code); DBMS_OUTPUT.PUT_LINE('System command executed. result = ' || command_code); RETURN command_code; END execute_system; /*stop ÊÇÈÃaemon Í£Ö¹ d */ PROCEDURE stop(timeout NUMBER DEFAULT 10) IS status NUMBER; BEGIN DBMS_PIPE.PACK_MESSAGE('STOP'); status := DBMS_PIPE.SEND_MESSAGE('daemon', timeout); IF status <> 0 THEN RAISE_APPLICATION_ERROR(-20030, 'stop: error while sending. status = ' || status); END IF; END stop; END daemon; ͨ¹ýql*Plus ÔËÐÐÒÔÉÏ S Óï¾ä£¬½«Îªµ±Ç°Óû§´´½¨ daemon ³ÌÐò°ü¡£ 2 ´´½¨ÔÚ ÉÏÔËÐеÄÊØ»¤½ø³Ì OS ,¼àÌýÓÉÉÏÃæµÄ ³ÌÐò°ü·¢À´µÄÒªÇóÖ´ÐÐ daemon OS ÃüÁî µÄÓï¾ä Pro*C µÄ´úÂ룬±ØÐëÓÉ .ÒÔÏ pro*c ÏȽøÐÐÔ¤±àÒë¡£ #include #include EXEC SQL INCLUDE SQLCA; EXEC SQL BEGIN DECLARE SECTION; char *uid = "scott/tiger";/*ÔÚÕâ¸öµØ·½¸ÄΪÄã×Ô¼º·ÃÎʵÄÓû§ ,ÃÜÂë ,·þÎñÃû */ int status; VARCHAR command[20]; VARCHAR value[2000]; VARCHAR return_name[30]; EXEC SQL END DECLARE SECTION; void HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 18. ITPUB µç×ÓÔÓÖ¾ ÔÚ ORACLE ÖÐÔËÐÐ ÃüÁî OS connect_error() { char msg_buffer[512]; int msg_length; int buffer_size = 512; EXEC SQL WHENEVER SQLERROR CONTINUE; sqlglm(msg_buffer, &buffer_size, &msg_length); printf("Daemon error while connecting:n"); printf("%.*sn", msg_length, msg_buffer); printf("Daemon quitting.n"); exit(1); } void sql_error() { char msg_buffer[512]; int msg_length; int buffer_size = 512; EXEC SQL WHENEVER SQLERROR CONTINUE; sqlglm(msg_buffer, &buffer_size, &msg_length); printf("Daemon error while executing:n"); printf("%.*sn", msg_length, msg_buffer); printf("Daemon continuing.n"); } main() { EXEC SQL WHENEVER SQLERROR DO connect_error(); EXEC SQL CONNECT :uid; printf("Daemon connected.n"); EXEC SQL WHENEVER SQLERROR DO sql_error(); printf("Daemon waiting...n"); while (1) { EXEC SQL EXECUTE BEGIN /*½ÓÊÕeamon ·¢À´µÄ×Ö·û d */ :status := DBMS_PIPE.RECEIVE_MESSAGE('daemon'); IF :status = 0 THEN /*È¡³ö×Ö·û */ DBMS_PIPE.UNPACK_MESSAGE(:command); END IF; HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 19. ITPUB µç×ÓÔÓÖ¾ ÔÚ ORACLE ÖÐÔËÐÐ ÃüÁî OS END; END-EXEC; IF (status == 0) { command.arr[command.len] = '0'; /*Èç¹ûÊÇ stop,¸Ã½ø³Ì¾ÍÍ˳ö */ IF (!strcmp((char *) command.arr, "STOP")) { printf("Daemon exiting.n"); break; } ELSE IF (!strcmp((char *) command.arr, "SYSTEM")) { EXEC SQL EXECUTE BEGIN DBMS_PIPE.UNPACK_MESSAGE(:return_name); DBMS_PIPE.UNPACK_MESSAGE(:value); END; END-EXEC; value.arr[value.len] = '0'; printf("Will execute system command '%s'n", value.arr); /*ÔËÐÐs ÃüÁî o */ status = system(value.arr); EXEC SQL EXECUTE BEGIN DBMS_PIPE.PACK_MESSAGE('done'); DBMS_PIPE.PACK_MESSAGE(:status); :status := DBMS_PIPE.SEND_MESSAGE(:return_name); END; END-EXEC; IF (status) { printf ("Daemon error while responding to system command."); printf(" status: %dn", status); } } ELSE { printf ("Daemon error: invalid command '%s' received.n", command.arr); HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 20. ITPUB µç×ÓÔÓÖ¾ ÔÚ ORACLE ÖÐÔËÐÐ ÃüÁî OS } } ELSE { printf("Daemon error while waiting for signal."); printf(" status = %dn", status); } } EXEC SQL COMMIT WORK RELEASE; exit(0); } HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 21. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí Oracle DBA ÈÕ³£¹ÜÀí Ð޸ģº 2000/8/23 ×÷Õߣº Thomas B. Cox£¬ with Christine Choi Ä¿µÄ£ºÕâƪÎĵµÓкÜÏêϸµÄ×ÊÁϼǼ×ŶÔÒ»¸öÉõÖÁ¸ü¶àµÄ ORACLE Êý¾Ý¿âÿÌìµÄ£¬Ã¿Ôµģ¬ ÿÄêµÄÔËÐеÄ״̬µÄ½á¹û¼°¼ì²éµÄ½á¹û£ ÔÚÎĵµµÄ¸½Â¼ÖÐÄ㽫»á¿´µ½ËùÓÐ¼ì ¬ SQL ºÍPL/SQL ´úÂë¡£ Ð޸ıʼǣº ÔÚ 1.1 Steve DeNunzio µÄ 'existext.sql'ÖÐËùʶ±ðµÄÀàÐÍ 1.2 ¹Ì¶¨µÄÀàÐÍ 1.3 ¼ÓµÄ nu Public License£»ÔÚÖؽ¨ ÖÐÔö¼Ó G index pctincr 0 1.4 ¼ Ó Á Ë Ò » ¸ ö × î Ð Â µ Ä ¹ ÛGEOCITIESÇ µ Ä Ö ÷ Ò ³ É Ï µ à µ ½ µ Ä ¡ £ µã£¬Ê ´Ó http://www.geocities.com/tbcox23 Ŀ¼ 1.ÈÕ³£Î¬»¤³ÌÐò A£®¼ì²éÒÑÆðµÄËùÓÐʵÀý B£®²éÕÒһЩеľ¯¸æÈÕÖ¾ C£®¼ì²éBSNMP ÊÇ·ñÔÚÔËÐÐ D D£®¼ì²éÊý¾Ý¿â±¸·ÝÊÇ·ñÕýÈ· E£®¼ì²é±¸·Ýµ½´Å´øÖеÄÎļþÊÇ·ñÕýÈ· F£®¼ì²éÊý¾Ý¿âµÄÐÔÄÜÊÇ·ñÕý³£ºÏÀí£¬ÊÇ·ñÓÐ×ã¹»µÄ¿Õ¼äºÍ×ÊÔ´ G£®½«ÎĵµÈÕÖ¾¸´ÖƵ½±¸·ÝµÄÊý¾Ý¿âÖÐ H£®Òª³£¿´ Óû§ÊÖ²á DBA 2.Íí¼äά»¤³ÌÐò A£®ÊÕ¼¯ VOLUMETRIC µÄÊý¾Ý 3.ÿÖÜά»¤¹¤×÷ A£®²éÕÒÄÇЩÆÆ»µ¹æÔòµÄ OBJECT B£®²éÕÒÊÇ·ñÓÐÎ¥·´°²È«²ßÂÔµÄÎÊÌâ C£®²é¿´´íÎóµØ·½µÄ ÈÕÖ¾ SQL*NET D£®½«ËùÓеľ¯¸æÈÕÖ¾´æµµ E£®¾-³£·ÃÎʹ©Ó¦É̵ÄÖ÷Ò³ 4.ÔÂά»¤³ÌÐò A£®²é¿´¶ÔÊý¾Ý¿â»á²úÉúΣº¦µÄÔö³¤ËÙ¶È B£®»Ø¹ËÒÔÇ°Êý¾Ý¿âÓÅ»¯ÐÔÄܵĵ÷Õû C£®²é¿´ µÄÆÁ¾±ÎÊÌâ I/O D£®»Ø¹ËFRAGMENTATION E£®½«À´µÄÖ´Ðмƻ® F£®²é¿´µ÷ÕûµãºÍά»¤ 5.¸½Â¼ A£®ÔÂά»¤¹ý³Ì B£®Íí¼äά»¤¹ý³Ì C£®ÖÜά»¤¹ý³Ì 6.²Î¿¼ÎÄÏ× HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 22. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí Ò»£®ÈÕά»¤¹ý³Ì A£®²é¿´ËùÓеÄʵÀýÊÇ·ñÒÑÆð È·¶¨Êý¾Ý¿âÊÇ¿ÉÓõģ ¬°Ñÿ¸öʵÀýдÈëÈÕÖ¾²¢ÇÒÔËÐÐÈÕ±¨¸æ»òÊ Îļþ¡£µ±È»ÓÐһЩ²Ù×÷ÎÒÃÇÊÇÏ£ÍûËüÄÜ×Ô¶¯ÔËÐеġ£ ¿ÉÑ¡ÔñÖ´ ORACLE ¹ÜÀíÆ÷Öеġ® ÐУºÓà PROBE¡¯Ê¼þÀ´²é¿´ B£®²éÕÒеľ¯¸æÈÕÖ¾Îļþ 1. Áª½Óÿһ¸ö²Ù×÷¹ÜÀíϵͳ 2. ʹÓá® TELNET¡¯»òÊǿɱȽϳÌÐò 3. ¶Ôÿһ¸ö¹ÜÀíʵÀý£¬¾-³£µÄÖ´ÐÐ $ORACLE_BASE/<SID>/bdump ²Ù ×÷£¬²¢Ê¹ÆäÄÜ»ØÍ˵½¿ØÖÆÊý¾Ý¿âµÄ SID¡£ 4. ÔÚÌáʾÏ£¬Ê¹Óà UNIX Öеġ® TAIL¡¯ÃüÁî²é¿´ alert_<SID>.log£¬»òÊÇ ÓÃÆäËû·½Ê½¼ì²éÎļþÖÐ×î½üʱÆڵľ¯¸æÈÕÖ¾ 5. Èç¹ûÒÔÇ°³öÏÖ¹ýµÄһЩ ORA_ERRORS ÓÖ³öÏÖ£¬½«Ëü¼Ç¼µ½Êý¾Ý¿â »Ö¸´ÈÕÖ¾Öв¢ÇÒ×ÐϸµÄÑо¿ËüÃÇ£¬Õâ¸öÊý¾Ý¿â»Ö¸´ÈÕÖ¾ÔÚ¡´ FILE¡µÖÐ C£®²é¿´ DBSNMP µÄÔËÐÐÇé¿ö ¼ì²éÿ¸ö±»¹ÜÀí»úÆ÷µÄ¡® DBSNMP¡¯½ø³Ì²¢½«ËüÃǼǼµ½ÈÕÖ¾ÖС£ ÔÚUNIX ÖУ¬ÔÚÃüÁîÐÐÖУ¬¼üÈë ps –ef | grep dbsnmp,½«»Ø¿´µ½ 2 ¸ö DBSNMP ½ø³ÌÔÚÔËÐС£Èç¹ûûÓУ¬ÖØÆô DBSNMP¡£ D£®²éÊý¾Ý¿â±¸·ÝÊÇ·ñ³É¹¦ E£®¼ì²é±¸·ÝµÄ´Å´øÎĵµÊÇ·ñ³É¹¦ F£®¼ì²é¶ÔºÏÀíµÄÐÔÄÜÀ´ËµÊÇ·ñÓÐ×ã¹»µÄ×ÊÔ´ 1. ¼ì²éÔÚ±í¿Õ¼äÖÐÓÐûÓÐÊ£Óà¿Õ¼ä¡£ ¶Ôÿһ¸öʵÀýÀ´Ëµ£¬¼ì²éÔÚ±í¿Õ¼äÖÐÊÇ·ñ´æÔÚÓÐÊ£Óà¿Õ¼äÀ´ µÄÔ¤ÆÚµÄÐèÒª¡£µ±Êý¾Ý¿âÖÐÒÑÓеÄÊý¾ÝÊÇÎȶ¨µÄ£¬Êý¾ÝÈÕÔö ÊýÒ² ÊÇ¿ÉÒÔ¼ÆËã³öÀ´£¬×îСµÄÊ£Óà¿Õ¼äÖÁÉÙÒªÄÜÂú×ãÿÌìÊ ³¤¡£ A£©ÔËÐС®FREE.SQL¡¯À´¼ì²é±í¿Õ¼äµÄÊ£Óà¿Õ¼ä¡£ B£©ÔËÐС®SPACE.SQL¡¯À´¼ì²é±í¿Õ¼äÖеÄÊ£Óà¿Õ¼ä°Ù·ÖÂÊ 2. ¼ì²é»Ø¹ö¶Î »Ø¹ö¶ÎµÄ״̬һ°ãÊÇÔÚÏߵģ¬³ýÁËһЩΪ¸´ÔÓ¹¤×÷×¼±¸ ¶Î£¬ËüÒ»°ã״̬ÊÇÀëÏߵġ£ a) ÿ¸öÊý¾Ý¿â¶¼ÓÐÒ»¸ö»Ø¹ö¶ÎÃû×ÖµÄÁÐ±í¡£ b) Äã¿ÉÒÔÓÃV$ROLLSTAT À´²éѯÔÚÏß»òÊÇÀëÏߵĻعö¶ÎµÄÏÖÔÚ×´ ̬ . c) ¶ Ô Ó Ú Ë ù Ó Ð » Ø ¹ ö ¶ Î µ Ä ´ æ ´ ¢ ² Î Ê ý ¼ ° à û DBA_ROLLBACK_SEGS À´²éѯ¡£µ«ÊÇËü²»Èç V$ROLLSTAT ׼ȷ¡£ 3. ʶ±ð³öһЩ¹ý·ÖµÄ Ôö³¤ ²é¿´Êý¾Ý¿âÖг¬³ö×ÊÔ´»òÊÇÔö³¤Ëٶȹý´óµÄ¶Î£¬ÕâЩ¶Îµ ÊýÐèÒªµ÷Õû¡£ a£© Õ ¼ ¯ È Õ Ê ý ¾ Ý ´ ó Ð ¡ µ Ä Ð Å Ï ¢ £ ¬ Ê ¡®ANALYZE5PCT.SQL¡¡Èç¹ûÄãÊÕ¼¯µÄÊÇÿÍíµÄÐÅÏ¢£¬ ¯£ Ôò¿ÉÌø¹ýÕâÒ»²½¡£ b£©¼ì²éµ±Ç°µÄ·¶Î§£¬¿ÉÓá® NR.EXTENTS.SQL¡£ ¯¡ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 23. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí c£© ²éѯµ±Ç°±íµÄ´óСÐÅÏ¢¡£ d£© ²éѯµ±Ç°Ë÷Òý´óСµÄÐÅÏ¢¡£ e£© ²éѯÔö³¤Ç÷ÊÆ¡£ 4. È·¶¨¿Õ¼äµÄ·¶Î§¡£ Èç¹û·¶Î§¿Õ¼ä¶ÔÏóµÄNEXT_EXTENT ±È±í¿Õ¼äËùÄÜÌṩµÄ×î´ó·¶ Χ»¹Òª´ó£¬ÄÇôÕ⽫ӰÏìÊý¾Ý¿âµÄÔËÐС£Èç¹ûÎÒÃÇÕÒµ½ÁËÕâ¸ö ÒÔÓá® ALTER TABLESPACE COALESCE¡¯µ÷²éËüµÄλÖ㬻ò¼ÓÁíÍâ µÄÊý¾ÝÎļþ¡£ A£©ÔËÐС® SPACEBOUND.SQL¡ ¯ ¡£Èç¹û¶¼ÊÇÕý³£µÄ£¬½«²»·µ»ØÈκÎÐС£ 5. »Ø¹ËPU£¬Äڴ棬ÍøÂ磬Ӳ¼þ×ÊÔ´ÂÛµãµÄ¹ý³Ì C A£©¼ì²éPU µÄÀûÓÃÇé¿ö£ C ¬x:webphase2default.htm =>system ½øµ½ metrics=>CPU ÀûÓÃÒ³£¬ µÄ×î´óÏÞ¶ÈΪ CPU µÄÕ¼Óñ£³Ö CPU 400£¬µ± ÔÚ350 ÒÔÉÏÓÐÒ»¶Îʱ¼äµÄ»°£¬ÎÒÃǾÍÐèÒª²é¿´¼°Ñо¿³öÏÖµÄÎÊ G£®½«´æµµÈÕÖ¾¸´ÖƵ½±¸ÓÃÊý¾Ý¿âÖÐ Èç¹ûÓÐÒ»¸ö±¸ÓÃÊý¾Ý¿â£½«Êʵ±µÄ´æµµÈÕÖ¾¸´ÖƵ½±¸ÓÃÊý¾Ý¿ ¬ λÖ㬱¸ÓÃÊý¾Ý¿âÖб£´æ×î½üÆÚµÄÊý¾Ý¡£ F. ¾-³£²éÔÄ Óû§ÊÖ²á DBA Èç¹ûÓпÉÄܵĻ°£¬Òª¹ã·ºµÄÔĶÁ£¬°üÀ¨ DBA ÊֲᣬÐÐÒµÔÓÖ¾£¬ÐÂÎÅ ×é»òÊÇÓʼþÁÐ±í¡£ ¶þ£®Íí¼äά»¤¹ý³Ì ´ó²¿·ÖµÄÊý¾Ý¿â²úÆ·½«ÊÜÒæÓÚÿÍíÈ·¶¨µÄ¼ì²é½ø³ÌµÄÔËÐС£ A. ÊÕ¼¯OLUMETRIC Êý¾Ý V 1. ·ÖÎö¼Æ»®ºÍÊÕ¼¯Êý¾Ý ¸ü׼ȷµÄ·ÖÎö¼ÆËã²¢±£´æ½á¹û¡£ a£©Èç¹ûÄãÏÖÔÚûÓÐ×÷ÕâЩµÄ»°£¬Óá® MK VOLFACT. SQL¡¯À´´´½¨²â¶¨Ìå»ýµÄ ±í¡£ b£©ÊÕ¼¯Íí¼äÊý¾Ý´óСµÄÐÅÏ¢£¬Óá® ANALYZE COMP.SQL¡£ ¯¡ c£©ÊÕ¼¯Í³¼Æ½á¹û£¬Óá® POP VOL.SQL¡£ ¯¡ d£©ÔÚ¿ÕÏеÄʱºò¼ì²éÊý¾Ý£¬¿ÉÄܵĻ°£¬Ã¿ÖÜ»òÿ¸öÔ½øÐС£ ÎÒÊÇÓà EXCEL ºÍ MS ODBC µÄÁª½ÓÀ´¼ì²éÊý¾ÝºÍͼ±íµÄÔö³¤ Èý£®Ã¿ÖÜά»¤¹ý³Ì A£® ²éÕÒ±»ÆÆ»µµÄÄ¿±ê 1. ¶ÔÓÚÿ¸ö¸ø¶¨±í¿Õ¼äµÄ¶ÔÏóÀ´Ëµ£¬ µÄ´óСÊÇÏàͬµÄ£¬Èç NEXT_EXTENT 12/14/98£ ¬ ȱʡµÄ NEXT_EXTENT µÄ DATAHI Ϊ 1G£¬DATALO Ϊ 500MB£¬ INDEXES Ϊ 256MB¡£ A£© ¼ì²éEXT_EXTENT µÄÉèÖ㬿ÉÓá® N NEXTEXT¡£ SQL¡£ ¯¡ B£© ¼ì²éÒÑÓÐµÄ EXTENTS£¬¿ÉÓá® EXISTEXT¡£ SQL¡£ ¯¡ 2. ËùÓÐµÄ±í¶¼Ó¦¸ÃÓÐΨһµÄÖ÷¼ü a£© ²é¿´ÄÇЩ±íûÓÐÖ÷¼ü£¬¿ÉÓᮣNO_PK.SQL¡ ¯ ¡ b£© ²éÕÒÄÇЩÖ÷¼üÊÇûÓз¢»Ó×÷Óõģ¬¿ÉÓá®DIS_PK.SQL¡£ ¯ ¡ c£© ËùÓÐ×÷Ë÷ÒýµÄÖ÷¼ü¶¼ÒªÊÇΨһµÄ£¬¿ÉÓá®NONUPK¡£ SQL¡¯À´¼ì ²é¡£ 3. ËùÓеÄË÷Òý¶¼Òª·Åµ½Ë÷Òý±í¿Õ¼äÖС£ÔËÐС® MKREBUILD_IDX¡£ SQL¡¯ 4. ²»Í¬µÄ»·¾³Ö®¼äµÄ¼Æ»®Ó¦¸ÃÊÇͬÑùµÄ£¬ÌرðÊDzâÊÔ»·¾³ºÍ³ÉÆ·» HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 24. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí ¼Æ»®Ó¦¸ÃÏàͬ¡£ a£© ì ² é ² » Í 2 µ Ä Ô Ë Ð Ð » · ¾ ³ Ö Ð µ Ä Ê ý Ê Ç · ñ Ò » Ö Â £ ¬ ¿ É Ó Ã ¼ ¬ ¸ö ¾ÝÀàÐÍ ¡®DATATYPE.SQL¡£ ¯ ¡ b£© ÔÚ 2 ¸ ö ² » Í ¬ µ Ä Ê µ À ý Ö Ð Ñ ° Õ Ò ¶ Ô Ï ó µ Ä ² » Í ¬ µ ã ¡®OBJ_COORD.SQL¡£ ¯ ¡ c£© ¸üºÃµÄ×ö·¨ÊÇ£¬Ê¹ÓÃÒ»ÖÖ¹¤¾ß£¬ÏóÑ°ÇóÈí¼þµÄ¼Æ»®¹ÜÀíÆ ¹¤¾ß¡£ B£® ²é¿´ÊÇ·ñÓÐΣº¦µ½°²È«²ßÂÔµÄÎÊÌâ¡£ C£® ²é¿´±¨´íµÄ SQL*NET ÈÕÖ¾¡£ 1. ¿Í»§¶ËµÄÈÕÖ¾¡£ 2. ·þÎñÆ÷¶ËµÄÈÕÖ¾¡£ D£®.½«ËùÓеľ¯¸æÈÕÖ¾´æµµ E£®.¹©Ó¦É̵ÄÖ÷Ò³ 1. ORACLE ¹©Ó¦ÉÌ http://www.oracle.com http://technet.oracle.com http://www.oracle.com/support http://www.oramag.com 2. Quest Software http://www.quests.com 3. Sun Microsystems http://www.sun.com ËÄ£®ÔÂά»¤¹ý³Ì A£®²é¿´¶ÔÊý¾Ý¿â»á²úÉúΣº¦µÄÔö³¤ËÙ¶È 1. ´ÓÒÔÇ°µÄ¼Ç¼»ò±¨¸æÖлع˶ÎÔö³¤µÄ±ä»¯ÒÔ´ËÀ´È·¶¨¶ÎÔö³¤´ø B£® »Ø¹ËÒÔÇ°Êý¾Ý¿âÓÅ»¯ÐÔÄܵĵ÷Õû 1. »Ø¹ËÒ»°ã ORACLE Êý¾Ý¿âµÄµ÷Õûµã£¬±È½ÏÒÔÇ°µÄ±¨¸æÀ´È·¶¨Óк¦µÄ· Ç÷ÊÆ¡£ C£® ²é¿´ µÄÆÁ¾±ÎÊÌâ I/O 1. ²é¿´Ç°ÆÚÊý¾Ý¿âÎļþ µÄ»î¶¯ÐÔ£¬±È½ÏÒÔÇ°µÄÊä³öÀ´ÅжÏÓпÉÄܵ¼ÖÂÆ ÎÊÌâµÄÇ÷ÊÆ¡£ D£® »Ø¹Ë FRAGMENTATION E£® ¼Æ»®Êý¾Ý¿â½«À´µÄÐÔÄÜ 1. ±È½Ï ORACLE ºÍ²Ù×÷ϵͳµÄ CPU£¬Äڴ棬ÍøÂ磬¼°Ó²Å̵ÄÀûÓÃÂÊÒÔ´Ë À´È·¶¨ÔÚ½üÆÚ½«»áÓеÄһЩ×ÊÔ´Õù¶áµÄÇ÷ÊÆ 2. µ±ÏµÍ³½«³¬³ö·¶Î§Ê±Òª°ÑÐÔÄÜÇ÷ÊƵ±×÷·þÎñˮƽµÄÐ-ÒéÀ´¿´ F£® Íê³Éµ÷ÕûºÍά»¤¹¤×÷ 1.ʹÐÞ¸ÄÂú×ã±ÜÃâϵͳ×ÊÔ´µÄÕù¶áµÄÐèÒª£¬ÕâÀïÃæ°üÀ¨Ôö¼ÓÐÂ×Ê µÄÍ£¹¤¡£ Î壮¸½Â¼ A. ÈÕ³£³ÌÐò HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 25. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí -- -- free.sql -- --To verify free space in tablespaces --Minimum amount of free space --document your thresholds: --<tablespace_name> = <amount> m -- SELECT tablespace_name, sum ( blocks ) as free_blk , trunc ( sum ( bytes ) / (1024*1024) ) as free_m, max ( bytes ) / (1024) as big_chunk_k, count (*) as num_chunks FROM dba_free_space GROUP BY tablespace_name 1. Space.sql -- -- space.sql -- -- To check free, pct_free, and allocated space within a tablespace -- -- 11/24/98 SELECT tablespace_name, largest_free_chunk , nr_free_chunks, sum_alloc_blocks, sum_free_blocks , to_char(100*sum_free_blocks/sum_alloc_blocks, '09.99') || '%' AS pct_free FROM ( SELECT tablespace_name , sum(blocks) AS sum_alloc_blocks FROM dba_data_files GROUP BY tablespace_name ) , ( SELECT tablespace_name AS fs_ts_name , max(blocks) AS largest_free_chunk , count(blocks) AS nr_free_chunks , sum(blocks) AS sum_free_blocks FROM dba_free_space GROUP BY tablespace_name ) WHERE tablespace_name = fs_ts_name 2. analyze5pct.sql -- -- analyze5pct.sql -- -- To analyze tables and indexes quickly, using a 5% sample size -- (do not use this script if you are performing the overnight HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 26. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí -- collection of volumetric data) -- -- 11/30/98 BEGIN dbms_utility.analyze_schema ( '&OWNER', 'ESTIMATE', NULL, 5 ) ; END ; / 3. nr_extents.sql -- -- nr_extents.sql -- -- To find out any object reaching <threshold> -- extents, and manually upgrade it to allow unlimited -- max_extents (thus only objects we *expect* to be big -- are allowed to become big) -- -- 11/30/98 SELECT e.owner, e.segment_type , e.segment_name , count(*) as nr_extents , s.max_extents , to_char ( sum ( e.bytes ) / ( 1024 * 1024 ) , '999,999.90') as MB FROM dba_extents e , dba_segments s WHERE e.segment_name = s.segment_name GROUP BY e.owner, e.segment_type , e.segment_name , s.max_extents HAVING count(*) > &THRESHOLD OR ( ( s.max_extents - count(*) ) < &&THRESHOLD ) ORDER BY count(*) desc 4. spacebound.sql -- -- spacebound.sql -- -- To identify space-bound objects. If all is well, no rows are returned. -- If any space-bound objects are found, look at value of NEXT extent -- size to figure out what happened. -- Then use coalesce (alter tablespace <foo> coalesce;). -- Lastly, add another datafile to the tablespace if needed. -- -- 11/30/98 SELECT a.table_name, a.next_extent, a.tablespace_name FROM all_tables a, ( SELECT tablespace_name, max(bytes) as big_chunk HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 27. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí FROM dba_free_space GROUP BY tablespace_name ) f WHERE f.tablespace_name = a.tablespace_name AND a.next_extent > f.big_chunk B. ÿÍí´¦Àí³ÌÐò 1. mk_volfact.sql -- -- mk_volfact.sql (only run this once to set it up; do not run it nightly!) -- -- -- Table UTL_VOL_FACTS CREATE TABLE utl_vol_facts ( table_name VARCHAR2(30), num_rows NUMBER, meas_dt DATE ) TABLESPACE platab STORAGE ( INITIAL 128k NEXT 128k PCTINCREASE 0 MINEXTENTS 1 MAXEXTENTS unlimited ) / -- Public Synonym CREATE PUBLIC SYNONYM utl_vol_facts FOR &OWNER..utl_vol_facts / -- Grants for UTL_VOL_FACTS GRANT SELECT ON utl_vol_facts TO public / 2. analyze_comp.sql -- -- analyze_comp.sql -- BEGIN HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 28. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí sys.dbms_utility.analyze_schema ( '&OWNER','COMPUTE'); END ; / 3. pop_vol.sql -- -- pop_vol.sql -- insert into utl_vol_facts select table_name , NVL ( num_rows, 0) as num_rows , trunc ( last_analyzed ) as meas_dt from all_tables -- or just user_tables where owner in ('&OWNER') -- or a comma-separated list of owners / commit / C. ÿÖÜ´¦Àí³ÌÐò 1. nextext.sql -- -- nextext.sql -- -- To find tables that don't match the tablespace default for NEXT extent. -- The implicit rule here is that every table in a given tablespace should -- use the exact same value for NEXT, which should also be the tablespace's -- default value for NEXT. -- -- This tells us what the setting for NEXT is for these objects today. -- -- 11/30/98 SELECT segment_name, segment_type, ds.next_extent as Actual_Next , dt.tablespace_name, dt.next_extent as Default_Next FROM dba_tablespaces dt, dba_segments ds WHERE dt.tablespace_name = ds.tablespace_name AND dt.next_extent !=ds.next_extent AND ds.owner = UPPER ( '&OWNER' ) ORDER BY tablespace_name, segment_type, segment_name 2. existext.sql -- -- existext.sql -- HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 29. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí -- To check existing extents -- -- This tells us how many of each object's extents differ in size from -- the tablespace's default size. If this report shows a lot of different -- sized extents, your free space is likely to become fragmented. If so, -- this tablespace is a candidate for reorganizing. -- -- 12/15/98 SELECT segment_name, segment_type , count(*) as nr_exts , sum ( DECODE ( dx.bytes,dt.next_extent,0,1) ) as nr_illsized_exts , dt.tablespace_name, dt.next_extent as dflt_ext_size FROM dba_tablespaces dt, dba_extents dx WHERE dt.tablespace_name = dx.tablespace_name AND dx.owner = '&OWNER' GROUP BY segment_name, segment_type, dt.tablespace_name, dt.next_extent 3. No_pk.sql -- -- no_pk.sql -- -- To find tables without PK constraint -- -- 11/2/98 SELECT table_name FROM all_tables WHERE owner = '&OWNER' MINUS SELECT table_name FROM all_constraints WHERE owner = '&&OWNER' AND constraint_type = 'P' 4. disPK.sql -- -- disPK.sql -- -- To find out which primary keys are disabled -- -- 11/30/98 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 30. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí SELECT owner, constraint_name, table_name, status FROM all_constraints WHERE owner = '&OWNER' AND status = 'DISABLED’ AND constraint_type = 'P' 5. nonuPK.sql -- -- nonuPK.sql -- -- To find tables with nonunique PK indexes. Requires that PK names -- follow a naming convention. An alternative query follows that -- does not have this requirement, but runs more slowly. -- -- 11/2/98 SELECT index_name, table_name, uniqueness FROM all_indexes WHERE index_name like '&PKNAME%' AND owner = '&OWNER' AND uniqueness = 'NONUNIQUE' SELECT c.constraint_name, i.tablespace_name, i.uniqueness FROM all_constraints c , all_indexes i WHERE c.owner = UPPER ( '&OWNER' ) AND i.uniqueness = 'NONUNIQUE' AND c.constraint_type = 'P' AND i.index_name = c.constraint_name 6. mkrebuild_idx.sql -- -- mkrebuild_idx.sql -- -- Rebuild indexes to have correct storage parameters -- -- 11/2/98 SELECT 'alter index ' || index_name || ' rebuild ' , 'tablespace INDEXES storage ' || ' ( initial 256 K next 256 K pctincrease 0 ) ; ' FROM all_indexes WHERE ( tablespace_name != 'INDEXES' OR next_extent != ( 256 * 1024 ) ) AND owner = '&OWNER' / 7. datatype.sql HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 31. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí -- -- datatype.sql -- -- To check datatype consistency between two environments -- -- 11/30/98 SELECT table_name, column_name, data_type, data_length, data_precision, data_scale, nullable FROM all_tab_columns -- first environment WHERE owner = '&OWNER' MINUS SELECT table_name, column_name, data_type, data_length, data_precision, data_scale, nullable FROM all_tab_columns@&my_db_link -- second environment WHERE owner = '&OWNER2' order by table_name, column_name 8. obj_coord.sql -- -- obj_coord.sql -- -- To find out any difference in objects between two instances -- -- 12/08/98 SELECT object_name, object_type FROM user_objects MINUS SELECT object_name, object_type FROM user_objects@&my_db_link HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 32. ITPUB µç×ÓÔÓÖ¾ Oracle DBA ÈÕ³£¹ÜÀí Áù ²Î¿¼ÎÄÏ× . 1. Loney, Kevin Oracle8 DBA Handbook 2. Cook, David Database Management from Crisis to Confidence [http://www.orapub.com/] 3. Cox, Thomas B. The Database Administration Maturity Model HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 33. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý ¹ØÓÚ oracle Öдó¶ÔÏó£¨ lob£©´¦ÀíµÄһЩ·½·¨ºÍʵÀý ÕûÀí£ºÀ¶´øÓã ²ÎÓëÌÖÂÛ£ºÀ¶´øÓ㣬 jlandzpa£¬ coolsword£¬ zl_king£¬ youngcow£¬ flytiger ÔÚ oracle ÖУ¬ÓÐ 4 ¸ö´ó¶ÔÏó£¨ lobs£©ÀàÐÍ¿ÉÓ㬷ֱðÊÇ blob,clob,bfile,nclob¡£ ÏÂÃæÊǶÔÊý¾ÝÀàÐ͵ļòµ¥½éÉÜ£º lob blob:¶þ½øÖÆ lob£¬Îª¶þ½øÖÆÊý¾Ý£¬×¿É´ï 4GB£¬´æÖüÔÚÊý¾Ý¿âÖС£ clob:×Ö·û lob,×Ö·ûÊý¾Ý ,×¿ÉÒÔ´ïµ½ 4GB,´æÖüÔÚÊý¾Ý¿âÖС£ bfile:¶þ½øÖÆÎļþ ;´æÖüÔÚÊý¾Ý¿âÖ®ÍâµÄÖ»¶ÁÐͶþ ½øÖÆÊý¾Ý£¬×î´ó³¤¶ÈÓɲÙ×÷ϵͳÏÞ ÖÆ¡£ nclob£ºÖ§³Ö¶Ô×Ö½Ú×Ö·û¼¯ºÏ (nultibyte characterset)µÄÒ»¸ö ÁС£ clob ¶ÔÓÚÈçºÎ¼ìË÷ºÍ²Ù×÷ÕâЩ lob Êý¾ÝÒ»Ö±ÊÇ Êý¾Ý¿â¿ª·¢Õß¾-³£Åöµ½µÄÎÊÌâ¡ oracle £ ÏÂÃæÎÒ ½«ÔÚracle ¶Ô Êý¾Ý´¦ÀíµÄһЩ·½·¨ºÍ¼¼ÇÉ£¬½éÉܸø¶ÁÕߣ¬Ï£ÍûÄܹ»¶Ô¶ÁÕßÒÔº o lob Ëù°ïÖú¡£ oracle ÖпÉÒÔÓöàÖÖ·½·¨À´¼ìË÷»ò²Ù×÷ lob Êý¾Ý¡ £Í¨³£µÄ´¦Àí·½·¨ÊÇͨ¹ý dbms_lob °ü¡£ ÆäËûµÄ·½·¨°üÀ¨Ê¹Óà api(application programming interfaces)Ó¦ÓÃ³Ì Ðò½Ó¿ÚºÍ oracle oci£¨ call interface£© oracle µ÷ÓýӿڳÌÐò¡£ Ò» ¡¢ÔÚ oracle ¿ª·¢»·¾³ÖÐÎÒÃÇ¿ÉÒÔÓà °üÀ´´¦Àí£¡ dbms_lob dbms_lob °ü¹¦ÄÜÇ¿´ó£¬¼ò µ¥Ó¦Ó᣼ȿÉÒÔÓÃÀ´¶ÁÈ¡ÄÚ²¿µÄ lob ¶ÔÏó£¬Ò²¿ÉÒÔÓÃÀ´´¦Àí bfile ¶ÔÏó¡£µ«´¦ÀíÁ½ÕßÖ®¼ä£¬ »¹ÓÐÒ»µã²î±ð¡£´¦ÀíÄÚ²¿ lob ¶ÔÏó£¨ blob,clob£©Ê±£¬¿ÉÒÔ½øÐжÁºÍд£¬µ«´¦ÀíÍⲿ lob ¶ÔÏó bfile ʱ£¬Ö»ÄܽøÐжÁ²Ù×÷£¬Ð´µÄ²Ù×÷¿ÉÒÔÓà sql Ò²¿ÉÒÔ´¦Àípl/sql ´¦Àí¡£ÁíÍâÓà lob£¬µ«Òª ×¢Òâ ½ö¿ÉÒÔ´¦ÀíÕû¸ö sql lob£¬²»ÄܲÙ×÷ lob µÄÊý¾ÝƬ ¡£ ÔÚ dbms_lob °üÖÐÄÚ½¨ÁË read(),append,write()£¬ erase()£¬ copy(),getlength()£¬ substr() µÈº¯Êý£¬¿ÉÒԺܷ½±ãµØ²Ù×÷ lob ¶ÔÏó¡£ÕâÀï²»×öÉîÈëÌÖÂÛ£¬¶ÁÕß¿ÉÒԲο´Ïà¹ØµÄÊé¼® ¶ÔÓÚl/sql£¬ÏÂÃæ½éÉÜÒ»ÖÖ¼¼ÇÉ£¬Óö¯Ì¬µÄ clob ¶ÔÏóÀ´´«Ìæ±íÃû£¡ p pl/sql Óï¾ä´¦Àí example 1. ¶¯Ì¬ PL/SQL,¶Ô CLOB ×ֶβÙ×÷¿É´«µÝ±íÃû ¬ table_name£ ±íµÄΨһ±êÖ¾×Ö¶ÎÃû field_id£¬ clob ×Ö¶ÎÃû field_name ¼Ç¼ºÅ ¬ v_id£ ¿ªÊ¼´¦Àí×Ö·ûµÄλÖà v_pos£ ¬´«ÈëµÄ×Ö·û´®±äÁ¿ v_clob ÐÞ¸ÄLOB µÄ C PL/SQL ¹ý³Ì£º updateclob create or replace procedure updateclob( table_name in varchar2, field_id in varchar2, field_name in varchar2, v_id in number, v_pos in number, v_clob in varchar2) is lobloc clob; c_clob varchar2(32767); amt binary_integer; pos binary_integer; query_str varchar2(1000); begin pos:=v_pos*32766+1; HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 34. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý amt := length(v_clob); c_clob:=v_clob; query_str :='select '||field_name||' from '||table_name||' where '||field_id||'= :id for update '; --initialize buffer with data to be inserted or updated EXECUTE IMMEDIATE query_str INTO lobloc USING v_id; --from pos position, write 32766 varchar2 into lobloc dbms_lob.write(lobloc, amt, pos, c_clob); commit; exception when others then rollback; end; /Ó÷¨ËµÃ÷£º ÔÚ²åÈë»òÐÞ¸ÄÒÔÇ°£¬ÏÈ°ÑÆäËü×ֶβåÈë»òÐ޸ģ¬ CLOB ×Ö¶ÎÉèÖÃΪ¿Õ empty_clob()£¬ È»ºóµ÷ÓÃÒÔÉϵĹý³Ì²åÈë´óÓÚ ¸ö×Ö·û¡£ 2048 µ½ 32766 Èç¹ûÐèÒª²åÈë´óÓÚ 32767 ¸ö×Ö·û£¬±àÒ»¸öÑ-»·¼´¿É½â¾öÎÊÌâ¡£ ²éѯLOB µÄ C PL/SQL º¯Êý£º getclob create or replace function getclob( table_name in varchar2, field_id in varchar2, field_name in varchar2, v_id in number, v_pos in number) return varchar2 is lobloc clob; buffer varchar2(32767); amount number := 2000; offset number := 1; query_str varchar2(1000); begin query_str :='select '||field_name||' from '||table_name||' where '||field_id||'= :id '; --initialize buffer with data to be found EXECUTE IMMEDIATE query_str INTO lobloc USING v_id; offset:=offset+(v_pos-1)*2000; --read 2000 varchar2 from the buffer dbms_lob.read(lobloc,amount,offset,buffer); return buffer; exception when no_data_found then return buffer; end; Ó÷¨ËµÃ÷£º Óà select getclob(table_name,field_id,field_name,v_id,v_pos) as partstr from dual; HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 35. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý ¿ÉÒÔ´Ó LOB ×Ö¶ÎÖÐÈ¡ C 2000 ¸ö×Ö·ûµ½ partstr ÖУ¬±àÒ»¸öÑ-»·¿ÉÒÔ°Ñ partstr ×éºÏ³É dbms_lob.getlength(field_name)³¤¶ÈµÄÄ¿±ê×Ö·û´®¡£ ¶þ¡¢¶ÔÓÚÔÚÆäËû²»Í¬µÄ¿ª·¢»·¾³£¬ÀýÈç vc,vb,pb,java µÈ»·¾³ÏÂ¶Ô lob µÄ´¦Àí£¬´¦Àí·½ ·¨²»¾¡Ïàͬ£¬ÔÚÕâÀォ¼òÒª¾Ù¼¸¸öÀý×ÓÀ´ËµÃ÷²»ÔÚ µÄ´¦Àí¡£ oracle ¿ª·¢»·¾³ÏÂ¶Ô lob £¨Ò»£©ÔÚ pb ÖеĴ¦Àí exampler 2. string ls_path,ls_filename,ls_jhdh long ll_num,ll_count,rtn blob ole_blob ll_num=dw_lb.getrow() if ll_num>0 then ls_jhdh=dw_lb.object.ct_njhdh[ll_num] select count(*) into :ll_count from sj_jh_jhfjb where ct_jhdlxbh='1' and ct_jhdh=:ls_jhdh and ct_jdlxbh=:is_jdlx; if ll_count>0 then rtn=messagebox("Ìáʾ ","ÊÇ·ñÒªÐ޸Ĵ˸½¼þ ",question!,yesno!,1) if rtn=1 then SELECTBLOB ct_jhfjnr INTO le_blob from sj_jh_jhfjb where ct_jhdlxbh='1' and ct_jhdh=:ls_jhdh and ct_jdlxbh=:is_jdlx; ole_1.objectdata =ole_blob If ole_1.activate(offsite!) <> 0 Then Messagebox("OLE Activate","²»Äܼ¤»î ") Return -1 end If end if else messagebox("Ìáʾ ","ûÓи½¼þ ") end if end if £¨¶þ£©ÔÚ vb ÖеĴ¦Àí ÔÚ Öд¦Àí´ó¶ÔÏó£¬Ò»°ã¿ÉÒÔÓà objects for ole)À´´¦Àí´ó¶ÔÏó¡£ÕâÀï½é vb OO4O(oracle ÉÜÒ»ÖÖ²»Óà ´¦Àí´ó¶ÔÏóµÄ·½·¨¡£ 0040 blob ÏÂÃæÕâ¶Î³ÌÐò¿ÉÒÔ½«Ò»¸öÎļþ£¨Îı¾Îļþ£¬ doc Îļþ£¬Í¼ÏóÎļþµÈ£©±£´æµ½Êý¾Ý¿âÖУ¬ ²¢¿ÉÒÔ½«Æä´ÓÊý¾Ý¿â¶Á³ö ÐèÒªÁ½¸ö commandbutton cmd1 Ãû³Æ cmdsave caption ±£´æ cmd2 Ãû³Æ cmdread caption ¶ÁÈ¡ Ò»¸ö cmddialog ¿Ø¼þ ͬʱÐèÒª´´½¨Ò»Õűí t_demo(×ֶΠÀàÐÍ id number,;×ֶΠÀàÐÍ text blob;) exmple 3. Option Explicit Dim rn As ADODB.Connection Public Function CreateDataSource(DataSource As String, UserID As String, Password As String) As Boolean HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 36. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý On Error GoTo DbConErr: Set rn = New ADODB.Connection With rn .ConnectionString = "Provider=OraOledb.Oracle.1;" & _ "password=" & Password & ";" & _ "User ID =" & UserID & ";" & _ "Data Source=" & DataSource & ";" & _ "Locale Identifier=2052" .Open End With CreateDataSource = True Exit Function DbConErr: CreateDataSource = False End Function Private Sub cmdRead_Click() Dim rs As New ADODB.Recordset rs.ActiveConnection = rn rs.LockType = adLockOptimistic rs.CursorLocation = adUseClient rs.Source = "select * from t_demo" rs.Open ComDlgDir.DialogTitle = "±£´æÎļþ " ComDlgDir.Filter = "*.*" ComDlgDir.ShowSave Call BlobToFile(rs.Fields("text"), ComDlgDir.filename) Set rs = Nothing Exit Sub Set rs = Nothing End Sub Private Sub cmdsave_Click() Dim rs As New ADODB.Recordset rs.ActiveConnection = rn rs.LockType = adLockOptimistic rs.CursorLocation = adUseClient rs.Source = "select * from t_demo" rs.Open rs.AddNew ComDlgDir.DialogTitle = "Ñ¡È¡Îļþ" ComDlgDir.ShowOpen rs.Fields("id").Value = 1 If ComDlgDir.filename <> "" Then HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 37. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý Call FileToBlob(rs.Fields("text"), ComDlgDir.filename) rs.Update End If Set rs = Nothing Exit Sub Set rs = Nothing End Sub Private Sub Form_Load() If Not CreateDataSource("sid", "systemp", "manager") Then MsgBox "Connection failure!" End If End Sub fld As ADODB.Field, filename As String, Optional ChunkSize As Long = 8192) Dim fnum As Integer, bytesleft As Long, bytes As Long Dim tmp() As Byte If (fld.Attributes And adFldLong) = 0 Then Err.Raise 1001, , "field doesn't support the GetChunk method." End If If Dir$(filename) = "" Then Err.Raise 53, , "File not found" fnum = FreeFile Open filename For Binary As fnum bytesleft = LOF(fnum) Do While bytesleft bytes = bytesleft If bytes > ChunkSize Then bytes = ChunkSize ReDim tmp(1 To bytes) As Byte Get fnum, , tmp fld.AppendChunk tmp bytesleft = bytesleft - bytes Loop Close #fnum End Sub Sub BlobToFile(fld As ADODB.Field, filename As String, Optional ChunkSize As Long = 8192) Dim fnum As Integer, bytesleft As Long, bytes As Long Dim tmp() As Byte If (fld.Attributes And adFldLong) = 0 Then Err.Raise 1001, , "field doesn't support the GetChunk method." End If If Dir$(filename) <> "" Then Kill filename fnum = FreeFile HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 38. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý Open filename For Binary As fnum bytesleft = fld.ActualSize Do While bytesleft bytes = bytesleft If bytes > ChunkSize Then bytes = ChunkSize tmp = fld.GetChunk(bytes) Put #fnum, , tmp bytesleft = bytesleft - bytes Loop Close #fnum End Sub £¨Èý£©Óà ´¦Àí jdbc lob exmple 4. Ê×ÏÈÊÇ Getting BLOB and CLOB Locators from a Result Set // Select LOB locator into standard result set. ResultSet rs =stmt.executeQuery ("SELECT blob_col, clob_col FROM lob_table"); while (rs.next()) {// Get LOB locators into Java wrapper classes. oracle.jdbc2.Blob blob = (oracle.jdbc2.Blob)rs.getObject(1); oracle.jdbc2.Clob clob = (oracle.jdbc2.Clob)rs.getObject(2); [...process...] } È»ºóÊÇ BLOB data from BLOB locator. Read InputStream byte_stream = my_blob.getBinaryStream(); byte [] byte_array = new byte [10]; int bytes_read = byte_stream.read(byte_array); ºÍ Writing BLOB Data java.io.OutputStream outstream; // read data into a byte array byte[] data = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; // write the array of binary data to a BLOB outstream = ((BLOB)my_blob).getBinaryOutputStream(); outstream.write(data); »¹ÓÐassing a BLOB Locator to a Prepared Statement P OraclePreparedStatement ops = (OraclePreparedStatement)conn.prepareStatement "INSERT INTO blob_table VALUES(?)"); ops.setBLOB(1, my_blob); ops.execute(); ×îºóÓ¦¸Ã×¢Ò⣺ insert µÄʱºòÒ»¶¨ÒªÓà empty_blob()³õʼ»¯ stmt.execute ("insert into my_blob_table values ('row1', empty_blob()"); £¨ËÄ£©ÔÚ ÖеĴ¦Àí pro*c PRO*C ¿ÉÒÔÓÃÈýÖÖ·½Ê½¶Ô LOB ×ֶδ¦Àí¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 39. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý 1¡¢ The DBMS_LOB package inside PL/SQL blocks. 2¡¢ OCI (Oracle Call Interface) function calls. 3¡¢ Embedded SQL statements. Embedded SQL statements.µÄ·½Ê½¼òµ¥¶øÇұȽÏÁé»î¡£ OTN ÉÏÌṩһ¸öÀý×Ó£º In this example we will be reading data from a BLOB with an unknown arbitrary length into a buffer and then writing the data from the buffer into an external file. Our buffer is small, so depending on the size of the BLOB we are reading, we may be able to read the BLOB value into the buffer in a single READ statement or we may be required to utilize a standard polling method instead. First we start off with oci.h and some simple local variable declarations example 5. #include <oci.h> OCIBlobLocator *blob ; FILE *fp ; unsigned int amt, offset = 1 ; Now we need a buffer to store the BLOB value and then write to the file from: #define MAXBUFLEN 5000 unsigned char buffer[MAXBUFLEN] ; EXEC SQL VAR buffer IS RAW(MAXBUFLEN) ; Allocate the BLOB host variable and select a BLOB which we will READ: EXEC SQL ALLOCATE :blob ; EXEC SQL SELECT a_blob INTO :blob FROM lob_table WHERE ... ; We can then open the external file to which we will write the BLOB value: fp = fopen((const char *)"image.gif", (const char *)"w") ; If the buffer can hold the entire LOB value in a single READ we need to catch the NOT FOUND condition to signal LOB READ termination: EXEC SQL WHENEVER NOT FOUND GOTO end_of_lob ; Now do our first READ.We set the amount to the maximum value of 4 Gigabytes. It is larger than our buffer so if the LOB doesn’fit we will READ using a polling t mode: amt = 4294967295 ; EXEC SQL LOB READ :amt FROM :blob AT ffset INTO :buffer ; If we get here then it means that the buffer was not large enough to hold the entire LOB value, so we must write what we have using binary I/O and continue reading: (void) fwrite((void *)buffer, (size_t)MAXBUFLEN, (size_t)1, fp) ; We use a standard polling method to continue reading with the LOB READ inside of an infinite loop. We can set up the NOT FOUND condition to terminate the loop: EXEC SQL WHENEVER NOT FOUND DO break ; while (TRUE) { During polling, the offset is not used so we can omit it in subsequent LOB READs. We need the amount, however, because it will tell us how much was READ in the last READ invocation EXEC SQL LOB READ :amt FROM :blob INTO :buffer ; HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 40. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý (void) fwrite((void *)buffer, (size_t)MAXBUFLEN, (size_t)1, fp) ; } Here, we have reached the end of the LOB value. The amount holds the amount of the last piece that was READ. During polling, the amount for each interim piece was set to MAXBUFLEN, or the maximum size of our buffer: end_of_lob: (void) fwrite((void *)buffer, (size_t)amt, (size_t)1, fp) ; £¨Î壩ÔÚ delphi ÖеĴ¦Àí ¶ÔÓÚ ×ֶζøÑÔ£¬¸öÈËÈÏΪÆäʹÓÃ±È lob long ÀàÐÍÓкܴóµÄÁé»îÐÔ£¬¶øÇÒ lob ×ֶοÉÒÔ±£´æ¸÷ ÀàµÄÊý¾Ý£¬¿ÉÒÔ±£´æͼƬ£¬´óÁ¿µÄÎÄ×Ö£¬ÏÖ¾Í clob ¸úblob Á½ÖÖÀàÐͼÓÒÔ˵Ã÷£¬ÆäÖÐ blob ±£´æͼƬÐÅÏ¢£¬ clob ±£´æ´óÁ¿ÎÄ×Ö¡£ exmple 6. Create table test_table (c_no number(1) not null, c_blob blob, c_clob clob, constraint pk_test_table primary key (c_no)); unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, Grids, DBGrids, DB, DBTables, ExtDlgs; type TForm1 = class(TForm) Database1: TDatabase; //ÓÃÓÚÁ¬½ÓÊý¾Ý¿â Table1: TTa ble; //»ñÈ¡±íÐÅÏ¢ DataSource1: TDataSource; DBGrid1: TDBGrid; DBMemo1: TDBMemo; //ÏÔʾ c_clob ×Ö¶ÎÄÚÈÝ DBImage1: TDBImage; //ÏÔʾ c_blob ×Ö¶ÎÄÚÈÝ Button1: TButton; //²åÈë°´Å¥ Button2: TButton; //±£´æ°´Å¥ Table1C_NO: TFloatField; //Tfiled Table1C_BLOB: TBlobField; Table1C_CLOB: TMemoField; OpenPictureDialog1: TOpenPictureDialog; //´ÓÎļþ»ñȡͼƬ OpenDialog1: TOpenDialog; //´ÓÎļþ»ñÈ¡ÎÄ×Ö procedure Button1Click(Sender: TObject); HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 41. ITPUB µç×ÓÔÓÖ¾ ¹ØÓÚ Oracle Öдó¶ÔÏó£¨ lob£© ´¦ÀíµÄһЩ·½·¨ºÍʵÀý procedure Button2Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin //²åÈë²Ù×÷ with Table1 do begin Insert; //½«±í״̬ÖÃΪ²åÈë״̬ if OpenPictureDialog1.Execute then //»ñµÃͼƬÐÅÏ¢ Table1C_BLOB.LoadFromFile(OpenPictureDialog1.FileName); if OpenDialog1.Execute then //»ñµÃÎÄ×ÖÐÅÏ¢ Table1C_CLOB.LoadFromFile(OpenDialog1.FileName); end; end; procedure TForm1.Button2Click(Sender: TObject); begin //Ìá½»²åÈëÄÚÈÝ try Table1.Post; except Application.MessageBox('´íÎó·¢Éú ',0); ','¾¯¸æ end; end; end. ×¢Ò⣺ openpiceturedilog Ö»ÄÜ´ò¿ª dmp,ico,wmf µÈÎļþ£¬ÊÂÏÈÐèÒª½«Í¼Æ¬Îļþ¸ñʽ±£´æ³ÉÕ ¼¸Àࣻ ÔÚÎÄ×Ö×ֶβ»´ÓÎļþ»ñµÃʱ£¬¿ÉÒÔÊÖ¶¯ÊäÈë¡£ ±¾ÀýÖ»ÊÇ¶Ô lob ×ֶεÄÒ»¸öССµÄ̽Ë÷£¬Ó÷¨²»µ±¼°Ðè¸ÄÕýÖ®´¦£¬»¹Çë¶à¶àÖ ×¢ :±¾ÆªÎÄÕ´󲿷ÖÀý×Ó¾ùÈ¡×ÔÂÛ̳£¬ÈçÓÐÇÖ·¸ÄúµÄ°æȨ£¬ÇëÀ´ÐŸæ Öª£¬ÎÒÃÇ»á×öÏàÓ¦´¦Àí¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 42. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — Developer2000 ϵÁн²×ùÖ®Ò» (×÷Õß:Ë÷ÂíÀï) Developer2000 ¿ª·¢ Step by Step Oracle Êǹú¼ÊÓÐÓ°ÏìÁ¦µÄ×ÊÁÏ¿â¹ÜÀíϵͳ ×÷Ϊ racle µÄµÚ¶þ´ú¿ª·¢ , Developer2000 O ¹¤¾ßÊÇÒ»¸ö¹¦ÄÜÇ¿´ó ,·½±ãÁé»î ,ѧϰ¼òµ¥µÄ¿ª·¢¹¤¾ß . ×÷Ϊ racle µÄ¿ª·¢ÈËÔ± O ,Ó¦¶ÔÆäÒªÓРЩÁ˽â . ±¾ÎIJÉÓÃÒ»²½Ò»²½Í¼½âµÄ·½Ê½Developer ¼òµ¥µÄ³ÌÐòµÄ¿ª·¢·½Ê½ ,ÏòÄú¼òµ¥½éÉÜ .Èôó¼Ò ¶ÔDeveloper2000 ÓÐËùÁ˽⠱¾ÎÄËùÓõ½µÄ±íÊÇ Dept ºÍEmp Á½¸ö±í ; ·±Ìåin95 + Form 5.0, demo Ï嵀 . »·¾³ w ³ÌÐòµÄ¹¦ÄÜÊDzéѯ¹ÜÀí¸÷¸ö²¿ÃÅÖеÄÔ±¹¤ . ×îºó³ÌÐòµÄ½çÃæÈçͼËùʾ : ͼ1 Ò»¿ª·¢Ç°µÄ×¼±¸¹¤×÷ : 1. È¥otn.oracle.com ×¢²áÕʺÅÃâ·ÑÏÂÔØ Developer2000 Èí¼þ 2. °²×°²¢ÅäÖúà Developer2000 3. ÉèÖúÃÊý¾Ý¿â±ðÃû server ²¢¼ì²é , ±¾ÎÄʹÓà demo/demo ϵÄept ºÍEmp Á½¸ö±íÊÇ·ñ D Õý³£ , ¶þ´Ó¿ªÊ¼ ,³ÌÐòÖдò¿ª Builder,Ìø³öÈç϶Ի°¿ò Form HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 43. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ2 Ñ¡Ôñk,½øÈëÏÂÒ»Ò³Ãæ o ͼ3 Õâ¸öÒ³ÃæÊǽéÉÜÐÔÒ³Ãæ ,°´Next ½øÈëÏÂÒ»²½ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 44. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ4 Õâ¸öÒ³ÃæÊÇÈÃÑ¡ÔñÊý¾Ý¿é (Datablock)µÄÀàÐÍ .ÎÒÃÇÔÝʱ²»×ö½éÉÜ Table or View ½ø ,Ñ¡ÔñĬÈÏ ÈëÏÂÒ»¸öÒ³Ãæ ; ͼ5 ÕâÀïÈôó¼ÒÑ¡Ôñ±íºÍÒª¼ìË÷Êý¾Ý¿âµÄ±íµÄÀ¸Î» ,ÎÒÃǵã»÷ Browse….ÏÔʾ ͼ6 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 45. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ¼üÈëdemo/demo@server °´Connect ½øÐÐ Êý¾Ý¿âÁ¬½Ó , ͼ7 ½øÈëÕâ¸ö»-Ãæ ,ÓÉÓÚÎÒÃDzéѯµÄÊDZíËùÒÔ ,ÎÒÃÇÖ±½ÓÓÃĬÈÏÖµ ,Ñ¡Ôñk o ͼ8 Áбí¿òÏÔʾ Óû§ÏµÄËùÓеıí demo ,ÎÒÃÇÊ×ÏÈÏȽ¨Á¢²¿ÃÅµÄ ,ËùÒÔÑ¡ÉÏ ±í ok.ÈçÏ Dept .°´ ͼËùʾ : ͼ9 Avalable Columns ϵÄÁбí¿òÏÔʾÁËËùÓÐ Dept ±íµÄÀ¸Î» ,ÓÒ±ßµÄ Database Items À¸Î»±íʾ ÎÒÃÇÔÚ³ÌÐòÖÐÐèÒª¼ìË÷µÄÀ¸Î» ,ÓÉÓÚÎÒÃǸñíÖÐËùÓеÄÀ¸Î»¶¼ÐèÒª²Ù×÷ ,ËùÒÔÎÒÃÇ°´ÖмäµÄ £¾£¾ °´Å¥°Ñ×ó±ßËùÓеÄÀ¸Î»Òƶ¯µ½ÓұߵÄÁбí¿òÖУ¬È»ºó°´ Next ½øÈëÏÂÒ»²½¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 46. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ10 µ½Õâ¸öÒ³ÃæÎÒÃÇÓÃÏòµ¼µÄÐÎʽÍê³ÉÁ˳ÌÐòÖÐ Datablock µÄÖÆ×÷£¬ÏÂÃæÎÒÃÇËùÒª×öµÄ¾ÍÊÇ°Ñ Datablock µÄÀ¸Î»·ÅÖõ½ Canvase(»-²¼ )ÉÏ¡£Ò²¾ÍÊÇ˵£¬ Form µÄʵÖÊÊÇͨ¹ý Datablock ÓëÊý ¾Ý¾¶Ðн»»¥²Ù×÷£¬¶øͨ¹ý°Ñ Datablock ÖеÄÀ¸Î»·ÅÖÃÔÚ ÉÏ´Ó¶øʹ³ÌÐòÓëʹÓÃÕß½¨Á¢ Canvas ÁËÒ»¸ö¿ÉÊÓ»¯µÄ»·¾³¡£´ò¸ö±ÈÓ÷£¬¾ÍÏó±±·½µÄ´°»¨Ò»Ñù£¬ÎÒÃÇÒѾ-°ÑºìÖ½ÕÅ Ò»¸öµÄ»¨µÄÐÎ×´£¬¾Í ÏñÎÒÃÇÓý¨Á¢ºÃÁË Datablock£¬È»ºóÎÒÃÇÒª×öµÄ¾ÍÊǰѼôºÃµÄ»¨ÌùÔÚ´° »§ÉÏÒ»Ñù¡£ ÉÏͼÖÐÓÐÁ½¸öÑ¡Ïһ¾ÍÊÇͨ¹ý Form Ïòµ¼µÄÐÎʽ½¨Á¢Õû¸ö»-ÃæµÄ²¼¾Ö¡£¶þ¾ÍÊÇÊÖ¹¤Ìí ÎÒÃÇÔÚÕâÀïÑ¡ÔñĬÈ쵀 layout Ïòµ¼ÐÎʽ¡£°´ Finish¡£ ÏÔʾÏÂͼ : ͼ11 ÕâÀïÊÇÒ»°ãÐԵĽéÉÜ»¶Ó-Ò³Ã棬¿ÉÒÔ²»¿´£¬°´ Next °´Å¥½øÈëÏÂÒ»¸öÒ³Ãæ : HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 47. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ12 Õâ¸öÒ³ÃæÈÃÎÒÃÇÑ¡ÔñÎÒÃÇÒª°ÑÏÔʾµÄÀ¸Î»·ÅÔÚÄĸö Canvas ÉÏ£¬ÓÉÓÚÎÒÃÇÉÐ佨Á¢ÈκΠCanvas£¬ËùÒÔÎÒÃÇÖ»ÓÐ New Canvas Õâ¸öÑ¡Ïî¡£ÏÂÃæµÄ Type ÔòÊǸà Canvas ÀàÐÍ¡£ÎÒÃÇ Ê¹ÓÃontent£¬ÆäËüÀàÐÍÎÒÃÇÒÔºó½éÉÜ¡£°´ : C Next ½øÈëÏÂÒ»²½ ͼ13 ÔÚ×ó±ßµÄ Available Item Áбí¿òÄÚ£¬ÎÒÃÇÁгöÁËËùÓеÄÔÚÎÒÃÇÉÏÃæËù½¨Á¢ Datablock ʱËùº¬ µÄÀ¸Î»£¬ÓÉÓÚÎÒÃÇËùÓеÄÀ¸Î»¶¼ÒªÏÔʾ³öÀ´£¬ËùÒÔÎÒÃÇ°µÖмûµÃµÄ >> °´Å¥È«²¿×ªÒƵ½ Displayed Item Áбí¿òÖС£°´ Next ½øÈëÏÂÒ»²½¡£ ͼ14 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 48. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — Canvas ÖÐÏÔʾÀ¸Î»µÄ ÕâÒ»²½Êǹ涨ÔÚ Prompt(±êÌâ )£¬×ó±ßµÄͼºÜÐÎÏóµÄ˵Ã÷ÁË Prompt ´ú ±íÉõô¡£ÕâÀﻹÈôó¼Ò¹æ¶¨À¸Î»¿í¶È£¬ºÍ¸ß¶È¡£½¨Òé´ó¼Ò²»Ê¹ÓÃËüµÄ Prompt£¬ÔÚºóÃæµÄϵ ÁÐÎÄÕÂÖÐÎÒÃÇ»á×ö˵Ã÷ . ΪÁ˱¾ÎÄÒÔºó˵Ã÷·½±ãÎÒÃÇ»¹ÊDzÉÓÃÁËÀ¸Î»µÄ Prompt£¬ÐÞ¸ÄÀïÃæ µÄÃû³ÆΪºÏÊʵÄÃû³Æ¡£ÎÒÃǵÄÃû³ÆÊÇ Deptno ÃüÃûΪ²¿ÃűàºÅ£¬ Dname ÃüÃûΪ²¿ÃÅÃû³Æ ,Loc ÔòÃüÃûΪµØµã¡£ÏÔʾÀ¸Î»µÄ¿í¶ÈºÍ¸ß¶ÈÎÒÃÇÔÚÍê³ÉÏòµ¼ºóÔÙµ÷Õû£¬°´ Next ½øÈëÏÂÒ»²½ ͼ15 µ½ÕâÒ»²½Èôó¼ÒÑ¡Ôñ Canvas ÉÏ·ÅÖõÄÕâЩÀ¸Î»µÄÏÔ Ê¾·½Ê½¡£´ó¼Òͨ¹ýÑ¡Ôñ From »òÕß Tabular µÄͬʱ²é¿´×ó±ßµÄͼÐÎÏÔʾÀ´Ìå»áÕâÁ½ÖÖ·½Ê½µÄÇø±ð£¬Ò»°ãÀ´Ëµ Form ·ç¸ñͨ³£Óà ÔÚµ¥¼Í¼µÄ Datablock ÀïÃæ ,Tabular ·ç¸ñͨ³£Ê¹ÓÃÔÚ¶à¼Í¼µÄ .ÓÉÓÚÎÒÃdzÌÐò Datablock ÀïÃæ µÄÄ¿µÄÊÇͨ¹ýÑ¡Ôñ Dept À´ÏÔʾ¸Ã²¿ÃÅϵÄÔ±¹¤ ,ËùÒÔÎÒÃÇÿ´ÎÖ»ÏÔʾһ´Î¼Í¼ ,ËùÒÔÎÒÃÇ²É ÓÃForm ·ç¸ñ Next ¼ÌÐø .°´ . ͼ16 Õâ¸ö»-ÃæÐèÒª¶¨ÖõÄÊÇ¿ò¼ÜÃû³Æ .¼Í¼µÄÏÔʾÊý ,ÒÔ¼°Ã¿¸ö¼Í¼¼äÏÔʾµÄ¾àÀë ,ÓÉÓÚÎÒÃÇÿ´Î Ö»ÓÐÒ»Ìõ¼Í¼ ,ËùÒÔÎÒÃÇÈ«²¿²ÉÓÃĬÈÏÖµ . ,°´Next ¼ÌÐø HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 49. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ17 µ½ÕâÒ»²½ ,ÎÒÃÇÒѾ-´´½¨ÁË»ù±¾µÄ ,¹§Ï² Block ºÍCanvas,°´Finish Íê³É½øÈëÖ÷»-Ãæ ,ÕâÀïÊÇÎÒ ÃÇµÄ bject Navigator »·¾³ O ,Èç¹û²»ÔÚ ,ÇëÑ¡Ôñ²Ëµ¥ Ï嵀 Tools ,Object Navigator »òÕß¿ì½Ý¼ü F3 ½øÈë , ͼ18 ÎÒÃÇ¿´¿´¶à³öÁËÄÇЩ¶«Î÷ : HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 50. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ÕâÀï¶à³ýÁËÒ» ¸öÒԸñíµÄÃû³ÆÃüÃûµÄ Datablock,ºÍÒ»¸ö Canvas,ÏÂÃ滹¶à³öÁËÒ»¸ö Window, windows ÊÇ°üº¬¿ÉÊÓ»¯ Form¶ÔÏóµÄÈÝÆ÷ ,¶øCanvas ÊÇ°Ñ¿ÉÊÓ»¯¶ÔÏó ” ” »-ÔÚÉÏÃæµÄÒ»¸ö½Ó¿Ú , ΪÁË¿´µ½Õâ¸ö ÉϵĶ«Î÷ Canvas ,ÎÒÃDZØÐë°Ñ ·ÅÔÚindows ÉÏ Canvas w .ÎÒÃÇÔÚÒÔºóµÄÕ½ÚÏê ϸ½éÉÜÕâÈýÕߵĹØϵ ..ÏÂÃæÎÒÃÇ¿´¿´ÎÒÃÇµÄ Canvas ÉÏÓÐÁËÄÇЩ¶«Î÷ .ËûÃÇ×Ô¼ºµÄ¹Øϵ ,ÎÒÃÇ ÒѾ-ͨ¹ýÏòµ¼³ÌÐò×Ô¶¯Éú³ÉÁË ÎÒÃÇÑ¡Ôñ¹¤¾ßÌõÉ쵀 Layout Editor,»ò°´2 ¿ì Tools Ï嵀 F ½Ý¼ü½øÈë Layout ±à¼-Æ÷ ,ÎÒÃÇÔÚÕâ Àï ,¿ÉÒÔµ÷Õû Canvas Éϸ÷¸ö¶ÔÏóµÄλÖÃµÈ . ´ò¿ªºóÈçÏÂͼÏÔʾ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 51. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ19 ÕâÀïÏòµ¼ÒѾ-×Ô¶¯µÄ°ïÖúÎÒÃÇÍê³ÉÁËÒ²µ÷Õû ,´ó¼Ò¿ÉÒÔ¿´¿´ ,Èç¹û²»ÂúÒâ ,¿ÉÒÔͨ¹ýÍÏÀ-¾¶ÐÐ µ÷Õû ,¾ßÌåµÄ²Ù×÷ÎÒÃÇÒ²ÒÔºó½éÉÜ ,ÖмäÊÇÈý¸öÏÔʾµÄÀ¸Î» ,×îÍâÃæ°üΧ×ŵÄÊÇÒ»¸ö Frame ¿ò . ÕâÀïÎÒÃÇ¿ªÊ¼ÐÞ¸ÄÍâÃæµÄ Frame ¿òµÄÊôÐÔ , µãѡס Frame ¿ò ,Ñ¡Ôñ²Ëµ¥ ϵÄroperty Tools P Palette »ò°´¿ì½Ý¼ü F4 ½øÈëÊôÐÔ±à¼-Æ÷ ,ÕâÀïÏÔʾÁ˸à ¿òµÄÈ«²¿ÊôÐÔ Frame ,×Ðϸ²éÕÒµ½Èç Ï ͼÊôÐÔ Update Layout: ÆäÖÐÓÐÈý¸öÑ¡Ïî ,Manually,Automatically,Locked,ÕâÀïĬÈÏÉèÖÃΪ Automatically,Òâ˼Êǵ±¸ü ¸ÄÁËrame ¿òµÄ´óС F ,Layout Ëæ¼´×Ô¶¯±¸¸üР,Manually,ÊÇÖ¸rame ¸úкó F ,ÐèÒªÊÖ¹¤¾¶ÐÐ Layout ¸üР,Locked ÊÇ°Ñayout Ëø¶¨ L ,²»Äܾ¶ÐиüР.ÕâÀィÒéʹÓà Manually,ÕâÑù¶ÔÒÔºó¾¶ Ðе÷Õû ,·Ç³£·½±ã . ºÃÁË ,ÎÒÃDZàÒëÔËÐÐÒ»ÏÂÎÒÃÇÄ¿Ç°µÄ³É¹û°Ñ ,Ñ¡Ôñ²Ëµ¥À¸É쵀 ϵÄun Form »ò Program R Õß°´¿ì½Ý¼ü Ctrl+R,ÎÒÃÇ¿´¿´ ,Ä¿Ç°ÓÐÁËÉõô³É¹û . HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 52. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ20 ÕâÀïÔÚÎÒÃdzÌÐòÔËÐÐÔÚ Form µÄRuntime »·¾³ÖÐ Builder ÒѾ-°ïÎÒÃÇÖ¸¶¨ÁËһЩ³£¼û ,Form ²Ù×÷ ,²éѯ ,Èç ,°´Ìõ¼þ²éѯ ,ÉÏÒ»Ìõ¼Í¼ ,ÏÂÒ»Ìõ¼Í¼ ,´æÅÌ ,²åÈë ,´òÓ¡ ,ɾ³ýµÈ ,ÎÒÃÇËùÒª×öµÄÖ» ÊÇÄÜʹÓÃËü¾Í¿ÉÒÔÁË ,ÕâÀïÊÇ Developer2000 ¹¤¾ß¼¯µÄÓÅÔ½Ö®´¦ ,µ±È»ÎÒÃÇÒ²¿ÉÒÔ×Ô¶¨Òå²Ë µ¥ ,×Ô¼ºÖÆ×÷²Ëµ¥ ,ÕâÔÚÒÔºó½éÉÜ . ºÃÁË ,ÎÒÃǰѵ±Ç°¹â±ê·ÅÔÚ²¿ÃűàºÅµÄÎÄ×Ö¿òÖÐ ÷ΪִÐвéѯ ,È»ºó°´Ï°´Å¦ × ,ÕâÑùÎÒÃÇ ¾ÍÄÜ¿´µ½ÎÄ×Ö¿òÀïÊý¾Ý¿âÀïÈ¡³öÁËÊý¾Ý ·Ö±ðÊÇ ,°´Å¦ ,µÚÒ»Ìõ ,ÉÏÒ»Ìõ ,ÏÂÒ»Ìõ , ×îºóÒ»Ìõ¼Í¼µÄÒâ˼ ,Èç¹û²Ù×÷ÓдíÎó ,»áÔÚÏÂÃæ״̬À¸ÉÏÏÔʾ ,¿ÉÒÔÔڲ˵¥ ,Èç¹û²»Ì«Çå³þ Help ϵÄisplay Error ÏÔʾÏêϸ´íÎó D ,ºÃÁË ,´ó¼Ò¿ÉÒÔÊìϤһÏÂÕâÀïµÄ»·¾³ . ×îºó°´ Í˳ö³ÌÐò ,»Øµ½³ÌÐò±à¼-»·¾³ . ÏÂÃæÎÒÃǽ«Í¨¹ýÏòµ¼Íù³ÌÐòÀïÌí¼ÓÔ±¹¤µÄÐÅÏ¢ÏÔʾÄÇ¿é ÕÅͼËù ,×îÖÕ´ïµ½µÄЧ¹ûÈç±¾ÎÄͼ 1 ʾ ,²Ù×÷ÖÐ ,ͨ¹ýÎÒÃÇÑ¡Ôñ²¿ ÃżÍ¼ ,Ëæ¼´ÏÔʾ¸Ã²¿ÃÅËùÓеÄÔ±¹¤µÄÐÅÏ¢ . »Øµ½ÎÒÃǵıà¼-»·¾³Àï ,¿´¿´ÎÒÃÇÊDz»ÊÇÔÚ Object Navigator »·¾³Àï ,Èç¹û²»ÔÚ F3 ½øÈë ,Çë°´ . ѡסataBlocks,ÈçÏÂͼËùʾ D : °´×ó±ßµÄ¹¤¾ßÌõÉ쵀 °´Å¥ ,ÎÒÃÇÔö¼ÓÒ»¸ö Datablock,ÏÔʾÈç϶Ի°¿ò HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 53. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ͼ21 ѯÎÊʱÓà Ïòµ¼Éú³É»¹ÊÇ ,ÕâÀïÎÒÃÇ»¹ÊDzÉÓÃÏòµ¼ Block ,ʹÓÃÊÖ¹¤ ,ÕâÑù ,ÎÒÃǻص½ÁËͼ 3,°´ÉÏ ÃæËùÊöµÄ˳Ðò ,ÔÙ½øÐÐÌí¼Ó .×¢ÒâҪѡÔñ ±í Emp , ÓÉÓÚept ºÍ D Emp ±íÖ®¼äÓÐÍâ¼ü¹Øϵ ,ËùÒÔÒª½øÐе½ÏÂÃæͼ 22 ͼ22 Èç¹ûÒª½¨Á¢Ò»¸öÖ÷´Ó¹ØϵµÄ Datablock,ÕâÀïÒª´´½¨Ò»¸ö¹Øϵ (Relationship),ÎÒÃǵã»÷ Create Relationship,ÓÉÓÚept ºÍ D Emp ±íÖ®¼äÓÐÍâ¼ü¹Øϵ ,ËùÒÔÎÒÃÇ¿ÉÒÔ¿´µ½ÀïÃæÓÐÓë±í Dept Á¬½Ó µÄEmp_foreigh_KEY ÕâÑùµÄÍâ¼ü ,ÎÒÃÇÑ¡Ôñ ,ÔòÔÚÓÒ±ß Master Data Blocks ÀïÃæept ×ÖÑù D , °´Next ¼ÌÐø ,ÏÂÃæͬÉÏÃæ´´½¨ Dept Ò»ÑùµÄ»-Ãæ ,ÎÊÊÇ·ñÒª Layout µÄÏòµ¼ µ÷Óà ,ÎÒÃÇÑ¡ÔñĬÈÏ , °´Next ¼ÌÐø .¾-¹ý»¶Ó-½éÉܽçÃæºó ,µ½´ïÈçÏÂͼËùʾµÄÒ³Ãæ ÕâÀï ,ÎÒÃÇ×¼±¸°ÑDatablock ÖеÄÀ¸Î»·ÅÔÚ¸ú Emp Dept Datablock Ò»¸ö Canvas ÉÏ ,ÎÒÃDz»Óà ѡÔñ ,³ÌÐòĬÈÏ·ÅÔÚÒ»¸öÒ³ÃæÉÏ ,°´Next ¼ÌÐøµ½´ïÏÂÒ»¸öÒ³Ãæ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 54. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — Õâ¸öÒ³ÃæËäÈ» ÔÚ Deptno Datablock ÖÐ ,µ«ÓÉÓÚËüÓë ±íµÄeptno Öظ´ Dept D ,ÎÒÃDz»ÏéÖظ´ÏÔ Ê¾ ,ËùÒÔ²»×¼±¸°Ñ Emp Datablock ÖеÄeptno À¸Î» D Ҳͬʱ·ÅÔÚÉÏÃæ Deptno Íâ ,ËùÒÔ³ýÁË ,Æä Ëû¶¼Óà °´Å¥¹éÈë > Displayed Item,°´Next ¼ÌÐø ͬÑùÎÒÃÇÒ²ÐÞ¸Ä Prompt(±êÌâ ),Empno ÃüÃûΪԱ¹¤±àºÅ ÃüÃûΪԱ¹¤ÐÕÃû ,Ename ,Job ÃüÃûΪ Ö°Îñ ,Hiredate ÃüÃûΪƸÓÃÈÕÆÚ ,Mgr ÃüÃûΪ¾-Àí´úºÅ ,Sal ÃüÃûΪ¹¤×Ê ÃüÃûΪ½±½ð ,Comm ,°´ Next ¼ÌÐø HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 55. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ÓÉÓÚÒ»¸ö²¿ÃÅ¿ÉÒÔÓжà¸öÔ±¹¤ ,ÎÒÃÇÑ¡Ôñ Tabular ÐÎʽ Next ½øÈëÏÂÒ»²½ ,°´ ÏÂÒ»²½ÎÒÃÇÐÞ¸ÄÒ»´ÎÏÔʾµÄ¼Í¼Êý ,ÎÒÃÇÏÔʾ ,¹³Ñ¡ÉÏ 5 Ìõ Display Scrollbar Ñ¡¿ò Next ½ø ,°´ ÈëÏÂÒ»¸öÒ³Ãæ ,°´Finish,³É¹¦Íê³É ½øÈë bject Navigator ÎÒÃÇ·¢ÏÖÁ˲»¹âÔÚ O Datablock,Canvas É϶àÁ˶«Î÷ Tigger ÏÂÃæ ,»¹ÔÚ ¶àÁ˺ܶණÎ÷ ,ÎÒÃÇÔÝʱ²»¹ÜËüF4,½øÈë ,ÎÒÃÇ°´ Layout Editor,¿´¿´ÎÒÃÇÒ»¸ö»ù±¾µÄ³ÌÐò¿ò¼Ü ÒѾ-×öºÃÁË ,Èç¹û¶ÔÉÏÃæµÄÀ¸Î»·ÅÖò»ÂúÒâ ,¿ÉÒÔµ÷Õû ,µ÷ÕûÇ°Ìرð½¨ÒéÒ²°Ñ Emp µÄFrame ¿ò µÄÊôÐÔ Update Layout ¸ÄΪ anully,·½±ã M ×öµ÷Õû . Ok,Ò»Çд󹦸æ³É ,ÈÃÎÒÃÇÔËÐÐһϠ,°´²Ëµ¥É쵀 Program ϵÄun Form »òÕß¿ì½Ý¼ü R Ctrl+R, Ò»Çи㶨 ,°Ñ¹â±êÒƶ¯µ½²¿ÃűàºÅµÄÎı¾¿òÀï ,È»ºó°´²éѯ°´Å¥ ,ÈçÏÂͼ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 56. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ÎÒÃÇ¿ÉÒÔ¿´µ½ ,ACCOUNTING ²¿ÃÅÏÂÃæÓÐÈýλԱ¹¤ .ÏêϸÇé¿öÒ²ÁÐÔÚ±íÖÐ .°´ÏÂÒ»Ìõ¼Í¼°´ Å¥ ,ÎÒÃǻᷢÏÖ²¿ÃűàºÅ¸Ä¶¯ºó ,ÏÂÃæÔ±¹¤Ò²Ëæ¼´¸Ä¶¯ ,ºÜ·½±ã . ÏÂÃæÎÒÃǽéÉÜһϠ»·¾³ÖÐ °´Å¥µÄÓ÷¨ Runtime ,Õâ¸ö°´Å¥Ãû³ÆÊÇ Enter Query,ÎÒÃÇ¿ÉÒÔ ÀûÓÃËü¾¶ÐÐ Ìõ¼þ²éѯ ,µã»÷¸Ã°´Å¥ ,»-Ãæ³öÏÖ¿Õ°× ,ÆäËüºÜ¶à°´Å¥Ê§Ð§ Enter Query ,´Ëʱ½øÈë ģʽ ,ÈçÏÂͼËùʾ : ±ÈÈçÎÒÃÇÒª²éѯ²¿ÃűàºÅΪ ,ÎÒÃÇÔÚ²¿ÃűàºÅµÄÎı¾¿òÖÐÊäÈë 30 µÄÔ±¹¤Çé¿ö 30 Íê³Éºó Execute Query °´Å¥ ,°´Ï ,²éѯÍê³É ,ÈçÏÂͼËùʾ : HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 57. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ÎÒÃǾͲéѯ³ýÁ˲¿ÃÅΪ 30 µÄÔ±¹¤Çé¿ö , °´Å¥ºÍ Ϊ²åÈë ,ɾ³ý¼Í¼ ,ÔÚ²åÈëɾ³ý²Ù×÷ºó ,ÇëÒ»¶¨Òª°´ ´Å¥ ° ,²ÅÄܰѸĶ¯´æÈëÊý ¾Ý¿âÖÐ . ÏÂÃæÎÒÃÇ¿ªÊ¼±àÒëÉú³É Fmx Îļþ ,²ÅÄÜÔÚ¿ÉÊÓ»¯µÄ »·¾³ÖÐÖ´ÐÐ µÄÔ´ÎļþÔò±£ Runtime ,Form ´æΪmb Îļþ F ,×¢Òâ²»ÄܱàÒë³Ì³É Ï¿ÉÖ´ÐÐµÄ windows exe Îļþ .ËùÒÔorm µÄÔËÐÐÐèÒª°² F ×°Form µÄRuntime »·¾³ . Ïȱ£´æÎļþÉÏÊöµÄÔ´Îļþµ½Ò»¸öĿ¼ dept.fmb,È»ºóÖ´Ðв˵¥ ,²¢ÃüÃû ,ÎÒÃÇÃüÃûΪ File Ï嵀 Administration ϵÄompile File.ÈçͼËùʾ C Íê³Éºó ,ÎÒÃǽ«ÔÙͬһ¸öĿ¼Ï¿´µ½ÒѾ-Éú³ÉÁËÓëÔ´ÎļþͬÃûµÄ FMX Îļþ , µ½Õâ¸öµØ·½ ,ÎÒÃÇÍê³ÉÁ˸óÌʽµÄÉú³É¹ý³Ì ,¸Ã³Ìʽ»¹ÓкܶàÖµµÃÐ޸ĵĵط½ ,ÎÒ½«Î§ÈÆÕâ¸ö ³Ìʽչ¿ª¶Ô Developer2000 µÄ½²×ù . ÎÒÃÇÀ´ÔËÐÐһϸղŵijÌʽ ,Ë«»÷ept.fmx,³ÌÐòÌø³ö¶Ô»°¿ò D ,ÈçÏÂͼ : HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 58. ITPUB µç×ÓÔÓÖ¾ Developer2000 ¿ª·¢Step by Step — ÊäÈëÐèÒª¸Ä³ÌÐòÁ¬½ÓÊý¾Ý¿âµÄÓû§Ãû ,ÃÜÂëºÍ±ðÃû ,¼´¿É½øÈëÎÒÃǸղŵĻ-Ãæ ͨ¹ýÉÏÃæµÄ½éÉÜ ,´ó¼ÒÓ¦¸Ã¶Ô µÄ¿ª·¢¹ý³ÌÓÐÁ˺ܴóµÄÈÏʶ sql Óï¾ä Form ,²»ÓÃÊäÈëÈκΠ,»òÕß ÈκÎL/SQL ³ÌÐò±ãÍê³ÉÁ˳ÌʽµÄ±àд¹¤×÷ P ,¿ÉÒÔ´ó´óÌá¸ß¿ª·¢Ð§ÂÊ ,µ±È»ÎÒÃÇ¿ÉÒÔÀûÓÃÊÖ¹¤ À´±àд¸üΪ¸´ÔӵijÌÐò ,»òÕ߸ø³ÌÐòÌí¼Ó¸ü¶àµÄ¹¦ÄÜ ,ÕâÊÇÎÒÃÇÒÔºóÒªÌÖÂÛµÄ . ×îºóÇë´ó¼Ò¶Ô±¾ÎÄһЩ´íÎóÖ®´¦Ìá³öÒâ¼û ,лл ! ÏÂÃæÒ»Õ½²¿ªÊ¼½éÉÜ developer2000 µÄ°²×°ºÍ¹¹³É .ÒÔ¼°³ÌÐò¹¹ÔìÔ-Àí£¬Çë´ó¼ÒÆÚ´ý¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 59. ITPUB µç×ÓÔÓÖ¾ ²é¿´±í½á¹¹µÄ SCRIPT ²é¿´±í½á¹¹µÄ script Littlelolo ¶Ô³õѧ Oracle µÄÈËÀ´Ëµ£¬»áÔÚһЩ¼òµ¥µÄÎÊÌâÃæÇ°²»ÖªËù´ë£¬±È·½Ëµ£¬±í½á ±íµÄÖ÷¼ü£¬Íâ¼üÊÇʲô£¬ÓÐÄÄЩË÷Òý£¬µÈµÈ¡£ ÒÔÏÂÊÇÎÒÔÚ sql*plus дµÄÒ»¶Î¹ØÓÚ script£¬Ï£ÍûÄÜÅ×שÒýÓñ£¬¶Ô³õѧÕßÓаïÖú¡£ table µÄ ±¾ script ¿ÉÒÔ·µ»Ø structure, primary key, foreign key, index,tablespace,. table ·½·¨£º 1)±£´æÒÔÏÂÓï¾äÔÚÎļþÖУ¬ eg: c:plustable.sql 2)ÔÚ sql*plus ÖÐÔËÐУ¬ eg: SQL>@ c:plustable.sql 3)ÔÚÌáʾºóÊäÈë table name, table's owner /****** start ******/ set serveroutput on size 1000000 verify off feedback off echo off accept table_name prompt 'Please input the table name: ' accept table_owner prompt 'Please input the owner: ' declare cursor cur_columns(iv_table_name varchar2, iv_owner varchar2) is select column_name, data_type, data_length, data_precision, data_scale, nullable, column_id, data_default from all_tab_columns where table_name = iv_table_name and owner = iv_owner order by column_id; rec_columns cur_columns%rowtype; -- cursor cur_constraint(iv_table_name varchar2, iv_owner varchar2) is select constraint_name, constraint_type, search_condition, r_owner, r_constraint_name, delete_rule, status from all_constraints HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 60. ITPUB µç×ÓÔÓÖ¾ ²é¿´±í½á¹¹µÄ SCRIPT where table_name = iv_table_name and owner = iv_owner; -- cursor cur_cons_columns(iv_constraint_name varchar2, iv_owner varchar2) is select column_name, table_name from all_cons_columns where constraint_name = iv_constraint_name and owner = iv_owner order by position; -- cursor cur_index(iv_table_name varchar2, iv_owner varchar2) is select index_name, lower(tablespace_name) tablespace_name from all_indexes where table_name = iv_table_name and owner = iv_owner; -- cursor cur_ind_columns(iv_index_name varchar2, iv_owner varchar2) is select lower(column_name) column_name from all_ind_columns where index_name = iv_index_name and index_owner = iv_owner order by index_name, column_position; -- v_table_name all_tables.table_name%type; v_owner all_tables.owner%type; v_tablespace_name all_tables.tablespace_name%type; v_pre_column_name all_tab_columns.column_name%type; v_pre_column varchar2(200); v_constraint varchar2(200); v_index varchar2(200); v_r_table_name all_cons_columns.table_name%type; begin v_table_name := upper('&table_name'); v_owner := upper('&table_owner'); -- select lower(tablespace_name) into v_tablespace_name from all_tables where table_name = v_table_name HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 61. ITPUB µç×ÓÔÓÖ¾ ²é¿´±í½á¹¹µÄ SCRIPT and owner = v_owner; -- --------------- -- -- get all columns -- -- --------------- -- open cur_columns(v_table_name,v_owner); loop fetch cur_columns into rec_columns; -- if v_pre_column_name is not null then if v_pre_column_name = lower(rec_columns.column_name) then dbms_output.put_line(v_pre_column); dbms_output.put_line(') tablespace ' || v_tablespace_name); dbms_output.put_line('/'); elsif rec_columns.column_id = 2 then dbms_output.put_line('create table ' || lower(v_table_name) || ' ('); dbms_output.put_line(v_pre_column ||','); else dbms_output.put_line(v_pre_column ||','); end if; end if; -- exit when cur_columns%notfound; -- v_pre_column_name := lower(rec_columns.column_name); v_pre_column := rpad(lower(rec_columns.column_name), 31, ' '); if rec_columns.data_type = 'NUMBER' then if rec_columns.data_precision is null then v_pre_column := v_pre_column || 'number'; elsif rec_columns.data_scale = 0 then v_pre_column := v_pre_column || 'number(' ||to_char(rec_columns.data_precision)||')'; else v_pre_column := v_pre_column || 'number(' || to_char(rec_columns.data_precision) || ',' || to_char(rec_columns.data_scale) ||')'; end if; elsif instr(rec_columns.data_type, 'CHAR') > 0 then v_pre_column := v_pre_column || lower(rec_columns.data_type) || '(' ||to_char(rec_columns.data_length)||')'; else v_pre_column := v_pre_column || lower(rec_columns.data_type); end if; -- if rec_columns.data_default is not null then v_pre_column := rpad(v_pre_column, 46, ' ') || ' default ' || HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 62. ITPUB µç×ÓÔÓÖ¾ ²é¿´±í½á¹¹µÄ SCRIPT rtrim(rec_columns.data_default); end if; -- if rec_columns.nullable = 'N' then if length(v_pre_column) > 46 then v_pre_column := v_pre_column || ' not null'; else v_pre_column := rpad(v_pre_column, 46, ' ') || ' not null'; end if; end if; -- end loop; close cur_columns; -- for rec_c in cur_constraint(v_table_name,v_owner) loop if rec_c.constraint_type = 'P' then v_constraint := ' ('; for rec_column in cur_cons_columns(rec_c.constraint_name, v_owner) loop v_constraint := v_constraint || lower(rec_column.column_name) || ', '; end loop; v_constraint := substr(v_constraint, 1, length(v_constraint)-2) || ')'; dbms_output.put_line('alter table ' || lower(v_table_name)); dbms_output.put_line(' add constraint ' || rec_c.constraint_name || ' primary key'); dbms_output.put_line(v_constraint); -- select lower(tablespace_name) into v_tablespace_name from all_indexes where table_name = v_table_name and index_name = rec_c.constraint_name and owner = v_owner; dbms_output.put_line(' using index tablespace ' || v_tablespace_name); dbms_output.put_line('/'); elsif rec_c.constraint_type = 'R' then v_constraint := ' ('; for rec_column in cur_cons_columns(rec_c.constraint_name, v_owner) loop v_constraint := v_constraint || lower(rec_column.column_name) || ', '; end loop; v_constraint := substr(v_constraint, 1, length(v_constraint)-2) || ')'; dbms_output.put_line('alter table ' || lower(v_table_name)); dbms_output.put_line(' add constraint ' || rec_c.constraint_name || ' foreign key'); dbms_output.put_line(v_constraint); HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 63. ITPUB µç×ÓÔÓÖ¾ ²é¿´±í½á¹¹µÄ SCRIPT v_constraint := ' ('; for rec_column in cur_cons_columns(rec_c.r_constraint_name, v_owner) loop v_constraint := v_constraint || lower(rec_column.column_name) || ', '; v_r_table_name := lower(rec_column.table_name); end loop; v_constraint := substr(v_constraint, 1, length(v_constraint)-2) || ')'; dbms_output.put_line(' references ' || v_r_table_name); dbms_output.put_line(v_constraint); dbms_output.put_line('/'); elsif rec_c.constraint_type = 'U' then v_constraint := ' ('; for rec_column in cur_cons_columns(rec_c.constraint_name, v_owner) loop v_constraint := v_constraint || lower(rec_column.column_name) || ', '; end loop; v_constraint := substr(v_constraint, 1, length(v_constraint)-2) || ')'; dbms_output.put_line('alter table ' || lower(v_table_name)); dbms_output.put_line(' add constraint ' || rec_c.constraint_name || ' unique'); dbms_output.put_line(v_constraint); -- select lower(tablespace_name) into v_tablespace_name from all_indexes where table_name = v_table_name and index_name = rec_c.constraint_name and owner = v_owner; dbms_output.put_line(' using index tablespace ' || v_tablespace_name); dbms_output.put_line('/'); elsif rec_c.constraint_type = 'C' and instr(rec_c.search_condition, 'IS NOT NULL') = 0 then dbms_output.put_line('alter table ' || lower(v_table_name)); dbms_output.put_line(' add constraint ' || rec_c.constraint_name || ' check'); dbms_output.put_line(' (' || ltrim(rtrim(rec_c.search_condition)) || ')'); dbms_output.put_line('/'); end if; end loop; -- for rec_i in cur_index(v_table_name,v_owner) loop dbms_output.put_line('create index ' || rec_i.index_name); v_index := ' on ' || lower(v_table_name) || ' ('; for rec_c in cur_ind_columns(rec_i.index_name, v_owner) loop v_index := v_index || rec_c.column_name || ', '; end loop; HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 64. ITPUB µç×ÓÔÓÖ¾ ²é¿´±í½á¹¹µÄ SCRIPT v_index := substr(v_index, 1, length(v_index)-2) || ')'; dbms_output.put_line(v_index); dbms_output.put_line(' tablespace '||rec_i.tablespace_name); dbms_output.put_line('/'); end loop; exception when no_data_found then dbms_output.put_line('No this table!'); when others then dbms_output.put_line(sqlcode||sqlerrm); end; / set serveroutput off verify on feedback on /****** end ******/ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 65. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ OCP ²»ÍêÈ«Ö¸ÄÏ ×÷Õß:easyfree 1. OCP ¼°¿¼ÊÔ¿ÆÄ¿½éÉÜ 2. ¿ÆÄ¿Õ½ڷֲ¼Ã÷ϸ 3. ½Ì²ÄÁбí 4. ÒÑÓÐ×ÊÔ´Áбí 5. ¿¼ÊÔ¼ò½é 6. Ïà¹ØÍøÕ¾×ÊÔ´ Ò» OCP ¼°¿¼ÊÔ¿ÆÄ¿½éÉÜ . OCP ÊÇ Oracle Certified Professional µÄËõд Oracle ÈÏ֤ר¼Ò£¬ÊÇ ¹«Ë¾ÓÚ ,Òâ¼´ Oracle 1997 ÄêÍƳöµÄ¹ú¼ÊÉϳÐÈ쵀 Oracle ˮƽ֤Êé¡£ Ä¿Ç° racle ÒÑÓеĿ¼ÊÔÓУº O 1¡¢Oracle Database Administrator ORACLE7.3 4 ÃÅ 1Z0-001 Introduction to Oracle:SQL and PL/SQL ÖÐ/Ó¢ 1Z0-003 Oracle7.3: Database Administrator Ó¢ 1Z0-004 Oracle7.3: Performance Tuning Ó¢ 1Z0-005 Oracle7.3: Backup and Recovery Ó¢ ORACLE8 5 ÃÅ2000/08 ÒÑ×÷·Ï 1Z0-001 Introduction to Oracle:SQL and PL/SQL ÖÐ/Ó¢ 1Z0-013 Oracle8: Database Administrator Ó¢ 1Z0-014 Oracle8: Performance Tuning workshop Ó¢ 1Z0-015 Oracle8: Backup and Recovery workshop Ó¢ 1Z0-016 Oracle8: Network Administration Ó¢ ORACLE8i 5 ÃÅ 1Z0-001 Introduction to Oracle:SQL and PL/SQL ÖÐ/Ó¢ 1Z0-023 Oracle8i: Database Administrator Ó¢ 1Z0-024 Oracle8i: Performance Tuning workshop Ó¢ 1Z0-025 Oracle8i: Backup and Recovery workshop Ó¢ 1Z0-026 Oracle8i: Network Administration Ó¢ ORACLE9i Éý¼¶¿¼ÊÔ 1Z0-010 Oracle8:New Features for Administration Ó¢Oracle7.3 --> Oracle8 Éý¼¶¿¼ ÊÔ 1Z0-020 Oracle8i:New Features for Administration Ó¢Oracle8 --> Oracle8i Éý¼¶¿¼ÊÔ 2¡¢Oracle Application Developer Release 1 1Z0-001 Introduction to Oracle:SQL and PL/SQL ÖÐ /Ó¢ 1Z0-101 Developer PL/SQL Program Units Ó¢ 1Z0-111 Developer/2000 Form4.5 (1) Ó¢ 1Z0-112 Developer/2000 Form4.5 (2) Ó¢ 1Z0-113 Developer/2000 Report2.5 Ó¢ Release 2 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 66. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ 1Z0-001 Introduction to Oracle:SQL and PL/SQL ÖÐ /Ó¢ 1Z0-101 Developer PL/SQL Program Units Ó¢ 1Z0-121 Developer/2000 Build Forms (1) Ó¢ 1Z0-122 Developer/2000 Build Forms (2) Ó¢ 1Z0-123 Developer/2000 Build Report Ó¢ Éý¼¶¿¼ÊÔ 1Z0-110 Oracle Developer ,Release 2 New Features ????? 3¡¢ Oracle Database Operator 1Z0-401 Database Operator 4¡¢ Oracle Java Developer Level 1: Sun Certified Programmer 1Z0-501: Sun Certified Programmer for the Java 2 Platform Level 2: Certified Solution Developer 1Z1-502: Oracle JDeveloper: Develop Database Applications with Java (Oracle JDeveloper, Release 2) or 1Z1-512: Oracle JDeveloper: Develop Database Applications with Java (Oracle JDeveloper, Release 3) 1Z0-503: Object Oriented Analysis and Design with UML Level 3: Certified Enterprise Developer 1Z0-504: Enterprise Connectivity with J2EE 1Z0-505: Enterprise Development on the Oracle Internet Platform 5¡¢ Oracle Financial Applications Consultant 1Z0-210: Financial Management R11 1Z0-220: Applied Technology R11 1Z0-230: Procurement R11 or 1Z0-240: Order Fulfillment ÓÉÓÚ ORACLE ¹ « Ë ¾ » á ¸ ù ¾ Ý ¾ ß Ì å Ç é ¿ ö µ ÷ ÕË ù Ò Ô Ï ê Ï ¸ µ Ä Ð Å Ï ¢ ² Î ¿ ¼ , ûÆ俼ÊÔÄÚÈÝ : http://education.oracle.com,ÒÔ Oracle ¹«Ë¾¹Ù·½ÍøÕ¾µÄÄÚÈÝΪ׼ ͨÓÃÐÅÏ¢£º ×¢ ²á£º (1) Oracle ¹«Ë¾ÊÚȨ prometric ¹«Ë¾½øÐÐ ÈÏÖ¤¿¼ÊÔ OCP ,¿¼Éú±ØÐë×¢²áprometric,»ñÈ¡È«ÇòΨ Ò»µÄ ºó²ÅÄÜ²Î¼Ó ¿¼ÊÔ ID OCP (2) Hong Kong, Taiwan, Australia, Indonesia, Malaysia, New Zealand, The Philippines, Thailand, and Singapore µÈµØµÄ¿¼Éú¿ÉÒÔÔÚÍøÕ¾ www.2test.com ½øÐÐÔÚÏß×¢²á , Öйú´ó ½¿¼Éú·ÃÎÊ :www.sylvan.com.cn (Ä¿Ç°ÎÞ·¨Ê¹Óà ) (3) ¿ÉÒÔͨ¹ý¹úÄÚµÄ ÊÚȨ¿¼µã½øÐÐ×¢²á prometric (4) ÐèÒªÐ޸ĸöÈËÐÅÏ¢ ,email,µç»°µÈ (ͨÐŵØÖ· )ʱ¿ÉÒÔ£º A ֪ͨ¿¼ÊÔÖÐÐÄÐÞ¸Ä B Ö±½Ó·¢ ¸ørebecca.dimaio@prometric.com »òÕß´òÈÈÏߵ绰 mail 1.800.891.EXAM (3926) Ä¿Ç°ÎÒûÓÐÕÒµ½¿ÉÒÔÔÚÍøÉÏÐ޸ĸöÈËÐÅÏ¢µÄ·½·¨ ,Èç¹ûÄÄλ ÖªµÀ fans ,ÇëÌṩһÏ ,лл HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 67. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ ¿¼ÊÔ£º (1) OCP ¿¼ÊÔÌṩ Upgrade Path ºÍ Core Path Á½ÖÖ·½Ê½ ,Ò»°ãÉý¼¶¿¼ÊÔÄÑһЩ (2) OCP ¿¼ÊԵĿÆĿ˳ÐòûÓй涨 ±ØÐëÖ𼶵ÝÔö ,½ö¶ÔÉý¼¶ÒªÇó (3) ¿¼ÊÔÌáÇ°Ô¤Ô¼µÄʱ¼ä¸÷¸öµØÇøºÍ¿¼ÊÔÖÐÐIJ»ÍêÈ«Ïàͬ ,Ò»°ãÖйú´ó½Ϊ 3 Ìì ,¿ÉÒÔÏò¸÷×Ô µÄ¿¼ÊÔÖÐÐÄ×Éѯ (4) OCP ¿¼ÊÔÒªÇóµ±Ä³ÃÅ¿¼ÊÔʧ°Üºó±ØÐë¼ä¸ô 30 ÌìÒÔÉϲÅÔÊÐíÖØ¿¼ (5) ÿÃÅ¿¼ÊԳɼ¨ÔÚ¿¼ÊÔÍê³ÉºóÁ¢¿Ì´òÓ¡½»¸ø¿¼Éú±£´æ¹«Ë¾¿¼ÊÔÓ¡ (×¢Òâ±ØÐë¼Ó¸Ç prometric ÕÂ),¦Â¿¼ÊÔÀýÍâ Oracle ¹«Ë¾¿¼ÊÔÖ¸ÄÏ (²Î¼û ) (6) µ±Oracle Ðû²¼Ä³ÏîÈÏÖ¤¿¼ÊÔÍËÒÛ (¹ýÆÚ),¿¼ÉúÈÔÈ»¿ÉÒÔÓÐ6 ¸öÔµÄʱ¼äÍê³É¸ÃÈÏÖ¤¿¼ÊÔ ; µ«Èç¹ûÔÚ½ØÖ¹ÆÚÏÞǰûÓÐÍê³ÉÉý¼¶¿¼ÊÔ ,Ôò±ØÐëͨ¹ýÈ«²¿¿¼ÊԿγ̲ÅÄÜ»ñȡеÄÖ¤Êé (7) ´ÓµÚ Ò»ÃÅ¿¼ÊÔʱ¼ä¿ªÊ¼±ØÐëÒ»ÄêÄÚÍê³ÉÈ«²¿ÈÏÖ¤¿Î³ÌµÄ¿¼ÊÔ -- ûÓÐÕÒµ½¹Ù·½ËµÃ÷ ,¿¼ ÊÔÖÐÐĶԴËҲûÓÐÃ÷ȷ˵Ã÷ ,¸öÈËÈÏΪ²»ÖØÒª Ö¤Ê飺 Ö¤ÊéÓ¦ÔÚͨ¹ýËùÒÔÈÏÖ¤¿Î³Ì¿¼ÊÔÖ®ºó: 30 ÌìÄÚËÍ´ï,·ñÔò A Ïò¿¼ÊÔÖÐÐÄ×Éѯ B Ö±½Ó·¢ ¸ø mail fulfillment@prometric.com,ÌṩÐÕÃû ,candidate ID,µ±Ç° ail µØÖ· m Åàѵ¿Î³Ì¼ò½é£º 1Z0-001 Introduction to Oracle:SQL and PL/SQL ¿Î³ÌÃèÊö£º ´Ó»ù´¡ Óï¾ä¿ªÊ¼Ñ§Ï° SQL ,°ïÖúѧԱÁ˽âÈçºÎʹÓÃOracle µÄ¹¤¾ß ºÍ·½·¨À´Âú×ãʵ¼ÊµÄÆóÒµ ÐÅÏ¢ÐèÇó. ѧϰÈçºÎ±àд ¿éPL/SQL ,ÈçºÎ±àд Procedure ºÍTrigger. ѧϰÈçºÎÉè¼ÆºÍ½¨Á¢Êý¾Ý¿â½á¹¹ ,ÈçºÎ±£´æ ,¸üкÍÏÔʾ¹ØϵÐÍÊý¾Ý¿âÖеÄÊý¾Ý ,¼ìË÷ . ¿Î³ÌÄÚÈÝ£º SQL ÃüÁî ÏÞ¶¨ºÍÅÅÐòÊý¾Ý Singh-Row º¯Êý ´Ó¶à¸ö±íÖÐÏÔʾÊý¾ÝʹÓÃ×麯ÊýºÏ¼ÆÊý¾Ý ×Ó²éѯ/¶àÁÐ×Ó²éѯ /ÓÃSQL*plus Éú³ÉÂú×ãµÄ±¨±í²Ù×÷Êý¾Ý ´´½¨²¢¹ÜÀí±í /Ô¼Êø/½¨ÊÓͼ ÆäËüÊý¾Ý¶ÔÏó£¨ÐòÁС¢Ë÷Òý£©Óû§ SQL ÌÖÂÛ /PL/SQL ÖеıäÁ¿ PL/SQL ¶ÔÊý¾Ý½øÐвÙ×÷ ½á¹¹¿ØÖÆ PL/SQL ¼Ç¼ºÍ±í´¦Àí ÓαêµÄ´¦Àí ÀýÍâµÄ´¦Àí . ÊÊÓöÔÏó Êý¾Ý¿âϵͳ¹ÜÀíÔ± Êý¾Ý¿âÉè¼ÆÈËÔ± ÍøÒ³Éè¼ÆÈËÔ± Ó¦Óÿª·¢ÈËÔ± HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 68. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ 1Z0-023 Oracle8I Database Adiministration ¿Î³ÌÃèÊö£º ´ÓÊý¾Ý¿âµÄ»ù±¾½á¹¹×ÅÊÖ Oracle Êý¾Ý¿âµÄÎïÀí½á¹¹ .²¢´ÓÖÐÕÆÎÕ ,Òýµ¼Ñ§Ô±ÕÆÎÕ ,Âß¼-½á¹¹ Oracle Êý¾Ý¿âµÄ¹ÜÀí·½·¨ºÍ¼¼ÇÉ. ѧϰʹÓùÜÀí¹¤¾ßÀ´Æô¶¯¡¢¹Ø±ÕÊý¾Ý¿â ,´´½¨Êý¾Ý¿â ,¹ÜÀíÎļþºÍÊý¾Ý´æ´¢ ,²¢¹ÜÀíÓû§¼°ÆäȨ ÏÞ. ͨ¹ý´óÁ¿µÄÎÊÌâ·ÖÎöºÍ½â¾öʹµÃ DBA ½«»ñµÃ±ØÒªµÄ֪ʶºÍ¼¼ÄÜÀ´ÉèÖà ,ά»¤ºÍ½â¾ö Oracle Êý¾Ý¿â¹ÊÕÏ. ¿Î³ÌÄÚÈÝ£º Êý¾Ý¿â½á¹¹ Êý¾Ý¿âµÄ°²×°ÅäÖà ³£ÓÃÊý¾Ý×ÖµäÊÓͼºÍ±ê×¼»¯ ¿ØÖÆÎļþµÄά»¤ Redo log ÎļþµÄά»¤ ±í¿Õ¼äºÍÊý¾ÝÎļþµÄά»¤ »Ø¹ö¶ÎµÄ¹ÜÀí ÁÙʱ¶ÎµÄ¹ÜÀí ±íµÄ¹ÜÀí Ë÷ÒýµÄ¹ÜÀí Êý¾ÝµÄÍêÕûÐÔά»¤ ʹÓôØʽË÷Òý½á¹¹µÄ±í ×°ÔغÍÖØ×éÊý¾Ý Óû§ºÍ½ÇÉ«µÄ¹ÜÀí ²ÎÊýÎļþµÄ¹ÜÀí ȨÏ޵ĹÜÀí Éó¼Æ ¹ú¼ÊÓïÑÔÖ§³ÖµÄʹÓÃ. ÊÊÓöÔÏó ϵͳ¹ÜÀíÔ± Êý¾Ý¿â¹ÜÀíÔ± ÍøÂç¹ÜÀíÔ± ϵͳÉè¼ÆÈËÔ± Ó¦Óÿª·¢ÈËÔ±. 1Z0-025 Oracle8I Backup and Recovery Workshop ¿Î³ÌÃèÊö£º ½éÉÜÊý¾Ý¿âµÄ±¸·ÝºÍ»Ö¸´²ßÂԵĹؼüÈÎÎñµÄ¹æ»®ºÍʵʩ . ½²Êö±¸·ÝºÍ»Ö¸´¼¼ÇÉ,²¢²âÊÔ¸÷ÖÖ²»Í¬ÀàÐ͵ı¸·Ý ,¹ÊÕϸ´Ô-ºÍ»Ö¸´·½°¸ . ½²ÊöÊÊÓÃÓÚ ºÍ Oracle7 Oracle8 Êý¾Ý¿â»·¾³µÄ±¸·Ý,»Ö¸´²Ù×÷ÒÔ¼° RMAN (Recovery Oracle8 Manager ) . ͨ¹ýʵ¼Ê²Ù×÷,Á·Ï°»ùÓڹؼüÈÎÎñÆóÒµÒµÎñËùÒªÇóµÄ±¸·Ý·½·¨ . ¶ÔOracle µÄ¸÷ÖÖ²»Í¬µÄ±¸·Ý·½·¨×÷±È½Ï ,ѧԱ½«ÄÜÀûÓÃѧϰµ½µÄÕâЩ·½·¨Ñ¡Ôñ /Öƶ©³öÒ»¸ö ×îÄÜÊʺÏÓÚ±¾²¿Ãŵı¸·Ý·½°¸. ¿Î³ÌÄÚÈÝ£º HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 69. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ ±¸·ÝÓë»Ö¸´µÄ¿¼ÂÇ ORACLE »Ö¸´µÄ½á¹¹Óë¹ý³Ì ORACLE µÄ±¸·ÝÓë»Ö¸´ÅäÖà ²»Ê¹Óà ORACLE RMAN µÄÎïÀí±¸·Ý ²»Óà RACLE RMAN µÄÍêÈ«»Ö¸´ O Óù鵵½øÐв»ÍêÈ« »Ö¸´ ORACLE ORACLE µÄµ¼ÈëÓëµ¼³ö¹¦ÄÜ ¸½¼ÓµÄ»Ö¸´ÎÊÌâ ORACLE µÄÐÞ¸´¹ÊÕϹ¦ÄÜ OARCLE µÄRMAN Ò»ÀÀ ORACLE Recovery Catalog µÄ½¨Á¢ºÍά»¤ ÓÃRMAN ±¸·Ý ÓÃRMAN Öؽ¨ºÍ»Ö¸´ ORACLE µÄ±¸ÓÃÊý¾Ý¿â. ÊÊÓöÔÏó ϵͳ¹ÜÀíÔ± ÍøÂç¹ÜÀíÔ± Êý¾Ý¿â¹ÜÀíÔ± ϵͳÉè¼ÆÈËÔ± Ó¦Óÿª·¢ÈËÔ± ¼¼ÊõÖ§³ÖרҵÈËÔ± 1Z0-024 Oracle8I Performance Tuning Workshop ¿Î³ÌÃèÊö£º ÏòѧԱ½âÊÍһϵÁпÉÒÔÓÃÀ´¸Ä½ø Oracle8 ·þÎñÆ÷ÐÔÄܵĵ÷Õû²½Öè . ±¾¿Î³Ì×¢ÖØÓÚÊý¾Ý¿â¶ø·Ç²Ù×÷ϵͳÐÔÄÜÎÊÌâ.ͨ¹ý¶Ô¸÷ÖÖ²»Í¬ÀàÐ͵ÄÐÔÄÜ·ÖÎöÀý×ÓºÍÊý¾Ý· Îö,ѧԱ½«»ñµÃʵ¼ÊµÄÊý¾Ý¿âµ÷Õû¾-Ñé. ÀûÓø÷ÖÖ¹¤¾ß,ѧԱ»¹½«Ñ§Ï°ÔÚ¹ÜÀíÊý¾Ý¿âʱÈçºÎʶ±ðºÍÅųý¹ÊÕÏÒÔ¼°½â¾öÏà¹Ø . ¿Î³ÌÄÚÈÝ£º ÐÔÄܵ÷Õû¸ÅÐð ORACLE µÄ±¨¾¯Óë¸ú×ÙÎļþ ¹¤¾ßÓ붯̬ÐÔÄÜÊÓͼ µ÷Õû¹²Ïí³Ø µ÷Õû¸ßËÙ»º³åÇø µ÷ÕûÈÕÖ¾»º³åÇø Êý¾Ý¿âÅäÖÃÓë I/O ÎÊÌâ ÓÐЧʹÓÃORACLE Êý¾Ý¿é ÓÅ»¯ÅÅÐò²Ù×÷ µ÷Õû»Ø¹ö¶Î ¼àÊÓ¡¢¼ì²âËø³åÍ» ¶Ô²»Í¬µÄÓ¦ÓÃÓв»Í¬µÄ SQL ºÍµ÷Õû¿¼ÂÇ ¹ÜÀíÒ»¸ö»ìºÏ¹¤×÷Á¿ ʹÓà RACLE Expert µ÷Õû O ¶àÏ̷߳þÎñµ÷ÕûÂÛµã HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 70. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ ÊÊÓöÔÏó ϵͳ¹ÜÀíÔ± ÍøÂç¹ÜÀíÔ± Êý¾Ý¿â¹ÜÀíÔ± ÏîÄ¿¾-Àí ϵͳÉè¼ÆÈËÔ± Ó¦Óÿª·¢ÈËÔ± ¼¼ÊõÖ§³ÖרҵÈËÔ± 1Z0-026 SQL*Net and Network Administration ¿Î³ÌÃèÊö£º Á˽â¹ØÓÚ µÄ×é¼þÐÅÏ¢£¬²¢Í¨¹ýѧϰÈçºÎÅäÖüòµ¥µ½½Ï¸´Ô Net8 Net8 »·¾³¡£ ͨ¹ýչʾDZÔÚµÄÍøÂ簲ȫ£¬ÒÔ¼°Oracle ¶ÔÕâЩÎÊÌâµÄ¿ÉÑ¡µÄ°²È«½â¾ö·½°¸¡£ Ìṩet8 µ÷ÊÔ¹¤¾ßºÍµ÷ÊÔÐÅ N Ï¢µÄ½âÊÍ¡£ ¿Î³ÌÄÚÈÝ£º Net8 Ìåϵ½á¹¹½éÉÜ Net8 ·þÎñÆ÷¶ËÅäÖà ¼¯ÖÐÃüÃû¹ÜÀí ¶àÏßË÷µÄʹÓúÍÅäÖà Á¬½Ó¹ÜÀíÆ÷µÄÅäÖà ÍøÂ簲ȫ ÊÊÓöÔÏó ϵͳ¹ÜÀíÔ± ÍøÂç¹ÜÀíÔ± Êý¾Ý¿â¹ÜÀíÔ± ¶þ ¿ÆÄ¿Õ½ڷֲ¼Ã÷ϸ . ´úÂë ¿ÆÄ¿ ×ÜÌâÊý ͨ¹ýÌâÊý ͨ¹ýÂÊ ¿¼ÊÔʱ¼ä ) (·ÖÖÓ ------------------------------------------------------------------------------------------------------ 1Z0-001 Introduction to Oracle:SQL and PL/SQL 57 39 68% 120 1Z0-003 Oracle 7.3: Database Administration 60 90 1Z0-004 Oracle 7.3: Performance Tuning Workshop 60 90 1Z0-005 Oracle 7.3: Backup and Recovery Workshop 60 90 1z0-010 Oracle8:New Features for Administration 60 90 1z0-013 Oracle8:Database Administration 63 90 1z0-014 Oracle8:Performance Tuning Workshop 61 90 1z0-015 Oracle8:Backup and Recovery Workshop 60 90 1z0-016 Oracle8:Network Administration 62 90 1Z0-020 Oracle8i:New Features for Administration 59 1. Java in the Database 1 2. Optimizer and query 7 3. Summary management 6 4. Indexes and Index-Organized Tables 3 5. Object Relational Features and LOBs 3 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 71. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ 6. Partitioning improvements 6 7. ORACLE Universal Installer:Migration and Upgrade 3 8. Tablespace Management 6 9. Database Resource Manager 2 10.Manageability Enhancements 3 11.Availability and Recoverability Enhancements 8 12.Features of NET8 1 13.SQL*Plus,PL/SQL and NLS Enhancements 3 14.Database Security 2 1Z0-023 Oracle8i: Database Administrator 64 42 66% 90 1. Oracle Architecture Components 4 2. Geting Started with the Oracle Server 2 3. Manging an Oracle Instance 4 4. Creating a Databas 2 5. Creaing Data Dictionary Views and Standard Packages 4 6. Maintainning the Control File 3 7. Maintainning the Redo log files 5 8. Managing Tablespace and Data files 7 9. Storage Structure and Relationships 3 10.Managing Rollback Segments 3 11.Managing Tables 4 12.Managing Indexes 2 13.Maintainning Data Integrity 2 14.Loading Data 3 15.Reorganizing Data 2 16.Managing Password Security and Resources 4 17.Managing Users 3 18.Managing Privileges 2 19.Managing Roles 2 20.Using National Language Support 3 1Z0-024 Oracle8i: Performance Tuning workshop 57 38 67% 90 1. Tuning overview 1 2. Oracle alert & trace files 2 3. Util. & dynamic perf. views 3 4. Tuning the shared pool 7 5. Tuning the buffer cache 7 6. Tuning the redo log buffer 3 7. DB conf. & IO issues 7 8. Using oracle blocks eff. 4 9. Optimizing sort oper. 4 10.Tuning rollback seg. 4 11.Mon. & det. lock contention 5 12.SQL tuning 5 13.Managing mix. workload 2 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 72. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ 14.Oracle expert 1 15.MTS 2 1Z0-025 Oracle8i: Backup and Recovery workshop 60 42 70% 90 1. recovery structure and process 5 2. backup and recovery configuration 7 3. physical backup 8 4. complete recovery without rman 5 5. incomplete recovery with archiving 3 6. export and import 3 7. additional recovery issue 3 8. utilities for troubling 4 9. rman overview 2 10.recovery catalog creation and maintenances 6 11.backup using rman 5 12.recovery using rman 4 13.standby db 5 1Z0-026 Oracle8i: Network Administration 59 41 69% 90 1. Networking Overview 1 2. Basic Net8 Architecture 5 3. Basic Net8 Server-Side Configuration 8 4. Basic Net8 Client-Side Configuration 8 5. Centralized Naming Concepts 5 6. Oracle Names Usage and Configuration 7 7. Multithreaded Server Usage and Configuration 9 8. Connection Manager Usage and Configuration 5 9. Troubleshooting the Network Environment 7 10 Security in the Network Environment 4 1Z0-101 Develop PL/SQL Program Units 57 39 68% 90 1z0-111 Developer/2000 Forms 4.5I 60 120 1z0-112 Developer/2000 Forms 4.5II 60 120 1z0-113 Developer/2000 Reports 2.5 67 90 1Z0-120 Developer/2000 Release 2 New Features 60 45 75% 90 1Z0-121 Developer/2000: Build Forms I Rel. 2 60 46 76% 90 1Z0-122 Developer/2000: Build Forms II Rel. 2 60 44 73% 90 1Z0-123 Developer/2000: Build Reports Rel. 2 60 43 72% 90 1Z0-130 Oracle Forms Developer Rel.1-6/6i New Features 60 34 57% 1Z0-131 Build Internet Applications I Rel. 6/6i 60 45 75% 1Z0-132 Build Internet Applications II Rel. 6/6i 60 46 77% 1Z0-210 Oracle Financial Applications: Financial Management, R11 69 90 1Z0-220 Oracle Financial Applications: HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 73. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ Applied Technology,R11 61 90 1Z0-230 Oracle Financial Applications:Procurement,R11 77 90 1Z0-240 Oracle Financial Applications:Order Fulfillment, R11 60 90 1Z0-401 Oracle8: Database Operator 70 120 1Z0-411 Oracle8i: Internet Database Operator 1Z0-501 [Oracle candidates only] Sun Certified Programmer for the Java 2 Platform 59 120 1Z0-502 Oracle JDeveloper (Rel.2):Develop Database Applications With Java 59 90 1Z0-503 Object-Oriented Analysis and Design (Oracle) 58, 55** 90 ** There are 58 questions in Form A and 55 questions in Form B for this exam Èý ½Ì²ÄÁбí . ¿Î³Ì±àºÅ ¿Î³ÌÃû³Æ ½Ì²Ä±àºÅ ---------------------------------------------------------------------------------------------------------------------- 1Z0-001 Introduction to Oracle:SQL and PL/SQL Using Procedure Builger m03989£¬ m03990£¬ m03991£¬ m03992(ѧÉúÊֲᣩ m03993£¬ m03994£¬ m03995£¬ m03996(½ÌʦÊֲᣩ 1Z0-020 Oracle8i:New Features for Administration M08353, M08354, M08355£¨Ñ§ÉúÊֲᣩ M08356, M08357, M08358£¨½ÌʦÊֲᣩ 1Z0-023 Enterprise DBA Part 1A: Architecture and Administration m09005£¬ m09006£¨Ñ§ ÉúÊֲᣩ m09007£¬ m09008£¨½ÌʦÊֲᣩ 1Z0-024 Enterprise DBA Part 1B: Backup and Recovery Workshop m09095£¬ m09096£¨Ñ§ ÉúÊֲᣩ m09097£¬ m09098£¨½ÌʦÊֲᣩ 1Z0-025 Enterprise DBA Part 2: Performance and Tuning m09213£¬ m09214£¨Ñ§ÉúÊֲᣩ m09215£¬ m09216£¨½ÌʦÊֲᣩ 1Z0-026 Enterprise DBA Part 3: Network Administration m09125£¨Ñ§ÉúÊֲᣩ m09126£¨½ÌʦÊֲᣩ 1Z0-101 Develop PL/SQL Program Units M06103 (PPT) 1Z0-121 Developer/2000 Build Forms I Rel. 2 M06151, M06152 1Z0-122 Developer/2000 Build Forms II Rel. 2 M08751£¬ M08752 1Z0-123 Developer/2000 Build Reports Rel. 2 M08694, M08695 1Z0-130 Oracle Forms Developer Rel.1-6/6i New Features M08491 1Z0-131 Build Internet Applications I Rel. 6/6i M08604, M08605, M08606 (IG) 1Z0-132 Build Internet Applications II Rel. 6/6i M08749, M08750£¨Ñ§ÉúÊֲᣩ M08751, M08752£¨½ÌʦÊֲᣩ M08608 (PPT) Oracle ¹Ù·½½Ì²ÄÒ»°ã»áÓÉÒÔϼ¸²¿·Ö¹¹³É£º Instructor Guide student guide »òParticipant Guide Transparencies HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 74. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ Electronic Presentation ÆäÖÐ student guide »òParticipant Guide ¾ÍÊÇÌý oracle ½²×ùµÄʱºò»áµÃµ½µÄ¿Î±¾£¬¼´Ëùν ѧÉúÊÖ²á . Instructor Guide »áÔÚ student guide »òParticipant Guide µÄ»ù´¡ÉÏÔö¼Ó¿Îʱ°²ÅÅÐÅÏ¢£¬¼´ ËùνÀÏʦÊֲᣬÁ½ÕßÄÚÈÝ»ù±¾Ò»Ö¡£ Transparencies ºÍ Electronic Presentation ÊǽÌʦ½²¿ÎµÄʱºòʹÓõĻõÆƬ¡£ Ë ü Ã Ç µ Ä ± à º Å Ò »student ´guide »ò Participant Guide ¡¢ °ã° ÕÕ Instructor Guide ¡¢ Transparencies¡¢ Electronic Presentation µÄ˳Ðò±àºÅ¡£ M013907 Administrating Oracle9i Application Server Student Guide M03989 Instroduction to Oracle: SQL and PL/SQL Participant Guide Vol. 1 Les1-6 M03990 Instroduction to Oracle: SQL and PL/SQL Participant Guide Vol. 2 Les8-17 M03991 Instroduction to Oracle: SQL and PL/SQL Participant Guide Vol. 3 Les18-26 M03992 Instroduction to Oracle: SQL and PL/SQL Participant Guide Vol. 4 Practice M04802 Oracle Express Relational Access Manager Instructor Guide M04886 Oracle Express Database Design and Control Student Guide Vol. 1 M04887 Oracle Express Database Design and Control Student Guide Vol. 2 M05759 Oracle Express Database Design and Control Slides PPT M06089 Introduction to Data Warehousing Instructor Guide M06103 Developer PLSQL ProgramUnits PPT M06149 Developer2000 Build Forms I_V1 SG M06150 Developer2000 Build Forms I_V2 SG M06151 Developer2000 Build Forms I_V1 IG M06152 Developer2000 Build Forms I_V2 IG M06180 Developer2000 Build Forms II_V1(Lesson1-10) M06181 Developer2000 Build Forms II_V2(Lesson11-14) M? Developer2000 Build Reports M06268 Oracle8: Backup and Recovery Workshop Instructor Guide Vol. 1 M06269 Oracle8: Backup and Recovery Workshop Instructor Guide Vol. 2 M06291 Oracle8: Database Administration Instructor Guide Vol. 1 M06292 Oracle8: Database Administration Instructor Guide Vol. 2 M06293 Oracle8: Database Administration Instructor Guide Vol. 3 M07081 Oracle8: Parallel Server Implementation Student Guide M07082 Oracle8: Parallel Server Implementation Instructor Guide M07126 Develop Application With Oracle Express Objects Instructor Guide Vol. 1 M07127 Develop Application With Oracle Express Objects Instructor Guide Vol. 2 M07182 Develop Applications with Oracle Express Objects Transparencies PPT M07349 Introduction to Oracle Financial Analyzer Instructor Guide Vol. 1 M07350 Introduction to Oracle Financial Analyzer Instructor Guide Vol. 2 M07391 Oracle Financial Analyzer for Administrators Instructor Guide Vol. 1 M07392 Oracle Financial Analyzer for Administrators Instructor Guide Vol. 2 M07861 Sql Statement Turning Workshop_O8 pdf M08353 Oracle 8i: New Feature for Administrators Participant Guide Volume 1 M08354 Oracle 8i: New Feature for Administrators Participant Guide Volume 2 HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 75. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ M08355 Oracle 8i: New Feature for Administrators Participant Guide Volume 3 M08356 Oracle 8i: New Feature for Administrators Instructor Guide Vol. 1 M08357 Oracle 8i: New Feature for Administrators Instructor Guide Vol. 2 M08358 Oracle 8i: New Feature for Administrators Instructor Guide Vol. 3 M08359 Transparancies M08360 Electronic Presentation M08491 Oracle Developer: Release 1 to Release 6 New Features Instructor Guide M08567 ORACLE ENTERPRISE MANAGER V2 Student Guide Vol. 1 M08568 ORACLE ENTERPRISE MANAGER V2 Student Guide Vol. 2 M08604 Oracle Developer - Build Forms I_V1 pdf M08605 Oracle Developer - Build Forms I_V2 pdf M08606 Oracle Developer - Build Forms I_V3 pdf M08608 Oracle Developer - Build Forms I_PPT pdf M08751 Oracle Developer: Build Forms II Instructor Guide Vol. 1 M08752 Oracle Developer: Build Forms II Instructor Guide Vol. 2 M08763 Data Warehousing Fundamentals Instructor Guide Vol. 1 M08764 Data Warehousing Fundamentals Instructor Guide Vol. 2 M08694_Oracle Developer - Build Reports_V1 pdf M08695_Oracle Developer - Build Reports_V2 pdf M09005 Enterprise DBA: Architecture and Administration Student Guide Vol. 1 M09006 Enterprise DBA: Architecture and Administration Student Guide Vol. 2 M09007 Enterprise DBA: Architecture and Administration Instructor Guide Vol. 1 M09008 Enterprise DBA: Architecture and Administration Instructor Guide Vol. 2 M09095 Enterprise DBA: Backup and Recovery Workshop Student Guide Vol. 1 M09096 Enterprise DBA: Backup and Recovery Workshop Student Guide Vol. 2 M09097 Enterprise DBA: Backup and Recovery Workshop Instructor Guide Vol. 1 M09098 Enterprise DBA: Backup and Recovery Workshop Instructor Guide Vol. 2 M09125 Enterprise DBA: Network Administration Student Guide M09126 Enterprise DBA: Network Administration Instructor Guide M09213 Enterprise DBA: Performance and Tuning Student Guide Vol. 1 M09214 Enterprise DBA: Performance and Tuning Student Guide Vol. 2 M09215 Enterprise DBA: Performance and Tuning Instructor Guide Vol. 1 M09216 Enterprise DBA: Performance and Tuning Instructor Guide Vol. 2 ËÄ ¿¼ÊÔ×ÊÔ´Áбí . ÕâÀïÁгöµÄÊÇÍøÉÏ¿ÉÒÔÕÒµ½µÄ×ÊÁÏ ¿Î³Ì±àºÅ ×ÊÁϱàºÅ Îļþ¸ñʽ ×÷Õß /Ãû³Æ ±¸×¢ ---------------------------------------------------------------------------------------------------------- 1Z0-001 Oracle m03989£¬ m03990£¬ m03991£¬ m03992 PDF δ֪ Oracle Class Handouts -- SQL&PL/SQL PDF/PPT www.coolcram.com CoolCramBible for 1Z0-001 PDF www.brainbuzz.com Cramsession for 1Z0-001 PDF δ֪ OCP for Nokia Tutorial Notes 1Z0-001 DOC HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 76. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ Î´ÖªCH7 -- Exam Terms and Concepts PDF BOOK Troy Techenologies Study Guide for 1Z0-001 PDF Sybex OCP DBA Study Guides: SQL&PLSQL PDF BOOK Sybex SQL&PLSQL Flashcards EXE TEST STS 1Z0-001e_v2.22a EXE 296 Ìâ STS 1Z0-001e_v2.29d EXE 307 Ìâ CHEET SHEETS 1Z0-001e_20010206 DOC 175 Ìâ δ֪ Exam1_Introduction to SQL&PLSQL PDF 120 Ìâ measure_up setup001 EXE ---------------------------------------------------------------------------------------------------------- 1Z0-013 www.coolcram.com CoolCramBible for 1Z0-013 PDF www.brainbuzz.com Cramsession for 1Z0-013 PDF δ֪ OCP for Nokia Tutorial Notes 1Z0-013 DOC δ֪ CH8 -- Exam Terms and Concepts PDF BOOK Oracle M06295 PPT Troy Techenologies Study Guide for 1Z0-013 PDF STS 1Z0-013e_v2.22a EXE 300 Ìâ CHEET SHEETS 1Z0-013e_20010318 DOC 112 Ìâ δ֪ Exam2_Database Administration PDF 120 Ìâ δ֪ DOC 62 Ìâ ---------------------------------------------------------------------------------------------------------- 1Z0-014 www.brainbuzz.com Cramsession for 1Z0-014 PDF δ֪ OCP for Nokia Tutorial Notes 1Z0-014 DOC Oracle PPT Troy Techenologies Study Guide for 1Z0-014 PDF STS 1Z0-014e_v2.20 EXE 300 Ìâ STS 1Z0-014e_v2.22a EXE 300 Ìâ ---------------------------------------------------------------------------------------------------------- 1Z0-015 www.brainbuzz.com Cramsession for 1Z0-015 PDF δ֪ OCP for Nokia Tutorial Notes 1Z0-015 DOC δ֪ CH9 -- Exam Terms and Concepts PDF BOOK δ֪ Study Notes DOC ±Ê¼Ç Troy Techenologies Study Guide for 1Z0-015 PDF STS 1Z0-015e_v2.22a EXE 300 Ìâ δ֪ Exam3_Backup and Recovery Workshop PDF 120 Ìâ ---------------------------------------------------------------------------------------------------------- 1Z0-016 www.coolcram.com CoolCramBible for 1Z0-016 PDF www.brainbuzz.com Cramsession for 1Z0-016 PDF δ֪ OCP for Nokia Tutorial Notes 1Z0-016 DOC δ֪ CH11 -- Exam Terms and Concepts PDF BOOK Troy Techenologies Study Guide for 1Z0-016 PDF STS 1Z0-016e_v2.15g EXE 293 Ìâ STS 1Z0-016e_v2.23N EXE 293 Ìâ CHEET SHEETS 1Z0-016e_20010317 DOC 118 Ìâ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 77. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ ---------------------------------------------------------------------------------------------------------- 1Z0-020 Oracle M08356, M08357, M08358 PDF Oracle M08360 PPT Peter N. Crompton Study Guide PDF ±Ê¼Ç δ֪ CH12 -- Exam Terms and Concepts PDF BOOK STS 1Z0-020e_v2.28t EXE 286 Ìâ STS 1Z0-020e_v2.29d EXE 253 Ìâ δ֪ Oracle8i Upgrade New Features PDF 120 Ìâ ------------------------------------------------------------------------------------------------------- 1Z0-023 Contemporary Tech Quick Study Guide for 1Z0-023 PDF www.brainbuzz.com Cramsession for 1Z0-023 PDF Sybex OCP DBA Study Guide: DBA_Admin&BackRec PDF BOOK STS 1Z0-023e_v2.27g EXE 300 Ìâ STS 1Z0-023e_v2.29d EXE 300 Ìâ STS 1Z0-023w_v2.32l EXE 291 Ìâ measure_up setup023 EXE ------------------------------------------------------------------------------------------------------- 1Z0-024 Contemporary Tech Quick Study Guide for 1Z0-024 PDF Sybex OCP DBA Study Guide: Perf&Netadm PDF BOOK STS 1Z0-024e_v2.28t EXE 300 Ìâ measure_up setup024 EXE ------------------------------------------------------------------------------------------------------- 1Z0-025 Contemporary Tech Quick Study Guide for 1Z0-025 PDF δ֪ Oracle 8I B&R Quick Study Guide DOC Sybex OCP DBA Study Guide: DBA_Admin&BackRec PDF BOOK STS 1Z0-025e_v2.28t` EXE 315 Ìâ ------------------------------------------------------------------------------------------------------- 1Z0-026 Contemporary Tech Quick Study Guide for 1Z0-026 PDF Sybex OCP DBA Study Guide: Perf&Netadm PDF BOOK STS 1Z0-026e_v2.29b EXE 268 Ìâ CHEET SHEETS 1Z0-026e_20010206 DOC 175 Ìâ ------------------------------------------------------------------------------------------------------- 1Z0-101 CHEET SHEETS 1Z0-101e_20010209 DOC 175 Ìâ ------------------------------------------------------------------------------------------------------- δ֪ OCP DBA Guide HTML OCP8 1Z0-401 δ֪ OCP DBO Certification Exam Guide HTML OCP8 δ֪ OCP DBA Certification Exam Guide HTML OCP8 ------------------------------------------------------------------------------------------------------- 1Z0-411 Sybex Oracle8i DBO Study Guide PDF BOOK Sybex Oracle8i DBO Flashcards EXE TEST Îå ¿¼ÊÔ¼ò½é . 1. Ñ¡ÔñÊÚȨ¿¼ÊÔÖÐÐÄ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 78. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ Oracle ίÍÐrometric ¹«Ë¾½øÐÐ ÈÏÖ¤¿¼ÊÔ Ä¿Ç° P OCP , Çë´ó¼Òµ½ÏÂÃæÕâ¸öÍøÖ·²é¿´¹úÄÚ¸÷µØ µÄÊÚȨ¿¼ÊÔÖÐÐÄ ,×¢ÒâѯÎÊÊÇ·ñÓÐ ,²¢ÇÒÔÚ¿¼ÊÔÖÐÐÄ×¢ÒâÊÇ·ñÓÐ Ö¤ OCP ¿¼ÊÔ prometirc µÄÊÚȨ Êé http://www.prometric.com.cn/aptcquery.asp?page_id=84 2. ÈÏÖ¤¿¼ÊÔµÄÄÇÌì ÇëÄúÔÚԤԼʱ¼äÇ°ÖÁÉÙ 15 ·ÖÖÓµ½´ï²âÊÔÖÐÐÄ¡£Èç¹ûÄú³Ùµ½³¬¹ý 15 ·ÖÖÓ£¬²âÊÔÖÐÐÄÈË Ô±½«²»»á¸øÄú°²ÅÅ×ù룬·ñÔò»á¸ÉÈÅÆäËûÈ˵Ŀ¼ÊÔ¡£ Ç©Êð²âÊÔÈÕÖ¾£¬×¼±¸³öʾÖÁÉÙÁ½ÖÖÉí·ÝÖ¤¼þ¡£Ò»ÖÖ±ØÐëÊÇÕþ¸®°ä·¢µÄ´ø Á½ÖÖÖ¤¼þÉϱØÐëÓÐÄúµÄÇ©Ãû¡£ ²âÊÔÖÐÐĹÜÀíÔ±½«¸øÄú¼òµ¥½éÉÜÒ»ÏÂÇé¿ö£¬ÁìÄúµ½¿¼ÊԵļÆËã»úÖնˡ£ ²âÊÔÖÐÐÄÈËÔ±½«¸øÄúÌṩ¹ØÓÚ¿¼ÊÔϵͳºÍÉ豸ʹÓõļÆËã»ú»¯Ö¸µ¼£¬Ê¹ÄúÊ ³ÌÐò¡£Çé ¿ö½éÉÜ°üÀ¨¼ì²éÊÔÌâ¡¢ÊäÈë´ðÌâµÄÖ¸µ¼£¬ÔõÑù·ÃÎÊÄú»Ø´ðijЩ²âÊÔÊÔÌâËùÐè Ò⣬²âÊÔÖÐÐÄÈËÔ±²¢²»ÊÇÊÔÌâר¼Ò£¬¶ÔÓÚ²âÊÔÄÚÈÝ£¬ËûÃDz»ÄܸøÄúÈκÎ×Éѯ Á˹涨µÄʱ¼ä£¬¼ÆËã»úµÄ³ÌÐòÉè¼Æ½«ÖÕÖ¹¿¼ÊÔ£¬Ê£ÏÂûÓлشðµÄÎÊÌ⽫±»Ê Çë×¢Ò⣺²»Ðí½«Ö½ÕÅ¡¢Êé¼®¡¢°ü¡¢¼ÆËã»ú¡¢¸öÈ˼Çʱ¾£¨ personal organizers£ ©¡¢¼ÆËãÆ÷µÈ ´øÈ뿼³¡¡£¿¼ÊÔʱÓõIJݸåÖ½½«ÓɲâÊÔÖÐÐÄÈËÔ±Ìṩ¡£¿¼ÊÔ½áÊøʱ£¬²âÊÔÖÐ »ÙËùÓвݸåÖ½¡£ 3. »ñµÃÄúµÄ¿¼ÊÔ½á¹û Íê³É²âÊÔʱ¿É´Ó²âÊÔÖÐÐĵõ½¿¼ÊԳɼ¨µ¥¡£Èç¹û Äú²Î¼Ó ¿¼ÊÔ£¬ÔòÔÚÄúµÄ²âÊÔÆÀÅÐ beta ºÍ´ò·Öºó°Ñ³É¼¨µ¥ÓʼĸøÄú¡£ Prometric °ÑËùÓп¼ÊÔ½á¹ûÁ¢¼´·¢Ë͵½ Oracle ÈÏÖ¤ÏîÄ¿¹ÜÀí²¿ÃÅ¡£ ÇëÔÚÄúµÄµµ°¸Àï±£ÁôÄúµÄ²âÊÔ½á¹û¸´·Ý¡£ 4. ²¹¿¼ ±¨¿¼ÈË¿¼ÊÔ²»¼°¸ñ±ØÐëÖÁÉÙµÈ 30 ÌìºóÔÙ½øÐв¹¿¼£¬ÕâÒ»Õþ²ß¸ÇÎÞÀýÍâ¡£ Oracle ¹ÄÀøÄú ÀûÓÃÓë³É¼¨µ¥Ò»ÆðÌṩµÄÆÀ²â·´À¡Òâ¼û£¬ÒԱ㸴ϰÐèÒª½øÒ»²½×¼±¸»òѧϰµ ±¨¿¼ÈË¿ÉÒÔÀûÓÃÔÚÏß²âÊÔÄÚÈÝÇåµ¥£¨ Test Content Checklists£ ©£¬·¢ÏÖÔÚ¼¼ÄÜ·½ÃæÐèÒª¶à¼Ó×¢ ÒâÖ®´¦¡£ 5. ¸ü¶àÐèÒª¿¼ÂǵÄÊÂÏî È«²¿¿¼ÊÔ¶¼ ÊÇ»ùÓÚ¼ÆËã»ú½øÐеġÈÏÖ¤¿¼ÊÔ¿ÉÒÔ°üº¬¶àÏîÑ¡Ôñ¡Ìî¿ÕºÍ½»»¥Ê½ £ ¢ ×ÐϸÔĶÁÈ«²¿ÊÔÌ⣬°üÀ¨ËùÓлشðÑ¡ÏÒòΪÓÐЩÌâ²»Ö»ÓÐÒ»¸öÕýÈ·´ð°¸¡£ ´ð°¸»òÈ«²¿ÕýÈ·µÄ´ð°¸¡£ÓÐЩÊÔÌ⻹°üÀ¨Õ¹Ê¾£¬ËüÃǽ«ÔÚÆÁÄ»ÉϳÊÏÖ¸øÄú£¬ ¿ÉÒÔ²éÔÄÕâЩչʾ¡£ °²ÅźÃ×Ô¼ºµÄ½ø¶È¡£Á˽âÊÔÌâµÄ×ÜÊý£¬·ÖÅäºÃʱ¼ä£¬ÒÔ±ã½øÐÐÄúµÄ²âÊÔ¡ Ò×µÄÊÔÌ⣬ȻºóÔÙ»¨Ê±¼ä»Ø´ð¿´À´ÄÑһЩµÄÊÔÌâ¡£ËùÓÐÊÔÌⶼÊÇƽ¾ù´ò·ÖµÄ ¿´À´ÈÝÒ×µÄÊÔÌâµÄµÃ·Ö£¬Óë×öµÄÄÑһЩµÄÊÔÌâµÄµÃ·Ö¶¼ÊÇÒ»ÑùµÄ¡£²âÊÔÏîÄ¿ »Ø¹ýÍ·ÔÙ×öµÄÊÔÌâÉÏ×ö³ö±ê¼Ç ¡ÔÚ¿¼ÊÔ×îºó¸øÄú³ÊÏÖ¸´²éÆÁÄ»£ÉÏÃæÏÔʾ³öÄúÒÑ´ð¹ýµÄ £ ¬ ÒÅ©µÄÌâÄ¿¡¢×ö³ö±ê¼ÇµÄÌâÄ¿»ò»Ø´ð²»ÍêÕûµÄÌâÄ¿¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 79. ITPUB µç×ÓÔÓÖ¾ OCP ²»ÍêÈ«Ö¸ÄÏ ²Â²âûÓаÑÎÕÊÔÌâ¡£ÄúµÄ²âÊԵ÷ÖÊÇ»ùÓÚÄúÕýÈ·´ð°¸µÄÊýÁ¿¡£Ìâ´ð´íÁË ËùÒÔ²ÂÒ»²Â¶ÔÄúÊÇÓкô¦µÄ¡£×Ðϸ¿´ºÃÌâÄ¿ºÍËùÓлشðÑ¡Ïî¡£ÄúÄÜ´ð¶àÉÙÌ Ê£ÏµÄÌâÄ¿¿ÉÒԲ²⡣ ¸´²éÄúµÄ´ð°¸¡£Èç¹ûÍê³É¿¼ÊÔºóÄú»¹ÓÐÊ£Óàʱ¼ä£¬¼ì²éÄúµÄ´ð°¸£¬ÌرðÊ ÎÕ²»´óµÄÊÔÌâ¡£ ÿһÃÅ¿¼ÊÔʵÐжàÖÖÐÎʽ¡£ÄúÔ¤ÏȲ»ÖªµÀ»áÓöµ½ÄÄÖÖÐÎʽµÄ¿¼ÊÔ¡£Èç¹ûÄ ¿¼ÊÔʧ°ÜÁË£¬Ñ¡ÔñÁËÖØ¿¼£¬¾Í»á¸øÄú²»Í¬µÄÐÎʽµÄ¿¼ÊÔ£¬ÕâÖÖÐΠʽͬÑù²âÊÔÄúµÄ¼¼ÄܺÍ֪ʶ¡£ Áù Ïà¹ØÕ¾µã×ÊÔ´ . Oracle ¿¼ÊÔÈÏÖ¤ ¹Ù·½½éÉÜ£º http://www.oracle.com/global/cn/education/certification/index.html?ocptracks.html Oracle ¹Ù·½±¨¿¼Ö¸ÄÏÏÂÔØ£º http://www.oracle.com/global/cn/education/certification/index.html?ocpguides.html Oracle Ä£ÄâÆ÷ simulator ½éÉÜ£º http://www.oracle.com/global/cn/education/certification/simulator/index.html?content.html ±¾ÎÄÄÚÈÝÖ÷Òª²Î¿¼ÍøÉÏÐÅÏ¢, ¾ßÌåÀ´Ô´µÈÄ¿Ç°ÎÞ·¨È·¶¨ , Òòʱ¼ä½Ï³¤ , ½öÔڴ˸ÐлÄÇЩ Ìṩ¹ýÐÅÏ¢×ÊÁϵÄÍøÓÑÃÇ¡£ ÒòÄÚÈݽ϶à ,²¿·Ö×ÊÁÏδ¾-ºËʵ£¬Í¬Ê±Ò²ÓÐËùǷȱ£¬Ï£Íû¹ã´ó fans ÃǸøÓè²¹³ä£¬Ð»Ð»¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 80. LZ0-024 ¿¼µã×ܽá 2001/12/01 Write by easyfree 1. Course Intraduction 0 2. Tuning overview 1 (1) µ÷ÕûµÄÏȺó´ÎÐò 1. Tune the design. -- Application designers 2. Tune the application. -- Application developers 3. Tune memory. --| 4. Tune I/O. |-- DBA 5. Tune contention. | 6. Tune the operating system. --| (2) µ÷ÕûµÄ»ùµãºÍÖ÷ÒªµÄ¿É²âÁ¿µÄÄ¿±ê Database hit percentages ÃüÖÐÂÊÊÇ line base SQL statements access the smallest possible number of Oracle blocks ·ÃÎʾ¡¿ÉÄÜÉÙ µÄÊý¾Ý¿é response time, database availability, memory utilization(Ò³Ãæ½»»» )µÈ 3. Oracle Alert and Trace Files 2 (1) USER_DUMP_DEST ºÍ BACKGROUD_DUMP_DEST USER_DUMP_DEST: SQL_TRACE, DEAD LOCK, Óû§ session ÖÐ Óï¾äµÄÖ´ÐÐÇé¿ö sql BACKGROUD_DUMP_DEST: Alert.log, ϵͳºǫ́½ø³ÌµÄ´íÎóÐÅÏ¢ (2) Alert.log ÎļþµÄÌØÐÔºÍÄÚÈÝ -- Æô¶¯Ê±²»´æÔÚÔò×Ô¶¯´´½¨ ,´æÔÚACKGROUD_DUMP_DEST ·¾¶Ï B -- Îļþ³ß´çÒ»Ö±Ôö³¤ ,ÐèÒªÈ˹¤Çå³ý -- °üº¬ÄÚÈÝÓУº Internal errors (ORA-600), and block corruption errors (ORA-1578) Ó ° Ï ì Ê ý ¾ Ý ¿, â ½ á ¹ ¹ Ä ² Ò Ô ¼ ° à :CREATE DATABASE, STARTUP, ²ÎÊýµ , Ù×÷ üÁî SHUTDOWN, ARCHIVE LOG, RECOVER ʵÀýÆô¶¯Ê±µÄ·Çȱʡ²ÎÊý -- Æô¶¯Ê±Ð´Èë ¿ØÖÆÎļþºÍÔÚÏß±í¿Õ¼ä±¸·Ý δÍê³ÉµÄ¼ì²éµã (3) SQL_TRACE ÉèÖõÄÁ½¸ö¼¶±ð Instance ²ÎÊýÖÐÉ趨 Session ALTER SESSION SET SQL_TRACE=TRUE / DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(sid,serial#,TRUE/FALSE) (4) ²ÎÊý AX_DUMP_FILE_SIZE ÏÞÖÆser Trace ÎļþµÄ Blocks M U O/S 4. Utilities and Dynamic Performance Views 3 (1) Anylyze Ö´ÐÐÖ®ºó²éѯÐÅÏ¢µÄ×Öµä : DBA_TABLES and DBA_TAB_COLUMNS table storage within extents and blocks DBA_HISTOGRAMS and INDEX_HISTOGRAM data about nonindexed and indexed column data distribution. DBA_INDEXES and INDEX_STATS data about index within extents and blocks and indexation usefulness.
  • 81. (2) ¹ØÓÚatchL Latch µÄÀàÐÍ : Willing-To-Wait ºÍImmediate Gets/Misses/Sleeps µÄÒâÒå Reports.txt ÖмǼµÄ µÄ ratio Ó¦ Latch hit >=99%,¼´ redo latch ¾ºÕùÓ¦ <=1% DBA ¿Éµ÷ÕûµÄ ÕùÓÃÇøÓò allocation latch/Redo copy latch/LRU latch Latch : Redo (3) ¶¯Ì¬ÊÓͼ Ìصã X$±íºÍ$_µÄͬÒå´Ê sys,ÔÚ : ÊÇ V ,ÊôÓÚ V$FIXED_TABLE ÖÐ ,NOMOUNT ºÍ MOUT ʱ¿ÉÒÔ²éѯ ,TIMED_STATISTICS=TRUE ¼Ç¼ AIT_TIME W Ö÷ÒªµÄÊÓͼ %EVENT ʼþÀàÊÓͼ wait for event µÄͳ¼Æ ×¢Òâ °üº¬ -- %WAIT, wait for events or resource µÄÐÅÏ¢ -- V$SYSTEM_EVENT , V$SESSION_EVENT %STAT ͳ¼ÆÀàÊÓͼ V$SYSSTAT(Instance Æô¶¯ÒÔÀ´µÄͳ¼Æ ) %CACHE ÄÚ´æ·½ÃæµÄµÄͳ¼ÆÊÓͼ ,Ö÷ÒªÓÐ V$LIBRARYCACHE ºÍ V$ROWCACHE(Êý ¾Ý×ÖµäµÄ ...),V$DB_OBJECT_CACHE PX% ²¢Ðд¦ÀíµÄÐÅÏ¢ V$SESSION ¼Ç¼ËùÓÐÓû§Á¬½ÓµÄ type(BACKGROUND/USER) V$LOCK ºÍV$LATCH µÄÇø±ð : Ç°ÕßÊÇÏÖÓÐËøÐÅÏ¢ , ºóÕßÊÇËøÕùÓÃͳ¼ÆÐÅÏ¢ V$SYSTEM_EVENT(ËùÓÐ session ´ÓInstance Æô¶¯ÒÔÀ´ )/V$SESSION_EVENT(ÿ¸ö session)/V$SESSION_WAIT(µ±Ç°»î¶¯ session) V$SEESION_WAIT.WAIT_TIME -- Ò ª » ñ È ¡ WAIT_TIME µ Ä Ö µ Ø Ð ë Ò ª ½ « , ± TIMED_STATISTICS=TRUE(¶¯Ì¬¿É¸Ä ) > 0 The session's last wait time = 0 The session is currently waiting = -1 The value was less than 1/100 of a second = -2 The system cannot provide timing information -- TIMED_STATISTICS=FALSE (4) ¹ØÓÚTLBSTAT and UTLESTAT ¹¤¾ß U Ìصã : ÐèÒªYSDBA,´´½¨ÁËһЩͳ¼Æ±íºÍÊÓͼ²¢ÔÚ½áÊøʱɾ³ý S ,DEFFERENCE ¼Ç¼¿ª ʼºÍ½áÊøʱͳ¼ÆµÄ²îÒì ,report.txt TIMED_STATISTICS=TRUE,ͳ¼ÆÆڼ䷢ÉúÖжÏÐèÒªÖØÐÂÔËÐÐ Report.txt µÄÄÚÈÝ Library Cache Éæ¼°QL,PL/SQL Óï¾äÖ´ÐÐ S System Éæ¼°uffer cache ºÍÂß¼-¶Áд b Wait events Éæ¼°µÈ´ýµÄ ʱ¼ä CPU Latch Éæ¼°ÄÚ´æÖÐËøµÄÕùÓà ,redo allocation/redo copy/LRU Rollback contention Éæ¼°ndo header, µÈ´ý u rollback header ÖеÄÊÂÎñ slot Buffer Busy Wait Éæ¼°ata block,segment header,undo header ÕùÓà d Dictionary cache Éæ¼°Êý¾Ý×ÖµäµÄ get/miss I/O Éæ¼°Êý¾ÝÎļþµÄ¶Áд Period of measurement UTLBSTAT,UTLESTAT ¿ªÊ¼ºÍ½áÊøµÄʱ¼ä 5. Tuning the Shared Pool 7 (1) ¹ØÓÚhared Pool S ÌØÐÔ : SHARED_POOL_SIZE ¾ö¶¨´óС , library cache + data dictionary cache + UGA + large pool
  • 82. Shared Pool µÄÔ-Òò : shared pool µÄ miss ±Èdatabase buffer cache µÄ miss Ó°Ïì ´ó ,library cache Ê×Òª (2) ¹ØÓÚarge objects L ÌØÐÔ LRU : use tuning: generic code/bind variable/·ÀÖ¹¿Õ¼ä²»×ã ¶ø age out reload/·ÀÖ¹ object ¸ü¸Ä¶ø re-parse ´óµÄÄäÃû¿é ->СµÄ¹ý³Ì /pin/reserve space for large objects keep: ·½·¨ : DBMS_SHARED_POOL.KEEP / .UNKEEP ÐèÒª keep µÄ object: ³£Óõİü /³£ÓÃµÄ trigger/sequence ʹÓà : Instance Æô¶¯Ê± ·ÀÖ¹ËéƬ keep /ALTER SYSTEM FLUSH SHARED_POOL À´ flush shared pool(no keep) ÊÓͼ : V$LIBRARYCACHE(GETHITRATIO>90%,·ñÔòÓÅ»¯Óï¾äÓ¦Óà ; reloads/pins Ó¦ <=1%) V$SGASTAT/V$SQLAREA/V$SQLTEXT/V$DB_OBJECT_CACHE(¹ý³ÌµÈÕ¼ÓÃÄÚ´æ ) ²ÎÊý : OPEN_CURSORS/SESSION_CACHED_CURSORS CURSOR_SPACE_FOR_TIME -- ³ý·ÇELOADS in V$LIBRARYCACHE һֱΪ R 0, ·ñÔò±£³Öȱʡֵ :false Ô¤Áô¿Õ¼ä : V$SHARED_POOL_RESERVED µ± REQUEST_FAILURES ´ ó Ó 0 ² ¢ Ç Ò ² » ¶ Ï Ô ö ³ ¤ Ú (ORA-4031), ¿ É Ò Ô Ï à Ó ¦ Ô ö ´ ó SHARED_POOL_RESERVED_SIZE & SHARED_POOL_SIZE µÄÖµ REQUEST_MISS = 0 ²¢ Ç Ò ² » Ô Ù Ô ö ³ FREE_MEMORY>=50%*SHARED_POOL_RESERVED_SIZE,¿¼ÂǼõÉÙ reserved size SHARED_POOL_RESERVED_SIZE ³õʼΪ SHARED_POOL_SIZE µÄ 10% (3) ¹ØÓÚÊý¾Ý×Öµä cache ÌØÐÔ : Æô¶¯Ê±ÈκΠsql Óï¾ä¶¼½«µ¼Ö miss, GETMISSES ¼¸ºõ²»¿ÉÄÜΪ cache 0 µ÷Õû : µ÷ÕûHARED_POOL_SIZE µÄ´óС¶ø¼ä½ÓµØµ÷Õû cache S dictionary report.txt ÖÐ GET_MISS/GET_REQS < 15% : ×Öµä : V$ROWCACHE -- SUM(GETMISSES)/SUM(GETS) < 15%, · ñ Ô ò Ó ¦ Ô ö ´ ó SHARED_POOL_SIZE (4) ¹ØÓÚGA U °üÀ¨ : User Session Data(sort area & private SQL area) ºÍCursor State, MTS Öд´½¨ ´æ´¢ : רÓ÷þÎñÆ÷ MTS-->shared pool, ʹÓà -->PGA, MTSµÄ×ÜÄÚ´æ <=ʹÓÃרÓ÷þÎñÆ÷ ÄÚ´æ µ÷Õû : ²éÔÄÊÓͼ V$MYSTAT,( V$STATNAME, V$SESSTAT ²éѯ space usage for MTS user),¼ÆËã : SUM(VALUE) (5) ¹ØÓÚarge Pool L ÌØÐÔ : LARGE_POOL_SIZE ÐèÃ÷È·ÉèÖà ,ÈôδÉèÖÃʹÓà pool ·ÖÅä shared The Oracle library cache and buffer cache will never allocate memory from the large pool Ó Ã Í ¾ : I/O · þ Î ñ ½ /oracle ̱ ¸ · Ý » /MTS/ ² ¢ Ð Ð ² Ù × ÷ ø ³ Ø ¸ ´ (PARALLEL_AUTOMATIC_TUNING=TRUE) ×Öµä : v$sgastat 6. Tuning the Buffer Cache 7 (1) ¹ØÓÚÃüÖÐÂÊ
  • 83. Hit Ratio = 1 ¨C(physical reads/(db block gets + consistent gets)) -- ·ÖĸÊÇ request µÄ×ÜÊý ,°üÀ¨ÄÚ´æºÍ´ÅÅ̶ÁÈ¡ -- ÒòΪÕâЩͳ¼ÆÊý¾ÝÊÇʵÀýÆô¶¯ºóÊÕ¼¯µÄ ,ËùÒÔ²»ÒªÆô¶¯ºóÁ¢¿Ì½øÐмÆËã ,ÒòΪÕâʱ buffer cache ¿ÉÄÜÊÇ¿ÕµÄ ÊÓͼ : V$SYSSTAT( name,value) Ö¸±ê Ratio Ó¦ : Hit >=90%, ·ñÔòÐèÒªÔö¼Ó DB_BLOCK_BUFFERS (2) ¹ØÓÚ Multiple Buffer Pools -- There are at least 50 blocks per latch -- × Ü Ê ý ² » Ä Ü ³ ¬ ¹ ý DB_BLOCK_BUFFERS ºÍ DB_BLOCK_LRU_LATCHES , · ñ Ô ò mount ʱºò³ö´í -- ÈýÖÖ KEEP: ±£´æ×îÓпÉÄÜÖØÓÃµÄ object RECYCLE: ±£´æºÜÉÙ±»ÖØÓÃµÄ object DEFAULT: ʼÖÕ´æÔÚ ,´óСµÈÓÚµ¥¸ö cache, ³ß´ç¶¨Òå buffer =DB_BLOCK_BUFFERS- ÆäËüuffer b -- V$BUFFER_POOL_STATISTICS: consistent gets statistics for multiple buffer caches -- ÈçºÎ¼ÆËã buffer pool µÄÊý¾Ý KEEP ANALYZE ... ESTIMATE STATISTICS »ñÈ¡bjects µÄ´óСDBA_TABLES, DBA_INDEXES, and DBA_CLUSTERS ÖÐµÄ o :½« blocks Ïà¼Ó (3) ¹ØÓÚRU Latches L ÌØÐÔ ¸ö : ÿ latche ×îÉÙ¿ØÖÆ buffer, ×îС 50 ¸ö =1,ȱʡ =1/2*CPU, ¶Ôÿ¸ö DBWn ½ø³Ì ÓÐÒ»¸ö Latch,ÃüÖÐÂÊÓ¦ >=99% ÊÓͼ : V$LATCH and V$LATCHNAME ²ÎÊý : DB_BLOCK_LRU_LATCHES(µ¥ cpu ϵͳÖÐ ,²»Òª³¬¹ýCPU,ÔÚ¶àuffer pool ÖÐ b ) (4) ¹ØÓÚ Free List ÌØÐÔ : freelist ¾ö¶¨Äĸö ¿ÉÒÔÓÃÓÚ block insert ÊÓͼ : V$SESSION_WAIT class = 'segment header' DBA_SEGMENT S segment µ±Ç°´æÔÚµÄ µÄÊýÁ¿ freelist V$WAITSTAT SELECT class, count, time FROM v$waitstat WHERE class = 'segment header'; V$SYSTEM_EVENT event='buffer busy waits' ½â¾ö¾ºÕùµÄÈý¸ö²½Öè : 1. ²éѯ$SESSION_WAIT,»ñÈ¡ILE, BLOCK, and ID V F 2. ²éѯBA_SEGMENTS ºÍ D V$SESSION_WAIT,»ñÈ¡·¢Éú¾ºÕùµÄ ÐÅÏ¢segment 3. Öؽ¨bject,Ôö¼Ó o freelist (5) V$CACHE ÓëV$BUFFER_POOL µÄÇø±ð -- V$CACHE: ¼à¿Øÿ¸ö Õ¼ÓõÄobject buffer pool block ÊýÁ¿ catparr.sql ´´½¨ /ÓÉ /ÓÃÓÚ OPS to determine the number of blocks in the RECYCLE buffer pool -- V$BUFFER_POOL: Describes multiple buffer pools (6) ¹ØÓÚ table cache µÄ˵·¨ Ä¿±ê : ¶Ôδ cache µÄtable ½øÐÐ scan,block ¶¼ÔÚRU ¶Ë full M ,¿ÉÒÔcache table ·ÅÔÚLRU
  • 84. ·½Ê½ 1. Create a table using the CACHE clause -- create table ....cache/nocache :£º 2. Alter a table using the CACHE clause -- alter table ... cache/nocache 3. Code the CACHE hint clause into a query -- ²éѯÖÐʹÓà Ìáʾ cache ×¢Òâ : ¹ý¶àµÄ cache table ¿ÉÄÜʹ buffer cache ¹ý·ÖÓµ¼· (overcrowd) 7. Tuning the Redo Log Buffer 3 (1) ÔõÑùÉèÖà log file ¿ÉÒÔ¼Ó¿ì redo ARCHIVELOG MODE ÏÂÊý¾Ý¿âµÄ»Ö¸´ËÙ¶È ? -- Create small redo log files Ôö¼Ó¹éµµµÄ´ÎÊý (2) ¹ØÓÚµ÷Õû log buffer redo V$SESSION_WAIT: ʼþ : 'Log Buffer Space'˵Ã÷¿Õ¼äµÈ´ý buffer ±È (дÈë log LGWR д³ö¿ì ) ½â¾ö : Ôö¼Ó²ÎÊý LOG_BUFFER,½« buffer ÒƵ½¸ü¿ìµÄ log disk V$SYSSTAT ʼþ : 'redo buffer allocation retries'˵Ã÷ÐÂµÄ Ð´È븲¸ÇÒÑдÈë entries disk µÄ entries µÄ¿Õ¼äµÈ´ý 'redo log space requests'˵Ã÷»î¶¯file дÂú log ,µÈ´ý racle server ´ÅÅÌ¿Õ¼ä·ÖÅä O 'redo entries'ÉÏÊö 'redo buffer allocation retries'/ 'redo entries'Ó¦ <=1% ½â¾ö : Ôö¼Ó buffer/improve checkpoint »ò¹éµµ½ø³Ì log V$SYSTEM_EVENT ʼþ file switch completion'˵Ã÷OG SWITCH µÄ : 'log L wait ʼþ : alert.log ÎļþÖÐÓÐ "CHECKPOINT NOTCOMPLETE.",˵Ã÷ LGWR µÈ´ýBWn Íê D ³ÉÒ»¸ö CHECKPOINT 'Log File Switch (Checkpoint Incomplete)' ½ â ¾: öµ ÷ Õ û ² LOG_CHECKPOINT_INTERVAL Î Ê ý and LOG_CHECKPOINT_TIMEOUT Check the size and number of redo log groups (3) ¹ØÓÚOLOGGING N ¿ÉÒÔʹÓà NOLOGGING ģʽµÄ SQL Óï¾ä : CTAS/CREATE INDEX/ALTER INDEX REBUILD DRICT LOAD Sqlloader direct path: Set the NOLOGGING attribute. (4) REDO LOG BUFFER µÄÌØÐÔ -- ²ÎÊýOG_BUFFER ¾ö¶¨³ß´ç L ,´óС±ØÐëÊÇ OS block size µÄ±¶Êý ,Ò»°ãΪ×î´ó block size µÄ ±¶ 4 -- Frequent COMMIT statements lead to a smaller buffer size requirement -- Larger redo log buffer sizes reduce log file I/O -- The tuning goal for the redo log buffer is to ensure that there is sufficient space for the server processes. -- redo log buffer ·ÖÅäÄÚ´æ¹ý¶à½«¼õÉÙ·ÖÅä¸øÆäËû areas µÄÄÚ´æ (5) V$SESSION_WAIT ÖÐ×ֶΠSECONDS_IN_WAIT µÄÐÅϢ˵Ã÷ÁËʲô ? -- Ö¸Ã÷µÈ´ý¿Õ¼äµÄʱ¼ä (ÓÉÓÚ switch δ·¢Éú buffer Ìî³ä±È log ) -- LGWR д³ö¿ì -- Ò²Ö¸Ã÷ÁË log file ËùÔÚµÄ I/O ¾ºÕù redo disk 8. Database Configuration and I/O Issues 7 (1) Alert.log file ³öÏÖÐÅÏ¢ :"Checkpoint not complete; unable to allocate file."Òâζ×Åʲ ô ? -- LGWR waited for the checkpoint to finish.
  • 85. (2) Ó°Ïìull table scan I/O µÄ²ÎÊýÊÇʲô F ? -- DB_FILE_MULTIBLOCK_READ_COUNT (3) Local Managed tablespace µÄÌØÐÔºÍÓŵã -- ûÓÐ×Öµä , ºÜÉÙ³öÏÖÒ»ÖÂÐÔÎÊÌâ , ¿ÉÒÔÓÐÉÏǧ¸ö ¶ø²»Éæ¼°ÐÔÄÜÎÊÌâ²»±ØÖØ×é extent , Extent ·ÖÅäÐÅÏ¢´æÔÚ±í¿Õ¼ä±¾µØ (bitmap) (4) ÊÓͼ$FILESTAT µÄÓÃ; V -- ¼à¿Øÿ¸ö´ÅÅÌÎļþµÄ disk I/O »î¶¯Çé¿öºÍºÍÎïÀí¶ÁдÇé¿ö (5) ¹ØÓÚ±í¿Õ¼äµÄһЩÌصã -- ±íºÍË÷Òý·Ö±í¿Õ¼ä´æ·Å ,Óû§²»Ö¸¶¨±í¿Õ¼ä (°üÀ¨ÁÙʱ±í¿Õ¼ä system ±í¿Õ¼ä )½«Ê¹Óà -- RBS ½öÓÃÓÚ´æ·Å rollback segment -- system ±í¿Õ¼ä½ö°üº¬ÊôÓÚ objects,ÆäËüÓû§Ó¦²»ÔÊÐíÔÚ sys Óû§µÄ system ±í¿Õ¼äÖÐ ´´½¨bject o (6) Ìõ´ø»¯ÎļþµÄ²ÎÊýºÍÊÖ ¹¤ÃüÁî -- DB_FILE_MULTIBLOCK_READ_COUNT * DB_BLOCK_SIZE -- CREATE TABLE / ALTER TABLE ALLOCATE (7) ¼ì²âull table scan µÄÊÓͼ F -- V$SYSSTAT where name name like '%table scans%' -- V$SESSION_LONGOPS (8) ¹ØÓÚ redo log µÄÅäÖà -- ¹éµµÈÕÖ¾²»ÄÜ·ÅÔÚ raw É豸ÉÏ -- ¶¨Òå¶à¸ö¹éµµ½ø³Ì²¢Ð´ÔÚ²»Í¬Ä¿±ê´ÅÅÌÉÏ -- LGWR Óë ARCn ·Ö´ÅÅÌ (9) ¾ö¶¨²ÎÊý DB_BLOCK_MAX_DIRTY_TARGET ²ÎÊýÊÇ·ñºÏÊʵÄʼþºÍÊÓͼÊÇʲ ô ? -- V$SYSTEM_EVENT µÄ "WRITE COMPLETE WAITS"ʼþ (10) I/O slaves ÊÇÄ£ÄâÒì²½Ìṩonblocking I/O Ó¦Óà I/O, n 9. Using Oracle Blocks Efficiently 4 (1) Row Chaining ºÍ Row Migration µÄÌصã -- ÐÐÁ´½Ó : Insert or Update ÒýÆð ,Ò»¸öow ´æÔÚ²»Í¬µÄ ÖÐ ¿ÉÒÔͨ¹ýÉèÖôóµÄ R block , DB_BLOCK_SIZE À´¼õÉÙÐÐÁ´½ÓµÄ·¢Éú (LOB) ,µ«ÎÞ·¨±ÜÃâ -- ÐÐǨÒÆ : Update ÒýÆð ,ÓÉÓÚ PCTFREE ¹ýС ,ROWID δ±ä , ¿ÉÒÔͨ¹ýÔö´ó PCTFREE µÄÖµ¼õÉÙÐÐǨÒƵķ¢Éú -- Ó°Ïì : ²úÉú¶îÍâµÄ I/O (2) Block size ´óСµÄÓÅȱµã -- Large: ÓÐÒæÓÚ large rows and sequential reads, ¹ÜÀí´ú¼ÛС DSS very , ÊÊºÏ -- Small: ÓÐÒæÓÚ rows(¼õÉÙlock ÕùÓà small b ),random reads(ÄÚ´æÖÐreuse »ú»áÉÙ ), ¹Ü Àí´ú¼Û¸ß OLTP , ÊÊºÏ (3) ÅųýÐÐǨÒƵIJ½Öè row migration eliminate 1. ANALYZE TABLE ... LIST CHAINED ROWS; 2. Copy the rows to another table. 3. Delete the rows from the original table. 4. Insert the rows from step 2 back into the original table. (4) ÈçºÎ·¢ÏÖºÍ ¼ì²éÐÐǨÒÆ -- ANALYZE table COMPUTE STATISTICS; /ÐÐÁ´½Ó (5) ·ÖÎöË÷ÒýµÄÃüÁîºÍÊÓͼ ?
  • 86. -- ANALYZE INDEX index_name VALIDATE STRUCTURE; -- INDEX_STATS (6) ´óµÄxtents µÄÓÅȱµã E -- Óŵã : ±ÜÃ⶯̬À©Õ¹ ultiblock reads ,¼õÉÙ m -- ȱµã : ²»Ò×»ñµÃÁ¬ÐøµÄ¿Õ¼ä , ³õʼʱÀË·Ñ¿Õ¼ä -- ÆäËü : È«±íɨÃèºÍË÷Òý²éѯµÄÐÔÄܲ»ÊÜ extent µÄ¸öÊýÓ°Ïì (7) ʲôʱºòÐèÒª¿¼ÂÇ ºÍ PCTFREE PCTUSED µÄ¸ü¸Ä -- PCTFREE: ÐèÒª¾-³£¸ü¸ÄµÄ row,¿¼ÂÇÔö´ó ,¶Ô DSS,¿ÉÒÔ¿¼ÂÇÉèÖà =0 -- PCTUSED: ¿ÉÄÜÐèҪɾ³ýµÄ row,¿¼ÂÇÔö´ó (8) HWM µÄÌصã -- ³õʼʱÉèÖà segment µÄ ,´æ´¢ÔÚ header block ÖÐ -- ALTER TABLE <table_name> DEALLOCATE UNUSED... »ØÊÕ HWM Ö®ÉϵĿռä , TRUNCATE »ØÊÕÈ«²¿ -- È«±íɨÃè´Ó first block --> HWM (9) REBUILD Ë÷ÒýµÄһЩÌصã -- REBUILD ±È DROP/RECREATE Ëٶȿì -- UNRECOVERABLE ÓëLOGGING ²»¼æÈÝ -- Èô delete entries Õ¼µ±Ç° entries20%ÒÔÉÏ ,Ôò¿ÉÖؽ¨Ë÷Òý 10. Optimizing Sort Operations 4 (1) ÐèÒª½øÐÐÅÅÐòµÄ²Ù×÷ÓÐÄÄЩ ? -- Index creation -- ÔÚ building B-tree ֮ǰ indexed values sort -- Parallel insert operation involving index maintenance -- ²¢ÐвåÈë²Ù×÷Éæ¼°Ë÷Òýά»¤ -- ORDER BY or GROUP BY clauses -- DISTINCT values selection -- ΪÅųýÖظ´ÐÐ -- UNION, INTERSECT, or MINUS operators -- ÅųýÖظ´ÐÐ -- Sort-merge joins -- Ö´ÐÐÒ»¸öÉæ¼°µ½Á½¸ö±íÁ¬½Ó ,¶øÁ¬½Ó×Ö¶ÎûÓÐË÷Òý (2) ²ÎÊýORT_AREA_RETAINED_SIZE µÄ×÷ÓÃÊÇʲô S ? -- ÅÅÐò²Ù×÷Íê³Éºó±£ÁôµÄ sort area ´óС -- ´óÓڸòÎÊý²¿ ·ÖµÄÄÚ´æÊÍ·Å·µ»Ø¸ø UGA (3) Éæ¼° ÐÅÏ¢µÄ¼¸¸öÏà¹ØÊÓͼ sort -- V$SORT_SEGMENT ÏÔʾ active individual sort segments ÉϵÄÓû§ÊýÁ¿ ,À©Õ¹ extents µÄÊýÁ¿ -- V$SORT_USAGE ÏÔʾÁÙʱ¶ÎÕýÔÚʹÓõÄÇé¿ö ,ºÍV$SESSOIN ½áºÏ²éѯ¾-³£Ê¹Óà ½Ï´óÁÙʱ¶ÎµÄ USER -- V$SYSSTAT Ï Ô Ê ¾ Ë ù Ó Ð (memory),sorts (disk),sorts (rows) µ Ä Ê ý(since sorts Á¿ instance startup),±ÈÀý (<5%) (4) ¼ÆËã²¢ÐвéѯËùÐèÒªµÄÄÚ´æÊýÁ¿µÄ¹«Ê½ ? -- SORT_AREA_SIZE * 2 * degree of parallelism (5) ÈçºÎÉ趨ºÍ¸ü¸Ä SORT_AREA_SZIE µÄÖµ ? -- INIT.ORA Öж¨Òå -- ALTER SESSION or ALTER SYSTEM DEFERRED (6) ¹ØÓÚ²ÎÊý SORT_MULTIBLOCK_READ_COUNT -- ȱʡ =2 -- ¸Ã²ÎÊýÒâζ×Å sort ´Ó temporary segment ÖжÁÈ¡µÄ µÄ : ÿ´Î a block number
  • 87. -- Ìá¸ß ´ËÖµ¿ÉÒÔ¸ÄÉÆ sort 11. Tuning Rollback Segments 4 (1) ORA-01555: snapshot too old ´íÎóµÄÔ-Òò -- ÕýÔÚ²éѯµÄ ÒѾ-±»ÖØÓÃÁË µÄ block ,´Ë block SCN ±È²éѯ¿ªÊ¼Ê±µÄ SCN Р-- Ôڻعö¶Î header ÖÐµÄ transaction slot ÒѾ-±»ÖØÓÃÁË -- »Ø¹ö¶ÎÖÐµÄ data ÔÚÒ»¸öÌá½»ºó±»¸²¸ÇÁË undo (an Interested Transaction List (ITL) entry in a data block has been reused) (2) »Ø¹ö¶ÎµÄÌØÐÔ --STORAGE:INITIAL:NEXT(128K ·Ö ½ç ),PCTINCREASE=0,MINEXTENTS=20,MAXEXTENTS=UNLIMITED,RBS ±í¿Õ¼ä¶¯Ì¬ À©Õ¹ -- Ñ-»··½Ê½ ,²»ÄÜ¿çÔ½ ,×Ô¶¯À©Õ¹ OPTIMAL »ØÊÕ ,É趨 -- DELETE ÐèÒª±£´æÕû¸ö¼Ç¼ Ö»Ðè ,INSERT ROWID,INDEX ÁÐÐèÒª data,old old index,new index (3) ¿ØÖÆ redo µÄÃüÁî SET TRANSACTION USE ROLLBACK SEGMENT ... ? -- (4) »Ø¹ö¶Îµ÷ÕûµÄÄ¿±êGoals Tuning 1. ÊÂÎñÎÞÐèµÈ´ý»Ø¹ö¶ÎµÄ·ÃÎÊ ,ÐèÒªµÈ´ý×ã¹»µÄ»Ø¹ö¶Î 2. ÔÚÕý³£ÔËÐÐÖÐ ,»Ø¹ö¶Î²»ÒªÀ©Õ¹ 3. ÎÞÂÛÊÇ´óµÄ»¹ÊÇÌØÊâµÄÊÂÎñ ,¶¼²»Ó¦Òò»Ø¹ö¶Î¿Õ¼äµÄ²»×ã¶øʧ°Ü 4. Êý¾Ý¶ÁÈ¡×ÜÊÇÄÜ´Ó read-consistent images ÖлñÈ¡ÐèÒªµÄÄÚÈÝ (5) OLTP ÊÂÎñµÄ»Ø¹ö¶Î¹ÜÀí Ò»°ãÊÂÎñ½ÏС ,ËùÒÔ·ÖÅäСµÄ»Ø¹ö¶Î Ò»°ã¹æÔò : ¾ö¶¨ÓÚ²¢·¢¹¤×÷Á¿ (Ò»¸ö concurrent job Ò»¸ö»Ø¹ö¶Î RBS 4 ¸öÊÂÎñ ),Ò»¸ö ,×î ¶à 200 ¸ö user (6) ²éѯÄĸöÊÓͼ¿ÉÒÔ»ñµÃÊÂÎñдÈë»Ø¹ö¶ÎµÄ×Ö½ÚÊýÁ¿ ? -- V$ROLLSTAT (7) ±êʶ»Ø¹ö¶Î ¾ºÕùµÄÈý¸öÊÓͼ header : -- V$ROLLSTAT.WAITS/GETS>1%(5%) -- V$WAITSAT.COUNT ÖÐ CLASS='undo header'µÄÖµ <>0 -- V$SYSTEM_EVENT.EVENT='Undo Segment Tx Slot'(Ò²¿ÉÄÜÊÇ cache ¹ýС buffer ) (8) ΪʲôÔÚÉèÖûعö¶Î´æ´¢²ÎÊýʱ NEXT=INITIAL? -- ÒòΪ»Ø¹ö¶Î²ÉÓÃÑ-»·Ê¹Óõķ½Ê½ ,´óµÄÊÂÎñ¿ÉÄÜÓõ½Ð¡µÄ»Ø¹ö¶Î ,Ò»¶Îʱ¼äºó½«Í¬Ñù ´óС ??? 12. Monitoring and Detecting Lock Contention 5 (1) ËÀËøµÄÌصãºÍ½â¾ö -- Á½¸öÒÔÉÏÓû§»¥ÏàµÈ´ý¶Ô·½Ëø¶¨µÄÊý¾Ý×ÊÔ´ -- Oracle ×Ô¶¯¼ì²â deadlock ²¢Í¨¹ý»Ø¹ö¼ì²â³öµÄµÄÓï¾äÀ´½â¾öËÀËø deadlock ,µ«×¢Òâ , ½ö»Ø¹öÁËÓï¾ä¶øûÓлعö¸ÃÊÂÎñ ´íÎó ,·µ»Ø RA-00060 O ÏÂÒ»²½Ó¦µ±ÊÖ¹¤»Ø¹öÊ£ÓàµÄÊÂÎñ -- DeadLock ¸ü¶àµØ·¢ÉúÔÚÊÂÎñÃ÷È·µØ¸²¸ÇÁË Oracle Server µÄȱʡËø , ¶Ô·Ö²¼Ê½ deadlock,´¦Àíͬ·Ç·Ö²¼Ê½Ïàͬ -- DeadLock ¼ì²â³öºó ,»á¼Ç¼ÔÚ USER_DUMP_DEST Ï嵀 trace file ÖÐ °üÀ¨ µÄ , lock row id -- ALTER TABLE ... ENABLE/DISABLE TABLE LOCK; -- ÔÚ²¢ÐзþÎñÆ÷ÖÐ ,ÔÊÐí/½ûÖ¹ DML,DDL,LOCK on a table
  • 88. (2) Lock Ïà¹ØµÄÁ½¸ö±íµÄÓÃ; V$LOCK -- ÏÔʾ»Ø¹ö¶ÎºÍ slot µÄÊýÁ¿ÒÔ¼°Ð޸ĵıíµÄ hold µÄID for µ±Ç° lock V$LOCKED_OBJECT -- ÏÔʾµ± Ç° hold µÄ lock µÄ object ID (3) ÊÍ·ÅËøÉæ¼°µÄÊÓͼºÍÃüÁî -- ²éѯ$SESSION »ñµÃ V : SID,SERIAL# / ÒýÆð¾ºÕùµÄ row -- ALTER SYSTEM KILL SESSION 'SID,SERIAL#'; -- COMMIT & ROLLBACK (4) µ¼ÖÂËø¾ºÕùµÄ¼¸ÖÖÇé¿ö -- users who do not regularly commit changes -- developers who code unnecessarily long transactions -- developers use unnecessarily high locking levels. 13. SQL Issues and Tuning Considerations for Different Applications 5 (1) Bitmap Ë÷ÒýºÍ B-tree Ë÷ÒýµÄ±È½Ï B-tree Bitmap ------------------------------------------------------------------------------------------- Suitable for high-cardinality columns Suitable for low-cardinality columns Updates on keys relatively inexpensive Updates to key columns very expensive Inefficient for queries using OR predicates Efficient for queries using OR predicates Row-level locking Bitmap segment-level locking More storage Less storage Useful for OLTP Useful for DSS Êʺϲéѯ±íµÄһС²¿·Ö (<5%) (2) ÓÅ»¯Æ÷µÄÎȶ¨ÐÔÌصã -- ÖØд sql -- ´´½¨°üº¬ µÄ hints stored outline -- Ó¦ÓÃÖÐÇ¿ÖÆ·ÃÎÊ·¾¶ -- SQL Óï¾ä¾¡Á¿±£³ÖÆ¥Åä (3) ΪʲôӦÓà µÄ SQL tuning ºÜÖØÒª ? -- Ó¦ÓÃÖеÄÓï¾äÓ°Ïì×î´ó , Èç¹ûËü°üº¬µÍЧÂ浀 SQL Óï¾ä ,ÄÇôµ×²ãµÄ ûÓÐʲô tuning Ч¹û (4) OLTP ºÍ DSS µÄ±È½Ï ,Àí½âʲôÑùµÄÓ¦ÓÃÊôÓÚʲôÑùµÄϵͳ OLTP DSS ------------------------------------------------------------------------------------------- Performs index searches More full table scans Uses B-tree indexes Uses bitmap indexes Uses reverse key indexes Uses IOT tables Needs more, small rollback segments Fewer, large rollback segment Should not use parallel query Employs parallel query for large operations PCTFREE according to expected update activity PCTFREE can be set to 0 Shared code and bind variables Literal variables and hints Uses ANALYZE indexes Histograms generation (5) TKPROF µÄÓÃ; ? -- ¸ñʽ»¯ SQLTRACE session µÄ output (6) ʹÓà cluster µÄºÃ´¦ ?
  • 89. -- ¼õÉÙ´æ´¢ -- ¼õÉÙisk I/O ºÍ·ÃÎÊʱ¼ä d (7) What should be the tuning priority for a DSS application? -- Use the optimal access path in the execution plan. (8) CBO µÄÌصã -- ͳ¼ÆÇý¶¯ -- ÓÅ»¯Æ÷¼ì²éÿ¸ö SQL,ʶ±ðËùÓпÉÄܵķÃÎÊ·¾¶²¢¼ÆËã¸÷×﵀ ³É±¾,Ñ¡Ôñ×îÉÙµÄÂß¼- ¶ÁÊýÁ¿ (9) Reverse Key Index ÔÚʲôÇé¿öÏÂÊÊÓà ? -- һֱ˳ÐòÔö³¤µÄ (ever-increasing)key,Èç :¶©µ¥ºÅ ,¶ÔÖ¸¶¨·¶Î§µÄÇøÓòɨÃè²»ºÏÊÊ (10) IOT ÓÐÄÄЩÌصã -- Ö÷¼üֵûÓÐÖظ´´æ´¢ (Ë÷ÒýºÍ±íÔÚÒ»Æð ),½ÚÊ¡¿Õ¼ä -- ¶ÔµÈÖµ»òÇø¼ä²éѯ¿ÉÌṩ¿ìËÙµÄ key-based ·ÃÎÊ -- ´æ´¢Õû¸ö row -- ʹÓà overflow Çø´æ·Å row nonkey Öµ (11) ¶ÔÓÚ»ìºÏϵͳµÄÍƼöÉèÖà -- ÅäÖò»Í¬µÄ»Ø¹ö¶Î -- ÉèÖÃÁ½ÌײÎÊý ,·ÅÔÚ²»Í¬µÄÖÐ pfile -- MTS ¿ÉÔڸ߷åʱ¼äʹÓà (peak-time),not for DSS 14. Managing a Mixed Workload 2 (1) Resource Manager °üº¬µÄÄÚÈÝ : -- Resource Plan -- Resource consumer groups -- Resource plan directives (2) Êý¾Ý¿â½¨Á¢Ê±µÄȱʡ×ÊÔ´¼Æ»®Îª : SYSTEM_PLAN (3) ³õʼ»¯²ÎÊý RESOURCE_MANAGER_PLAN ÉèÖõÄ×ÊÔ´¼Æ»®Ãû³Æ±ØÐëÔÚÊý¾Ý¿â ÖдæÔÚ ,·ñÔò±¨ ´í ,ÐèÒª shutdown,¿ÉÓÃLTER SYSTEM Ð޸IJ¢Á¢¼´ÉúЧ A (4) ¹ý³Ì°ü DBMS_RESOURCE_MANAGER µÄ¼¸¸ö¹ý³Ì -- CREATE_PENDING_AREA() Ò»¸ö instance ͬһʱ¼äµãÖ»Äܽ¨Á¢Ò»¸ö pending area -- CREATE_CONSUMER_GROUP() -- CREATE_PLAN() -- VALIDATE_PENDING_AREA() -- SUBMIT_PENDING_AREA() --GRANT_SWITCH_CONSUMER_GROUP() SET_INITIAL_CONSUMER_GROUP() --SWITCH_CURRENT_CONSUMER_GROUP() --SWITCH_CONSUMER_GROUP_FOR_SESS() --SWITCH_CONSUMER_GROUP_FOR_USER() (5) µ±Ç°Êý¾Ý¿â RM ÉèÖõļ¸¸öÊÓͼ : -- V$SESSION.RESOURCE_CONSUMER_GROUP ÏÔʾ session µÄµ±Ç° group -- V$RSRC_PLAN ÏÔʾ»ñµÃµÄ×ÊÔ´¼Æ»® -- V$RSRC_CONSUMER_GROUP °üº¬×ÊÔ´ÏûºÄ×éµÄͳ¼ÆÐÅÏ¢ 15. Tuning with Oracle Expert 1 (1) In addition to the rules, what else is the basis for an Oracle Expert tuning session? -- scope defined at the beginning of the tuning session
  • 90. (2) Oracle Expert ΪÉú³É½¨ÒéÐèÒªÊÕ¼¯µÄÊý¾ÝÊÇʲô ? -- data in the Schema class (3) ÈçºÎÖ´ÐÐ Oracle Expert Éú³ÉµÄµ÷Õû½¨Òé ? -- ʹÓà racle Expert Éú³ÉµÄ ²ÎÊýÎļþÌæ»» ÎļþÀ´Ö´Ðн¨Òé O .ora init.ora -- ΪִÐÐÍƼöµÄ SQL Óï¾äºÍ½á¹¹ Oracle Expert Éú³ÉµÄ Îļþ , ¼ì²é .txt ,½«°üº¬ string TBS µÄµØ·½Ìæ»»³ÉÏà½üµÄÐÅÏ¢ (4) ¼¸¸ö class µÄÌØÐÔ -- Database class ´Ó DBA_%,V$ÊÓͼÖÐÊÕ¼¯Êý¾Ý -- Instance class ¸ß·åʱÆڲɼ¯Ñù±¾Êý¾Ý ¸öÒÔÉϵÄÑù±¾ ,ÍƼöÊÕ¼¯ 10 ,ÒÔ»ñÈ¡¸üºÃµÄµ÷ Õû½¨Òé -- Collection Schama class ÓÃÓÚÓÅ»¯·ÃÎÊ µÄ·¾¶ schema --Storage optimization of tables, indexes, and clusters --Index structuring --Database file I/O distribution --Table, index, and cluster placement -- Environment class ²»ÄÜ×Ô¶¯ÊÕ¼¯ ÊÖ¹¤Â¼Èë µ¼Èë ,ÐèÒª : /.xdl -- Workload class ÃèÊöÊý¾Ý¿âÈÕ³£Ê¹ÓÃÇé¿ö ´Ó cache/sql history/.xdl ,ÊÂÎñÇëÇóµÈ , :sql from previous tuning session (5) Oracle Expert ÌṩµÄ reports °üÀ¨ : -- Session Data report Ìṩ¹ØÓÚÒ»¸ö´æÔÚ ÖÐµÄ repository tuning session µÄÊÕ¼¯Êý¾ÝµÄ Ã÷ϸÐÅÏ¢ -- Analysis report ÃèÊö Oracle Expert Éú³ÉµÄ½¨ÒéµÄ»ù±¾ÀíÓÉ repository ÖÐ ,ËüÒ»Ö±´æÔÚ , Ö±ÖÁÉú³ÉÁíÒ»¸ö·ÖÎö±¨¸æ (6) Oracle Expert ²É ¼¯µÄÊý¾ÝÀà±ð : -- Instance/Application/Structure/Database/Schema/Environment/Workload (7) Oracle Expert µÄÌØÐÔ 1. É趨 tuning session µÄ·¶Î§ 2. ²É¼¯Êý¾Ý : »ñÈ¡×ۺϵÄÐÅÏ¢ ,°üÀ¨ database, instance, schema,environment, and workload. 3. Viewing and editing the collected data and rules -- The data is organized in a hierarchical format. 4. Analyzing the data to generate recommendations -- ÔÚÊÕ¼¯²¢°´ÐèÒª±à¼-ÁËÊý¾ÝÖ® ºó ,Oracle Expert ·ÖÎö²¢Éú³Éµ÷Õû½¨Òé 5. Reviewing the Oracle Expert recommendations -- ¸ù¾Ýµ÷Õû½¨ÒéÈ¡Éáij²¿·Ö ,ÖØРÉú³Éеĵ÷Õû½¨Ò鱨¸æ 6. Generating scripts for implementing the recommendations -- È·¶¨µ÷Õû½¨ÒéºóÉú³É ²ÎÊýÎļþºÍ ½Å±¾ÈÕºóÔËÐÐ SQL 16. Multithreaded Server Tuning Issues 2 (1) ¼¸¸öÏà¹ØÊÓͼ -- V$CIRCUIT virtual circuits µÄÐÅÏ¢ ,Óû§Í¨¹ýµ÷¶È½ø³ÌºÍ·þÎñ½ø³ÌÁ¬½Óµ½Êý¾Ý¿âµÄ Ï¢ -- V$QUEUE ° ü º ¬ ¶ à Ï ß ³ Ì Ð Å Ï ¢ ¶ ÓÓ Ã Ó Ú ¼ ì ² é ¹ ² Ï í · þ Î ñ É Ï Ê Ç · ñ Ó Ð ¾ º Õ ù , ÁеÄÐÅÏ¢ (sum(wait)/sum(totalq),µ¥Î»/100 Ãë 1 ) -- V$DISPATCHER µ÷¶È½ø³ÌµÄÐÅÏ¢ ,¼ì²éusy rate(sum(busy)/(sum(idle)+sum(busy)) b
  • 91. 50%,·ñÔòÐèÔö¼Ó dispacher) -- V$SHARED_SERVER ÕýÔÚÔËÐеĹ²Ïí·þÎñ½ø³ÌµÄÐÅÏ¢ (2) MTS µÄÌØÐÔ -- Ìṩһ¸ö¹²Ïí½ø³ÌµÄ·½Ê½ ,µ«²»ÄÜÌá¸ßÖ´ÐÐËÙ¶È ,¿ÉÒÔÖ§³Ö¸ü¶àµÄ²¢·¢Óû§·ÃÎÊÊý¾Ý ¿â -- Shared servers use the UGA for sorts, Èç¹ûÅäÖà pool,UGA is stored in the large large pool -- MTS is not intended for batch processing or decision support. ²¢·ÇÓÃÓÚÅúÁ¿´¦ÀíºÍ DSS (3) ÏÞÖÆ racle server ¶¯Ì¬Æô¶¯¹²Ïí·þÎñÊýÁ¿µÄÁ½¸ö²ÎÊýÊÇʲô O ? -- PROCESSES -- MTS_MAX_SERVERS (4) ²ÎÊý TS_SERVERS ÉèÖÃÁË M shared servers µÄ¸öÊý ,µ±¹²Ïí·þÎñ idle ʱÄÜ·ñɾ³ý ? -- ²»ÄÜ,Ö»ÓÐ TS_SERVERS ½ÏС¶ø M Oracler Server ×Ô¶¯Æô¶¯µÄ¹²Ïí·þÎñ½ø³ÌÔÚidle ʱ²Å»á×Ô¶¯É¾³ý 17. Workshop 0
  • 92. ITPUB µç×ÓÔÓÖ¾ ÖÐСÆóÒµÈçºÎÑ¡Ôñ MRP ϵͳ ÖÐСÆóÒµÈçºÎÑ¡Ôñ MRP ϵͳ κÖÎ Ç°ÑÔ ¶ÔÓںܶàʵʩ´óϵͳµÄÅóÓÑÀ´Ëµ£¬ËûÃǸÐÐËȤµÄ²¢²»ÊÇÕâÀ༸ÍòÊ®¼¸Íò "ERP ϵͳ "£¬µ«ÕâÀàϵͳȷʵ´æÔÚ£¬±Ï¾¹ÔÚÊýÁ¿ÉÏ»¹ÊÇÒÔÖÐСÆóÒµ¾Ó¶à£¬ËûÃǵÄͶ ¿ª·¢ºÍʹÓÃС "ERP ϵͳ "Ò²ÊǺܶàÅóÓѵÄÓ¦Óà ERP ϵͳµÄÆôÃɿΣ¬ÕâÀàϵͳ¶ÔÈËÔ±µÄÒªÇó ²»¸ß£¬ÊÇËûÃÇÂõÏò ERP ¹ËÎʵĵÚÒ»¸ǫ̈½×¡£ Ò²ÕýÈçÅóÓÑÃÇËù¿´µ½µÄÒ»Ñù£¬ÕâÀàϵͳµÄʵʩ¼«ÉÙÓÐ "³É¹¦ "Õß¡£ÊÇÈí¼þµÄÔ-Òò»òÊǹ«Ë¾ ×ÔÉíµÄÎÊÌâ»òÊÇ¡-¡-¡£ ±¾ÎĽ«·ÖΪÈý¸ö²¿·Ö£º 1¡¢´ÓÈí¼þ¹«Ë¾ºÍ¹¤³§Á½·½Ãæ½éÉÜËûÃǶÔСÐÍ "ERP ϵͳ "µÄÏë·¨¡£ 2¡¢·ÖÎö¹¤³§ÔÚÑ¡ÔñСÐÍ "ERP ϵͳ "ǰӦ׼±¸µÄ¹¤×÷¡£ 3¡¢½éÉÜÈí¼þ¹«Ë¾ÔÚÐû´«Ð¡ÐÍ "ERP ϵͳ "ʱ³£ÓõÄèÄå¼°ÆäÓ¦¶Ô·½·¨¡£ Ò»¡¢ÐèÇóµÄ²úÉú Ìýµ½ ¸öÅóÓÑÔÚ±¨Ô¹ N ERP(MRP) ϵͳʵʩʧ°Ü£×Ô¼ºÒ²È̲»×¡Òª×ܽáÒ»·¬£»ò¶Ô»ò´ ¬ ¬ Ï£Íû´ó¼ÒÄÜÓèÒÔ̽ÌÖ¡£ (¿¼Âǵ½´ó¶àÊýµÄ MRP Èí¼þ¿ª·¢É̶¼Ï²»¶ÒÔ ERP ÃüÃû×Ô¼ºµÄ²úÆ·£¬ ÎÒÒ²¾ÍËæ´óÁ÷³ÆÆäΪ ) ERP ÁË¡£ ÕâÀïËù˵µÄСÆóҵʵʩ ¬ ERP ϵͳ£ Ö÷ÒªÖ¸¼Æ»® ERP ÏîÄ¿×ÜͶ×ÊÔÚ 50 ÍòÒÔϵÄÆóÒµ ---- »òÐíÆóÒµ±¾Éí²»Ð¡£¬¿ÉÔÚµçÄÔ»¯¹ÜÀí·½ÃæÈ´²»´ó¿ÏͶ×Ê£¬ÓÚÊÇÒ²¸øºÜ¶àºÜ¶à Éú´æµÄ»ú »á¡£ ¶Ô¹¤³§¶øÑÔ£¬²úÉúÕâÀàÐèÇóµÄÒòËØÖ÷Òª°üÀ¨£º A¡¢Êµ¼ÊÔË×÷µÄ¹ý³ÌÖз¢ÏÖȷʵÐèÒª¼ÓÇ¿¹ÜÀíÁË£¬Ö¸Íû×Å ERP ϵͳÄÜÌá¸ß¹ÜÀíµÄЧÂÊ£¬ ¿É¹«Ë¾Àïȷʵ²»ÄÜͶÈë¹ý¶àµÄ×ʽ𡣠B¡¢Êµ¼ÊÔË×÷µÄ¹ý³ÌÖз¢ÏÖÐèÒª¼ÓÇ¿¹ÜÀíÁË£¬¿É¹«Ë¾Àï²»Ô¸ÒâͶÈë¹ý¶àµ ¹«Ë¾Áìµ¼ÒªÇóÏÂÊôÔ±¹¤ÂòÒ»Ì×µÁ°æµÄ»ØÀ´ÓÃÓᣠC¡¢¿´µ½È˼ҹ¤³§ÀûÓõçÄÔ¹ÜÀí£¬¾õµÃͦºÃ£¬ÏëÕÒÒ»Ì×ϵͳÀ´ÓÃÓᣠ¶øÈýÀàÔ-ÒòÖÐÒÔ B¡¢ ¾Ó¶à¡£ C ²»ÔõôÑùµÄÈí¼þ¿ª·¢É̼ÓÉϲ»Ã÷È·µÄ ERP ʵʩĿµÄÒ²¾ÍÕÕ³ÉÁËСÆóҵʵʩ ERP ϵͳ ´ó¶àÒÔʧ°Ü¸æÖÕ¡£ ¶ÔÓÚÎåÊ®ÍòÒÔÏ嵀 " ÎÞÍâºõÓÉÒÔϼ¸ "ERP Èí¼þ ÖÖ;¾-Ìṩ£º A¡¢Ð¡Èí¼þ¹«Ë¾½øÐпª·¢¡£ ËûÃDZ¾×ű¡Àû¶àÏúµÄÔ-Ôò½øÐÐÏúÊÛ£¬ÂôÒ»µ¥ËãÒ»µ¥£¬ÄÜ׬¾Í׬£¬·´Õý¼¸¸ ×ʾÍÄÇô¶à£¬¿÷Ò²¿÷²»µ½ÄÄÈ¥¡£ÖÁÓÚ·þÎñÂºÇºÇºÇ£¬ÄܸøÄã¸Ä¸ö BUG ¾ÍÒѾ-ºÜ²»´íÁË¡£ µ±È»£¬½²¾¿ÐÅÓþµÄ¹«Ë¾Ò²²»ÊÇûÓУ¬µ«ÓÉÓÚ×ÊÔ´ºÍ¿ª·¢Ë®×¼µÄÎÊÌ⣬µ±¿Í»§ ³öÏÖ·þÎñÖÊÁ¿½µµÍµÄÇé¿ö£¬½ø¶øË𺦹«Ë¾µÄÐÎÏó¡£ B¡¢ÓĘ́Íå½øÈë´ó½µÄ MRP Èí¼þ¡£ ³ýÁ˺º¿µ¡¢ººÆյȱȽÏÖªÃûµÄÈí¼þ¹«Ë¾ÒÔÍ⣬̨Í廹ÓкܶàºÜ¶àСÈí¼þ¿ ¿Í»§ÈºÌåÒÔÔÚ´ó½µĄ̈×ÊÆóҵΪÖ÷¡£»òÐíÊǴ󲿷ÝÖÐС̨×ÊÆóÒµµÄͶ×ÊÏ° ¹ß°É£¬¸÷·½Ã涼¼Æ ËãµÃ·Ç³£¾«Ï¸£¬Ñ¡ÔñÈí¼þÍùÍùÒ²ÊÇÏÈ¿¼ÂǼ۸ñÔÙ¿¼ÂÇÐÔÄÜ£¬ÕâÀàÈí¼þ¹©Ó¦ÉÌ °áÒƵ½ÁËÀͶ¯³É±¾µÍÁ®µÄ´ó½£¿¿×ÅÒ»Á½Ç§Ò»¸öԵŤ×ÊÕÐƸһ´ó¶Ñ¸Õ¸Õ±Ï ¬ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 93. ITPUB µç×ÓÔÓÖ¾ ÖÐСÆóÒµÈçºÎÑ¡Ôñ MRP ϵͳ ÑéµÄÈËÔÚÔ-ÓÐϵͳµÄ»ù´¡ÉÏ¿ª·¢¡£¼Û¸ñºÍÈËÇéÒòËØÊÇËûÃÇÏúÊ۵ľ÷ÇÏ¡£ C¡¢Èí¼þ¿ª·¢ÈËԱ˽Ï¿ª·¢µÄ MRP Èí¼þ¡£ ²»ÓɵÃÄã²»ÏàÐÅ£ ¬ ºÜ¶àÔÚÈí¼þ¹«Ë¾»ò¹¤³§ÄÚ½øÐÐ ERP/MRP Èí¼þ¿ª·¢µÄÈËÔ±Ò²ÔÚ¿¼ÂÇ×Ô ¼º½Óµ¥£¬Èí¼þÂï¿ÉÒÔÔÚÏÖÓеĻù´¡ÉϽøÐÐÐ޸ģ¬×î¶àÐÞ¸ÄһϽçÃ棬¿¿×ż¸ ϵͳ½øÐмòµ¥µÄÔ-ʼ×ʱ¾»ýÀÛ ----Ë-¶¼²»¸ÊÓÚÈËÏ£¡ÕâÀàÈí¼þµÄ¼Û ¸ñ×ÔȻҲÊÇ×îµÍµÄ£¬¼¸Íò ÉõÖÁ¼¸Ç§¶¼¸ÒÂô£Ò»¸ö³ÇÊм¸Ê®Íò¼Ò¹¤³§Ë-²éÈ¥£¿¸ö±ðÄÜÁ¦Ç¿µÄ¿ª·¢ÈËÔ±Ò² ¬ ÊÖ£¬Ðû´«Æ·Ó¡³öÀ´£¬Ë-ÄÜ·Ö³öÀ´ÕâÊÇʲô²úÆ·£¿ ¿ÉÒԿ϶¨µÄÊÇ£¬ºÜ¶àСÐÍ ERP ²úÆ·¿ª·¢Õ߶¼²ÎÕÕÁËijÖÖ»òij¼¸ÖÖÏȽøµÄ ERP ϵͳ£¨»òÐí ÊÇÈí¼þ±¾Éí±È½Ï³ÉÊìÓë×ÊÁÏÏà¶ÔÈÝÒ×ÒԵõ½£¬²Î¿¼µÄÈí¼þÒÔ MFG/PRO ϵͳ¾Ó¶à£© £¬Ò²·-¿´ Á˲»ÉÙµÄ×ÊÁÏ¡£ Èí¼þ¿ª·¢µÄ¹¤¾ßÒ²ÒÔ DELPHI£¬ºǫ́Êý¾Ý¿â´ó¶à²ÉÓà PB¡¢VB¡¢ MS SQL¡£ ¶þ¡¢Ñ¡ÔñÇ°µÄ×¼±¸ ERP Ö»ÊÇÓÐÇ®ÆóÒµµÄÊÂÇ飬СÆóÒµ¾Í²»Ó¦¸ÃÉÏ ERP ϵͳÁËÂ𣿴ð°¸×ÔÈ»ÊÇ·ñ¶¨µÄ£¬¿É ÈçºÎ ÉÏ£¬Ó¦¸Ã¿¼ÂÇÄÄЩÎÊÌ⣿ÓÖÓ¦¸Ã×¢ÒâЩʲô£¿´ýÎÒÂýÂý˵À´¡£ ×÷ΪѡÔñ ϵͳµÄÖ÷¹Ü£¬Ê×ÏÈÓ¦¸ÃÃ÷È·£º¹ºÂò ERP ERP Èí¼þµÄÄ¿µÄÊÇʲô¡£ Õâ¿´ËÆÊǸö¼«Æä¼òµ¥µÄÎÊÌ⣬¿ÉÕæÕý¶®µÃȥ˼¿¼µÄÈ˲¢²»¶à£¬ÕâÀï»òÐí»¹° BPR µÄÄÚ ÈÝÔÚÆäÖС£ 1¡¢ÐèҪ˼¿¼¡£ÀÏ°åµÄÏë·¨ÊÇÔõÑùµÄ¡£ »òÐíÊÇһʱÐËÆ𣬻òÐíÊÇÓöµ½ÁËʲôÎÊÌ⣬¶¼Ã»ÅªÃ÷°×¾ÍÕÒÀ´µÄϵͳ£¬ÀÏ ¶ÔÓÚÖ°Ô±À´Ëµ¾Í±ØÐëÃ÷ÁËÁìµ¼µÄÏë·¨¡£ 2¡¢¼Æ»®µÄ»¨·ÑÊǶàÉÙ¡£ ºÜ¶àÈ˶¼Ï°¹ßÕâôÀí½â£ºÏÈÕÒÁËÔÙ˵£¬Èç¹û 100 ÍòµÄ£¬Èç¹û 100 ÍòµÄÈí¼þºÏÊʾÍÑ¡ 10 ÍòµÄÈí¼þºÏÊʾÍÑ¡ 10 ÍòµÄ£¬¿ÉÕâ¾ø²» ÊǸöºÃµÄ·½·¨¡£ÔÚÀÏ°åµÄÐÄÀïÆäʵÔç¾ÍÓÐ¸Ë³Æ ----SAP ÊǺÃѽ£¬¿ÉҪͶÈë 500 Íò£¬Ëû¿ÏÂð£¿Í¬ÑùÒ²²»¿ÉÄܰѼ¸°ÙÍòϵͳµÄ×ÊÁϺͼ¸Íò¿é½ ×ÊÁÏÒ»²¢½»ÉÏÈ¥°É¡£ÐèҪעÒâµÄÊÇ£ºËùÃæ¶ÔµÄÈí¼þ¹©Ó¦É̵ļ۸ñÒ»°ãÊÇ "ÄÜÇüÄÜÉì " £¬°ÙÍò Ëû¸Ò˵ÄÜ×ö£¬»òÐí¼¸Íò¿éÒ²ÄÜ¿¼ÂÇ¡£ 3¡¢¹«Ë¾ÄÚ²¿ÄÄЩµØ·½ÐèÒªµ÷Õû¡£ ±Ï¾¹ÊÇʵʩ ϵͳ£¬ºÜ¶àÁ÷³Ì¾ÍÓë²ÉÓÃÊÖ¹¤¹ÜÀí·½Ê½´æÔÚ²îÒì¡£Èí¼þËäÈ» ERP ¸Ã¸ÄµÄµØ·½²»¸Ä£¬×îÖÕÒ²´ï²»µ½¹ÜÀíµÄЧ¹û¡£Óë´ó¹«Ë¾²»Í¬µÄÊÇ£¬Ð¡ÐÍÆóÒµ ÊýÖ°£¬ËùÐèÒª½øÐеĵ÷ÕûÒ²Éٵö࣬µ«Ð¡ÆóÒµ¸üÈÝÒ×´æÔÚ¹ÜÀíµÄ©¶´»ò²»¹ £¬ÈçÉú ²ú¼Æ»®»ò¿â´æ¹ÜÀí·½ÃæµÄÎÊÌ⣬ʵʩ ERP ϵͳ֮ǰÈçÄÜÏÈÐе÷Õû£¬Õû¸öʵʩ¹ý³Ì½«ÊÂ°ë ±¶¡£ ºÜ¶àÇé¿öÏ£¬ÀÏ°åµÄÒªÇó²¢²»¸ß£¬Ö»ÐèҪͨ¹ýÄÚ²¿Ö°Äܵļòµ¥µ÷Õû¾ÍÄÜ´ ±Ø·ÇµÃÓà ϵͳÄØ£¿ ERP 4¡¢ÊµÊ© ϵͳµÄ²½Öè¡£ ERP ʵʩRP ϵͳûÓÐÒ»²½µÇÌìµÄ¡£ÏÈ×öÄÄÒ»²¿·Ö£¬ÔÙ×öÄÄÒ»²¿·ÖÊÂÏȵÿ¼ÂÇ E Áìµ¼ÈÏΪ Ö»ÊǸöÈí¼þ£¬ÄÇôÔÚÑ¡ÔñÈí¼þ֮ǰҲ±ØÐë¾ÀÕýËûµÄÏë·¨£¬·ñÔòÈí ERP ¸öÔ¿´²»µ½Ð§¹ûËû¿É»á·³¡£Ï꾡µÄ¼Æ»®Ò²ÄÜÈÃÀÏ°åÁ˽âʵʩϵͳµÄ¹ý³ÌÖп ±ØҪʱ¸øÓèÓÐÁ¦Ö§³Ö¡£ ÐèÒªÖ¸³öµÄÊÇ£¬ÕâÀïËù¹æ»®µÄʵʩ²½Öè ²¢²»ÊÇʵ¼ÊʵʩµÄ²½Ö裬½ö½ö×÷ΪһÖֲο¼¡ 5¡¢¹«Ë¾ÄÚ²¿µÄÊý¾Ý×ÊÁÏ Ñ¡ÔñRP ϵͳ֮ǰ£¬±ØÐë×¼±¸¹«Ë¾ÔË×÷µÄʵ¼ÊÊý¾Ý¹©ÏµÍ³²âÊÔÖ®Óá£ÈçÏúÊ E Éú²ú¼Æ»®Êý¾Ý¡¢¹¤³ÌÇåµ¥Êý¾ÝµÈµÈ¡£ÕâÀàÊý¾ÝÔÚÆäËûÎÄÕÂÖÐÒÑÓÐÏêϸ½éÉÜ£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 94. ITPUB µç×ÓÔÓÖ¾ ÖÐСÆóÒµÈçºÎÑ¡Ôñ MRP ϵͳ Èý¡¢Ñ¡ÔñСÐÍ ERP ϵͳʱӦ¸Ã×¢ÒâµÄÎÊÌâ ¸öÈËÈÏΪ£¬Ñ¡ÔñСÐÍ ERP ϵͳӦ°´ÒÔϼ¸¸öÖصãÒÀ´Î¿¼²ì£º A¡¢Èí¼þ¹«Ë¾µÄʵÁ¦ B¡¢Èí¼þ²úÆ·µÄÖÊÁ¿ C¡¢Èí¼þµÄʵʩÇé¿ö D¡¢ÆäËûÊÂÏî 1¡¢Èí¼þ¹«Ë¾µÄʵÁ¦ ÕâÊǸöºÜ¹ã·ºµÄ»°Ì⣬¿ÉÒÔ´Ó¼¸¸ö·½Ã濼²ìÈí¼þ¹«Ë¾µÄÕæÕýʵÁ¦£º A¡¢Èí¼þµÄ¿ª·¢ÈËÔ±ÊýÁ¿¡£ Ö»ÓÐÈýÎå¸ö ¿ª·¢ÈËÔ±µÄ¹«Ë¾ÄÜ¿ª·¢³öʲô²úÆ·£¿¿ÉÊÂʵÉÏÕâÑùµÄ¹«Ë¾ºÜ¶ ʹÓÃOXPRO ½øÐпª·¢µÄÄê´ú£¬Õâ¸üÊdz£Ê¡£ F Ò²Óиö±ð¿ª·¢ÈËÔ±¸ÒÓÚ½ÐÏù×Ô¼º¿ª·¢³öµÄ²úÆ·±ÈÖªÃûµÄ XXX Èí¼þ¸üºÃ¸üÏȽø£¬µ± È»ÎÒ²»·ñÈÏËû¸öÈ˵ÄÄÜÁ¦£¬µ«ÔÚ´ËÌáÐѸ÷λ£ºÈý¸ö³ôƤ½³Ê¤¹ýÖî¸ðÁÁ¡£¶ ÂÇ£ºµ±Óû§¸ü¶àʱ£¬¸Ã¹«Ë¾»¹ÓÐûÓÐÈËÁ¦½øÐм¼ÊõÖ§³Ö¡£ B¡¢Èí¼þϵͳ¿ª·¢µÄʱ¼ä ½üÁ½Äê²Å¿ª·¢³öµÄ²úÆ·¼¸ºõû¾-¹ýʲôʵ¼Ê²âÊÔ£¬ºÜ¶àÎÊÌâ×ÔÈ»ÄÑÒÔ ¶à¡¢Ê±¼äÔ½³¤£¬µÍ¼¶´íÎóÒ²¾ÍÔ½ÉÙ (²»ÊÇûÓдíÎó ) £¬ºÜ¶à´íÎóÖ»ÄÜÔÚʵ¼ùÖвÅÄÜ·¢¾õ¡£ ÔÚʵ¼ÊµÄÔË×÷ÖÐÖ÷Òª»¹ÊDz鿴 ¸Ã¹«Ë¾Èí¼þÒÔÇ°µÄ°æ±¾ ----³£Óй«Ë¾°ÑгöµÄÈí¼þ¶¨ ÃûΪ0.0£¬¿É.0 ¸ú 1 1 10.0 Ö®¼äÁ¬½çÃæÓ빦Äܶ¼Ã»ÓÐÈκθĶ¯¡£ C¡¢Èí¼þµÄ¿ª·¢Îĵµ Ò»¸öÕý¹æµÄÈí¼þ¹«Ë¾£¬±Ø¶¨ÓÐÕý¹æµÄÈí¼þ¿ª·¢Îĵµ£¬¼¸¸ö¸ß¼¶³ÌÐòÔ± Ðò»òÐíºÜºÃ£¬Ò»µ©³öÏÖÈËÔ±±ä¶¯¡-¡-¡£¼´Ê¹ÈËԱûÓнøÐиü¶¯£¬ÔÚ¿ª·¢Á »Ø¹ýÍ·È¥ÐÞ¸ÄÔ-À´µÄ³ÌÐò£¬¼ÇÒäÒ²ÄÑÃâ»Ø³öÏÖÒÅ©¡£ËùÒÔ£¬ÎÒ¸öÈËÈÏΪ£ ¶¨ÓÐÕý¹æµÄ¿ª·¢Îĵµ¡£ 2¡¢Èí¼þ²úÆ·µÄÖÊÁ¿ Èí¼þ²úÆ·µÄÖÊÁ¿Ö÷Ҫͨ¹ýÁ½¸ö·½ÃæÁ˽⣺ Ê×ÏÈ£¬¿ÉÒԴӸù«Ë¾ÒÑÓеĿͻ§´¦Á˽⣬×îºÃÄÜÔÚÔ-Óпͻ§ÄÇÀï²Î¹Û µÄ·½·¨£¬µ«ÔÚʵ¼ÊµÄ²Ù×÷ÖÐÕâÒ²ÊÇ×î²»ÏÖʵµÄ·½·¨¡£ ×÷ΪÈí¼þ¹«Ë¾£¬ËûÄÜÌṩµÄÒ»°ãÖ»ÊÇʵʩ±È½Ï³É¹¦µÄ¿Í»§£¬ÓÉÓÚ ERP ϵͳÉæ¼°µ½ ÁËÆóÒµÄÚ²¿µÄ¹ÜÀíÐÅÏ¢£¬ÄÜÔÊÐí±ðÈ˲ι۵ÄÆóÒµÓëÈí¼þ¹«Ë¾Ö®¼äµÄ¹ØÏ ----ÕâÑùµÄ²Î¹ÛûÓÐÌ«¶àʵÓüÛÖµ¡£µ±È»£¬ÕâÒ²Ö¤Ã÷¸ÃÈí¼þ¹«Ë¾µÄÈ·¾ßÓÐ Èí¼þ¹«Ë¾Ò²³£»áÐé¹¹³öһЩ¿Í»§£¨ÓÈÆäÊǺ͹«Ë¾ÒµÎñÏà½üµÄ¿Í»§£ © £¬¶ ÑÐÖƳö²úÆ·µÄÈí¼þ¹«Ë¾£¬ËûÃǵ£ÐÄ¿Í»§ ?quot;³É¹¦¾-Ñé "¿´µÃÌ«ÖØ£¬Ö»ºÃÐé¹¹¿Í»§¡£Ò» ¸ö³ÇÊÐÀïÓм¸Íò¼Ò¹¤³§£Äܲ鵽Â𣿼´Ê¹ÓÐÕâÑùµÄ¹¤³§£Ò²ºÜÄÑÖªµÀÆäÄÚ ¬ ¬ µ½ÁËÒª Çó²Î¹ÛµÄʱ¿Ì£¬×ÜÄÜÕÒ³öЩÀíÓÉÌÂÈû¡£ Æä´Î£¬ÊÔÓÃÈí¼þ²úÆ·¡£ ×÷ΪСÐÍµÄ ÏµÍ³£¬ÓÉÓÚ¶Ô×Ô¼º²úÆ·²»Éõ·ÅÐÄ£¬Í¨³£ËûÃÇ»á²ÉÓÃЩ½è¿ ERP µ±È»Ò²Óв¿·ÖÆóÒµÒѾ-Éú²úÁËÏà¶Ô³ÉÊìµÄ²úÆ·£¬»¹ÊÇÔ¸ÒâÌṩ¸ø¿Í»§ÊÔÓ ÖÐӦעÒ⣺Ҫ²âÊÔ¹«Ë¾ÄÚÄÜÓõ½µÄËùÓÐÀàÐÍ×ÊÁÏ¡£È磬Éú²ú¡¢ÏúÊÛ¡¢¹¤³ Ò»¶¨ÒªÊäÈëÈ«²¿µÄ×ÊÁÏ£¬µ«Ã¿¸ö´óÀàµÄ²úÆ·×ÊÁ϶¼Ó¦ÓèÒÔ²âÊÔ¡£²ÆÎñÏµÍ Ô½ᴦÀíºÍÄê¶È¹ØÕʵȡ£ÔÚ²âÊÔ¹ý³ÌÖз¢ÏÖµÄËùÓÐÎÊÌâ¾ùÓ¦ÓèÒԵǼǣ¬Ò ¶Ô´íÎóµÄ´¦ÀíÇé¿ö¡£¾ßÌåÊäÈëʱҲ¿ÉÒÔ²ÉÓà ” ´Ý²Ð"µÄ°ì·¨£¬¼´ÊäÈëһЩÃ÷ÏԵĴíÎó×ÊÁÏ £¬ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 95. ITPUB µç×ÓÔÓÖ¾ ÖÐСÆóÒµÈçºÎÑ¡Ôñ MRP ϵͳ ¼ì²éϵͳµÄÈÝ´íÄÜÁ¦¡£ÎÒÔøÓöµ½ÕâÑùÒ»¸öÀý×Ó£ºÏúÊÛ¶¨µ¥µÄÊýÁ¿¾ÓÈ»ÔÊÐí±£´æ×ÖÄ MRP ʱϵͳ±ÀÀ£¡£ ÔËÐÐ ÆäÈý£¬²âÊÔÈí¼þµÄÔËÐÐËٶȺͲÙ×÷Áé»îÐÔ¡£ ÕæÕýʹÓà ϵͳʱ±Ø¶¨ÓдóÁ¿µÄ×ÊÁÏÐèÒªÊäÈ룬Èç¹û´ËʱֻÄÜÓÃÊó±ê² ERP ¼Èë×ÊÁϵÄËٶȽ«´ó´ó½µµÍ¡£Í¬Ê±Ò²ÒòÓû§Í¬Ê±²Ù×÷¶øÔì³Éϵͳ·´Ó¦±ä »§²Ù×÷ϵͳʱµÄÇéÐ÷¡£ 3¡¢Èí¼þµÄʵʩÇé¿ö ×÷ΪһÌ×¹ÜÀíϵͳ£¬²¢²»ÊÇÂòÀ´¾ÍÄÜÓõģ¬»¹ÐèÒªÒ»¸öʵʩµÄ¹ý³Ì£¬ ¼þºÍ¹ÜÀíÕý¹æµÄ¹¤³§±¾Ó¦Äܹ»Í¨¹ý ERP ϵͳÌá¸ß¾-¼ÃЧÒ棬ȴÒòʵʩ¹ý³Ì²»Ë³³©¶øµ ÖÂÓ¦ÓÃʧ°Ü¡£ËùÒÔ¹ºÂòÈí¼þʱҲӦ ¿¼²ìÈí¼þ¹«Ë¾µÄʵʩÄÜÁ¦£¨¶ÔÓÚС¹«Ë¾¶øÑÔ£¬Ö÷Ò Åàѵָµ¼ÄÜÁ¦££©¡ Ñ¡Ð͵Ĺý³ÌÖУ¬¿ÉÒÔ¿¼²ìÈí¼þ¹«Ë¾µÄÅàѵ·½Ê½ºÍÅàѵÎĵµ¡£Í¬Ê±Ò²Ó¦ Á÷£¬Á˽âÆä¶Ô ERP ϵͳµÄÀí½â³Ì¶È£¬ÉõÖÁ¿ÉÒÔÒªÇóÆäÊÔ½²¡£ ¶ÔÓÚÈí¼þ¹«Ë¾µÄʵʩÄÜÁ¦»òÐíÊÇ×îÄÑÁ¿»¯µÄÖ¸±ê£¬¾ßÌå²Ù×÷ʱÒò¾ßÌ 4¡¢ÆäËûӦעÒâµÄÊÂÏî Ó¦ÓÃСÐÍ ÏµÍ³µÄ¹ý³ÌÖÐ×î´óµÄÂé·³¾ÍÊÇÈí¼þ¹«Ë¾³öÏÖÒì³£¡£ÈçÖ÷Òª¿ ERP ³öÏֱ䶯£¬ÊÛºó·þÎñÈËÔ±³öÏֱ䶯£¬ÉõÖÁÕû¸ö¹«Ë¾¿ą̊¡£ µ±È»£¬ÕâÀàÎÊÌâ²¢²»Ò»¶¨ÔÚÑ¡Ôñ ERP ϵͳʱ±ãÄÜÍêÈ«²ì¾õ£¬µ«ÎÒÃÇÒ²Ó¦²ÉÈ¡Ï๠µÄ·À·¶´ëÊ©¡£ A¡¢Ñ¡Ôñ±È½Ï³É ÊìµÄÈí¼þ£¬ÓпÉÄܵĻ°×îºÃÄÜÄõ½ÏµÍ³µÄÔ´³ÌÐò£¬ÒÔ±ã×ÔÐÐÐ ÖÖ·½Ê½ÐèҪͶÈë¶îÍâµÄÈËÁ¦ºÍ×ʽ𣬳ý·ÇÌØÊâÇé¿ö£¬²»½¨Òé²ÉÓã© B¡¢Ñ¡Ôñ¾ß±¸¶þ´Î¿ª·¢ÄÜÁ¦µÄÈí¼þ¡£Èç¹ûÈí¼þ±¾Éí±È½Ï³ÉÊ죬ÇҾ߱¸» ·¢¹¦ÄÜ£¨×îÉÙÒ²Òò°üº¬×Ô¶¨Ò屨±í¿ª·¢£ © £¬ÄÇôÔÚʹÓõĹý³ÌÖн«ºÜÉÙÊ C¡¢ÔÚºÏͬÖÐÃ÷È·¹æ¶¨ÒâÍâÇé¿ö·¢ÉúʱµÄ´¦Àí·½·¨¡£ ¾ßÌåµÄʹÓùý³ÌÖУ¬¶Ô±¨±í µÄÐÞ¸ÄÓ¦¸ÃÊÇÊ®·ÖƵ·±µÄÊÂÇ飬¸÷¸öʱÆÚµÄÐèÇó²»Í¬£¬Èç¹ûÈí¼þ²»¾ß±¸× ·¢¹¦ÄÜ£¬ÄÇôÿ´ÎÐ޸Ķ¼½«ÒÀÀµÈí¼þ¹«Ë¾¡£¶Ô¹¤³§»ò¶ÔÈí¼þ¹«Ë¾¶øÑÔʱ¼ ²»ºÏËã¡£ ËÄ¡¢×ܽá ERP ϵͳµÄÑ¡ÔñÖ±½Ó¹Øϵµ½¹«Ë¾¸ÃÏîÄ¿Ó¦Óõijɰܣ¬¹ÊÔÚ¹©Ó¦É̵ÄÑ¡Ôñ· СÐÄ£¬Èç¹û¹«Ë¾Áìµ¼¶Ô¸ÃÏîĿûÓÐÆÈÇеÄÐèÒªÓëÈÏʶ£¬½¨Ò黹ÊDz»ÒªÆô¶¯Î ¶ÔÓÚÈí¼þµÄÑ¡Ôñ£¬³ýÁ˶ԲúÆ·µÄ¿¼²ìÍ⣬¸üÖØÒªµÄÊǶÔÈí¼þ¹©Ó¦É̵Ŀ¼ ERP ϵͳÏîÄ¿Ò²ºÅ³Æ "Ò»°ÑÊÖ¹¤³Ì "£¬ÎÞÂÛÏîÄ¿µÄ´óС¶¼ÐèÒªµÃµ½¹«Ë¾¸ß²ãµÄ´óÁ¦Ö§³Ö£¬ ÖÖÖ§³ÖÒ²ÓëÏîÄ¿¸ºÔðÈËÔ±ÓëÆäµÄÊʵ±¹µÍ¨Ï¢Ï¢Ïà¹Ø¡£ÓÉÓÚÉæ¼°µ½¸÷¸ö²ãÃæµÄ Ö»ÓÐÁ˽âÏêϸÁ˽âÏîÄ¿µÄ½ø¶ÈºÍÑ¡ÐÍʵʩ¹ý³ÌÖеÄÎÊÌâÓëÀû±×Ö®ºó²ÅÄܸøÓ µãºÍÆäËûÏîÄ¿ËùνµÄ "ÎÒ·ÅȨ£¬ÄãÈ¥×ö "²»¾¡Ïàͬ¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 96. ITPUB µç×ÓÔÓÖ¾ CRM µÄºËÐÄ¡¢Ó¦ÓÃÖص㼰·Ö²¼ÊµÊ©²½Öè CRM µÄºËÐÄ¡¢Ó¦ÓÃÖص㼰·Ö²¼ÊµÊ©²½Öè Àî¼Ê CRM£¬ÖÐÎÄÖ±ÒëµÄÈ«ÃûÊÇ "¿Í»§¹Øϵ¹ÜÀí "¡£ËüÆðÔ´ÓÚÉϸöÊÀ¼Í 90 Äê´ú³õÖÐÆÚ£¬ÔÚÖÐÆÚ µÃµ½ÁËѸÃ͵ķ¢Õ¹¡£ÏÖÔÚÒ»¶È±»ÈÏΪÊǽÓÌæ ERP µÄÏÂÒ»¸ö¹ÜÀíÈí¼þÓ¦ÓÃÈȵ㡣½ö½ö´Ó SEIBEL ÔÚNASDAQ ÉϵıíÏ־ͿÉÒÔÖªµÀ×ʱ¾Êг¡¶ÔÓÚÆäµÄÐÅÐÄÓëÏ£Íû¡£ÎÒÏë¾Í CRM µÄ ºËÐÄÀíÄî¼°ÆäÓëÆäËûÀíÂÛ·¢Õ¹µÄÄÚÔÚÁªÏµ¡¢ CRM Ó¦ÓõÄÖصãÓëÆä×é³É¡¢ CRM ·Ö²¼ÊµÊ©µÄ²½ ÖèÈýµã×ö¼òÃ÷ÂÛÊö¡£ CRM µÄºËÐÄÀíÄîÆäʵֻÓÐÒ»¸ö´Ê×飺 ONE TO ONE MARKETING(Ò»¶ÔÒ»ÓªÏú )¡£ ¶ÔÓÚ Õâ¸öÃû´Î½âÊÍÒÑ ¾-ÓÐÌ«¶àµÄÆÕ¼°ÐÔÐû´«£¬²»¹ýÊÇ·ñÄÜÕæÕýÀí½âËüÊÇÒ»¸ö´óÎÊÌâ ONE TO ONE MARKETING ÊÇÕæÕý³¹µ×µÄ¸öÐÔ»¯ÓªÏú¡£Õâ¸ö¸öÐÔ»¯²¢²»½ö½öÍ£ÁôÔÚ ÓªÏúµÄ¸öÌå¶ÔÏóÉÏ£¬ÒòΪӰÏìÄãÓªÏú½á¹ûµÄÆäʵÓÐÐí¶àÏà¹ØµÄ¸öÌå¡£±ÈÈç½² ¿Í»§µÄ¹©Ó¦ÉÌ£¬µ«ÊÇÄã²»Äܽö½öÍ£ÁôÔÚÆóÒµ¸öÌåµÄµ¥Ò»¶ÔÏóÉϽøÐÐÓªÏú¡£ÓÐ ÓÐÄÜÁ¦Ó°Ïì×÷³ö¾ö¶¨µÄËùÓÐÆóÒµÄÚÍâµÄ²¿ÃÅ¡¢¸öÈ˶¼Ó¦¸ÃÊÇÄãÓªÏúµÄ¶ÔÏó¡£ ºÏÓªÏúÕâ¸öÃû´Ê¡ÕûºÏÓªÏú°´ÕÕ´óÖÚ»¯µÄ¹ÛµãÓ¦¸ÃÊÇÕûºÏ×Ô¼ºµÄËùÓÐ×ÊÔ´Óë £ »¯µÄÓªÏú£¬¶ø´ÓÁíÒ»¸ö½Ç¶È¿´£¬±»ÓªÏú µÄ¸÷¸ö¶ÔÏ󶼱»ÏµÍ³»¯µØ×éÖ¯ÆðÀ´Ò²Ó¦¸ÃÊÇÕûºÏÓ µÄÁíÒ»¸ö·½Ãæ¡£ ONE TO ONE MARKETING µÄÀíÄÌåÏÖÁËÓªÏúÀíÂ۵ıäǨ¡£ ÓªÏúÀíÂÛ´óÖ¾-ÀúÁË´Ó ÃæÏòÈ«Éç»áµÄÕûÌåÓªÏúµ½ÃæÏòÌض¨ÈºÌåµÄÍÅÌåÓªÏúµ½ÏÖÔÚµÄÃæÏòµ¥Ò»¸öÌåµ ±äǨµÄ±³ºóÆäʵ·´Ó³µÄÊÇÉç»áµÄ½ø²½Ó빩Çó¹ØϵµÄ±ä»¯¡Éç»á´ÓÔçÆÚÎïÖ浀 £ ÎïÖÊÏà¶ÔÂú×㹩¸øµ½ÏÖÔÚÎïÖʹýÊ££¹©Çó¹Øϵ´ÓÔçÆÚ¼¸ºõ´¦ÓÚ¢¶ÏµÄ¾ø¶Ô¹© ¬ ¹©Çó»ù±¾Æ½ºâÒÔÖÁÏÖÔÚÏà¶Ô¹©´óÓÚÇó¶¼ÔÚÄ»ºóÖ÷µ¼×ÅÓªÏúÀíÂ۵ı仯¡ÕâÀï £ ÎïÖʹýÊ£²¢²»ÊǾø¶ÔÒâÒåÉϵÄÎï ÖʹýÊ£¶øÊÇÄܹ»Âú×ã¿Í»§ÐèÇóµÄÎïÖʹýÊ££ËùÒÔÎÒÔÚ¹ ¬ ϵ±ä»¯ÖÐÌáµ½Ïà¶ÔµÄ¹©´óÓÚÇó¼´Ö¸µÄÊÇÏà¶ÔÓë¿Í»§ÐèÇ󣹩´óÓÚÇó¡¶ø´Ó¾ø¶ ¬ £ ¹©Çó¹Øϵ²¢Î´Ê§ºâµ½Ò»¸ö¼«¶ËµÄ±ÈÖµ¡£ÕâËƺõºÜÄÑÀí½â¶øÇÒÓÐЩ×ÔÏàì¶Ü¡ ÎÒ¾ÙÒ»¸öÀý×ÓÀ´°ïÖú´ó¼ÒÀí½âÕâ¸öÂÛµã¡ÎÒÃǶ¼ÖªµÀÊÀ½çÉÏÓкܶàµØ·½Ç £ µÄÁ¸Ê³¶¼²»¹»£¬¿ÉÊÇÓÉÓÚÖÖÖÖÔ-Òò£¬ÆäËûµØ·½µÄÁ¸Ê³ÒòΪµ±µØµÄ²úÁ¿Ô¶Ô¶³¬ Çó¶øÔì³ÉÁ¸Ê³¹ýÊ£¡£ËùÒÔÔÚÕâÖÖÇé¿öÏ£¬ÎÒÃDz¢²»ÄÜ˵Á¸Ê³Êǹ©´óÓÚÇó£¨Òò Åä²»¾ùµÄÎÊÌ⣩ £¬Ö»ÄÜÏà¶ÔµÄ¸ÃЩ²úÁ¸´ó¹úµÄÁ¸Ê³¹©´óÓÚÇó¡£ÕâЩÇé¿ö µÄ±¾ÖÊÆðÒòÒòΪÆ临 ÔÓÐÔÓë¶àÑùÐÔËùÒÔ²¢²»ÔÚ´ËÌÖÂÛ¡£ÕýÊÇÒòΪÉÏÊöµÄ±ä»¯£¬Ô-À´Ö»ÐèÒªÂú×ãÈ« ÔÙÒ²²»ÄÜÈç´Ë³©Ïú£¬ÒòΪ´óÁ¿µÄÏàͬ²úÆ·´òÆÆÁËÔ-Ïȶ¯Ì¬Æ½ºâ£¨ÒâÖ¸¶¯Ì¬Îȶ ÆÈʹ³§É̲»µÃ²»°Ñ×Ô¼ºµÄ²úÆ·¶¨Î»ÓÚ¸üϸµÄÒ»¸öȺÌåÒÔıÇó¹©Ó¦¹Øϵ»Ö¸´Æ ÉÌ¿ªÕ¹ TO ONE MARKETING¡£ÎÒ»¹ÄÜ´ÓÐí¶àÏà¹ØÀíÂÛÀ´½âÊÍÕâÖÖÓªÏúÀíÂÛ±ä» ONE ¹ØÓÚÉú²úµÄÀíÂÛͬÑù¾-ÀúÁË´ÓÂú×ã¶ÔÓÚ²úÆ·µÄÐèÇóµ½Âú×ãʹÓõÄÐèÇó×îÖÕ µÄ±ä»¯¡£ µÚÒ»ÖÖ ÆäʵÊÇÌṩ¹¦ÄܵÄʹÓã¬Êdz¹µ×ÎïÖÊ»¯µÄ¡£¶ø µÚ¶þÖÖ¡¢µÚÈý ÖÖ ÊÇ·ÇÎïÖʵģ¬ÆäÖÐ µÚ¶þÖÖÊÇÌṩ¼ÛÖµ£¬¶øµÚÈýÖÖÊÇÂú×ã¿Í»§¸ÐÐÔµÄÐèÇó¡£ÒòΪÉç»áµÄ½ø²½Ê¹¿Í µÄ¼ÛÖµÁË¡£¾ßÌå½²£¬µÚÒ»ÖÖÀíÂÛÄã¿ÉÒÔ½âÊ͵±³õÆû³µ·¢Ã÷Ôì³ÉµÄºä¶¯£¬ÒòΪ ËÉÔ¶×ãµÄÐèÇó£¬ÌṩµÄÊÇ´ú²½µÄ¹¦ÄÜ£»µÚ¶þÖÖÀíÂÛ¿ÉÒÔ½âÊÍÖ鱦ҵ´æÔÚµÄÊ ÁËÐèÒªìÅÒ«µÄÐÄÀïÐèÇó£¬ÌṩµÄÊÇÖ鱦µÄ»õ±Ò¼ÛÖµ£¨¶ø²»ÊÇËüµÄÄÍÄ¥¡¢ÄÍ¸ß HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 97. ITPUB µç×ÓÔÓÖ¾ CRM µÄºËÐÄ¡¢Ó¦ÓÃÖص㼰·Ö²¼ÊµÊ©²½Öè Óù¦ÄÜ£¬¾ÍºÃÏñ½ð¸ÕʯÓë×êʯµÄÇø±ðÒ»Ñù£ ©£»µÚÈýÖÖÀíÂÛ¿ÉÒÔ½âÊͳªÆ¬ÒµµÄ´æÔÚÒâÒå ËüÂú×ãÁË¿Í»§ÐèÒª·¢Ð¹¡¢Ñ°ÕÒ¾«Éñ¼ÄÍеÄÌåÑéÐèÇó¡£ÌرðÊÇнüÁ÷ÐеÄ×Ô¼º¸ø×Ô¼º¹à ¸üÊÇÖ¤Ã÷ÁË TO ONE MARKETING ÀíÂÛÊÇ»ùÓÚÊг¡ÐèÇó¶ø²úÉú¡£¶øÕâÖÖ×Թ೪ƬµÄ ONE Îñ²»¾ÍÊÇ TO ONE MARKETING ÔÚ¸ÃÐÐÒµÓ¦Óõijɹ¦°¸ÀýÂ𣿠ONE Ôٲο¼Êг¡ÀíÂÛ£¬Ëü ÏàËƵؾ-ÀúÁË´ÓÂú×ã¿Í»§ÐèÇóµ½Òýµ¼¿Í»§ÐèÇóÄËÖÁ³¬Ô½¿Í»§ÐèÇóÓëÆÚÍûµÄ± ÊÇ·´Ó³ÁËÒòΪ¹©Çó¹ØϵµÄÏà¶Ô±ä»¯µ¼ÖÂÊг¡µÄ˳ÊƱ仯¶þÊǼä½Ó·´Ó³Á ONE TO ONE MARKETING ÔÚ´Ë´¦µÄÕÛÉä¡£Ëùν³¬Ô½¿Í»§ÐèÇó¾ÍÊÇ´ó¼Ò¶úÊìÄÜÏêµÄ "120%µÄÂúÒâ¶È "»ò " ¾ªÏ²ÌåÑ飨¾ªÏ²¶È£© "µÈÀàËƵÄÌá·¨¡£Ö»ÓÐʵÏÖÁË MARKETING£¬²ÅÄÜÕæÕýʵ ONE TO ONE ÏÖËùνµÄ³¬Ô½¿Í»§ÐèÇóµÄÄ¿±ê¡£ ΪÁË°ïÖú´ó¼ÒÀí½â£ÎÒÔٴξÙÒ»¸öÀý×Ó¡Ô ¬ ONE TO ONE MARKETING µÄ¾ßÌåÀíÂÛÖУ¬ £Ú ÓÐÒ»Ìõϸ½Ú¾ÍÊÇҪעÒâ¸öÌå¿Í»§µÄ¸öÐÔ»¯ÐÅÏ¢£¬±ÈÈç¿Í»§µÄÉúÈյȡ£Ò»¸öÓë ¿Í»§´ÓÀ´²»»áÖ÷¶¯ÓÐÒâʶϣÍûµÃµ½ÄãµÄÉúÈÕ×£¸££¬ÒòΪËû¾õµÃÓëÄã½ö½öÊÇÒµ ×£¸£Ó¦¸ÃÀ´×ÔÓÚÖîÈçÇ×ÈË¡¢ÅóÓѵȴ¦¡£Ò»µ©Äã¸øËû·¢³öÉúÈÕ×£¸££¬ËûÒ»¶¨»á ¼´³¬Ô½ÁËËûµÄÆÚÍûÖµ¡£¸ù¾ÝËûµÄ¾-Ñ飬ÒòΪÉúÈÕ×£¸£Ö»¿ÉÄÜÀ´×ÔÓÚÇ×ÈËÓÚÅó ³ÉÁËËûµÄÅóÓѶø²»ÊǼòµ¥µÄÉúÒâÉϵĺÏ×÷Õß¡£Êг¡ÀíÂÛ ·¢Õ¹µ½½ñÌ죬Ìá³öµÄÒÔ³¬Ô½¿Í»§ÐèÇó ÓëÆÚÍûΪĿ±êµÄÀíÂÛÒµ´Ó²àÃæÓë ONE TO ONE MARKETING µÄµ®ÉúÓë·¢Õ¹ÏศÏà³É¡£¶øͨ ¹ý¶Ô NE TO ONE MARKETING µÄһϵÁнâÊÍ×ÔȻҲ¾ÍÒѾ-½âÊÍÁË O CRM£¬´ó¼ÒÓ¦¸Ã¿ÉÒÔ ¶ÔÓÚÆäÓÐÒ»¸öÉî¿ÌµÄÀí½âÁË¡£ CRM µÄÓ¦ÓÃÖصãÎÞ·ÇÊÇ¿Í»§¹ÜÀíÓëÖ´ÐС¢¿Í»§ÐÅÏ¢¹ÜÀí Ïí¡¢Ç±ÔÚÉÌ»úµÄ¹ÜÀíÓë·¢ÏÖÈýµã¡£ ÕâÀïÃæµÄ×é³É¸÷²»Ïàͬ¡£¿Í»§¹ÜÀíÓëÖ´ÐÐÓÉÓªÏú×Ô ÓëÏúÊÛ×Ô¶¯»¯Á½¸ö²¿·Ö¡£ ÓªÏú×Ô¶¯»¯Ò»°ãÊÇÓÉÆóÒµÊг¡²¿ÃÅʹÓõŤ¾ß£¬Ö÷ÒªÊÇÍ ×Ô¶¯»¯µÄ¹¤×÷À´ÊµÏÖÆÕ±é¶ø·ÇÌض¨µÄ¿Í»§¹ÜÀí£¬ÆäÄ¿µÄÎÞ·Ç ÊÇ¿Í»§ÐËȤµÄ»½ÐÑ¡¢¿Í»§¹ØϵµÄ ά³ÖÓëÔö½ø£¬³äÆäÁ¿ÊÇΪÏÂÒ»²½ÏúÊÛ×Ô¶¯»¯×öÆ̵档¾ßÌåµÄÓ¦ÓÃÓÐ×Ô¶¯»¯µÄ »¯·þÎñ£¨±ÈÈçÉúÈÕ×£¸£¡¢Ô¤¶¨µÄÐÂÆ·¹ã¸æ£©µÈ¡£ÏúÊÛ×Ô¶¯»¯Ò»°ãÓÉÏúÊÛ²¿ÃÅ ¶ÔÓÚ¾ßÌåµÄÄ¿±ê¿Í»§µÄÏúÊÛÁ÷³ÌµÄ¹ÜÀíÓë¿ØÖÆÌá¸ß³É½»ÓëÔٴγɽ»µÄ¼¨Ð§¡ ÊÖ¶ÎÓиù¾Ý²»Í¬µÄÏúÊ۽׶νøÐнø½×¹ÜÀí£¨ÕâͬʱҲÌåÏÖÁËÄÚ²¿¹ÜÀíµØ¾«É Èç¸öÈËϲºÃµÈ½øÐиöÐÔ»¯ÓªÏú£¬Í¨¹ý¿ìËÙ¡¢ÓÐЧµÄËÑË÷Óë¹ØÁªÐÅÏ¢µÄÌáʾ°ï ÖеÄÎÊÌâ¡£¿Í»§ÐÅÏ¢¹ÜÀíÓë¹²ÏíÓÉ֪ʶÖÐÐÄÓë CALL CENTER£¨µç»°ÖÐÐÄ£©×é³É¡£ ֪ʶÖÐÐÄ°ïÖúÏà¹ØÈËÔ±Äܹ»Ñ°ÕÒµ½ÓÐÖúÓÚ½â¾öµ±Ç°ÎÊÌâµÄ·½·¨¡£ ËüÓеãÀàËÆÓÚ¹ýÈ¥³£Ìá µ½µÄר¼Òϵͳ¡ÖªÊ¶ÖÐÐIJ»Í¬ÓÚÒ»°ãµÄÎĵµ¹ÜÀíµÄ×î´ó²»Í¬µãÔÚÓÚÐèÒªÔÚ´ó £ Ñ°ÕÒ²¢Åä¶Ô£¬Õâ¶ÔÓÚ¼ÆËã»ú¼¼ÊõÊÇÒ»¸öºÜ´óµÄÌôÕ½¡£Ä¿Ç°¾ø´ó¶àÊýµÄ CRM ²úÆ·½ö½öÄÜÌṩ Ò»¸ö³ûÐΡ£¶ø CENTER ¿ÉÄÜÊÇ Öз¢Õ¹×îÔçÓë×î³ÉÊìµÄÓ¦ÓÃÁË¡£ÔçÆÚµÄ CALL CRM CRM ¼¸ ºõ¾ÍµÈͬÓÚ CENTER¡£ËüÖ÷ÒªÓе绰ÅŶӡ¢×Ô¶¯ÌáʾµÈ¹¦ÄÜʵÏֵ绰·þÎñ¡£ CALL ¸öÌصãÊǸ߶ÈÇ¿µ÷ÓëÓ²¼þµÄ¼¯³É¡ËùÒÔÄ¿Ç°Õâ·½ÃæµÄÖøÃû³§É̾ùÊÇÓÉÓ²¼þÏò £ ·¢Õ¹³öÀ´µÄ¡£ ÎÞÂÛÊÇ¿Í»§¹ÜÀíÓëÖ´Ðл¹ÊÇ¿Í»§ÐÅÏ¢¹ÜÀíÓë¹²Ïí¶¼ÊǶÔÓÚÏÔÐÔ֪ʶ DZÔÚÉÌ»úµÄ¹ÜÀíÓë·¢ÏÖ¾ÍÊǶÔÓÚÒþÐÔ֪ʶµÄÍÚ¾òÁË¡Á½Õß½áºÏÆðÀ´ÕýºÃ¹¹³É £ ¸öÓ¦Óõ㡣ËùνDZÔÚÉÌ»úÖ¸µÄÊÇÔ-±¾²¢Î´±í¶³öÀ´µÄÉÌ»ú£¬¾ÍºÃÏñÒþÐÔ֪ʶ ʶ£¨¼´ÄãÒÑ֪֪ʶ£©µÄ±³ºó£¬ÄãÊDz»ÖªµÀÊÇ·ñÓÐÄãÐèÒªµÄ֪ʶ¶øÇÒÕâ֪ʶÊÇÊ Ö»ÓÐͨ¹ý·ÖÎöÓëÍÚ¾ò²ÅÄÜÖªµÀÓÐûÓкÍÊÇʲô¡£Õâ¸öÓ¦ÓÃÊÇÀûÓÃÊý¾Ý²Ö¿â¼ ͬÑù£¬ÎªÁË°ïÖú´ó¼ÒÀí½â£¬ÎÒ½éÉÜÒ»¸ö¾-µä°¸Àý¡£ÃÀ¹úÓÐÒ»¼Ò³¬Êг¤ÆÚ¿ ¾ÆµÄÏúÊÛÁ¿¡£Í¨¹ýÊý¾Ý²Ö¿â¼¼ÊõµÄÀûÓÃÓë ³¤ÆÚÊý¾ÝµÄ»ýÀۺ󣬸ó¬Êз¢ÏÖÒ»¸öÓÐȤµÄÇé¿ ´ó¶àÊý¹ºÂòÓ¤¶ùÄòƬµÄ¶¼ÊÇÄÐÐÔ¡£ÓÚÊÇËü²ÉÈ¡ÁËÒ»Ïî·ËÒÄËù˼µÄ¾Ù¶¯£¬°ÑÄò HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 98. ITPUB µç×ÓÔÓÖ¾ CRM µÄºËÐÄ¡¢Ó¦ÓÃÖص㼰·Ö²¼ÊµÊ©²½Öè ͬһÐлõ¼ÜÉÏ¡£½á¹ûÒòΪ¹ºÂòÄòƬµÄͬʱ£¬¾ø´ó¶àÊýÄÐÐÔ¶¼»áËæÊÖÂòЩơ¾Æʹơ¾ÆµÄ ÔÚ¶ÌÆÚÄÚ·-Á˼¸·¬£ ¡Ë-ÄÜÊÂÏÈÏ뵽ơ¾Æ¾ÓÈ»ÓëÄòƬ»¹ÓÐʲô¹ØÁªÐÔ¶øÇÒÁ½Õß·ÖÊôÓÚ²» µÄ¸öÈËÏû·ÑÆ·£¬´«Í³×ö·¨´ÓÀ´²»¿ÉÄÜ°ÑÁ½Õß³¶ÉÏÈκιØϵ¡£Õâ¾ÍÊÇDZÔÚÉÌ»úµÄ·¢ÏÖ£¬ ×öÈκÎÊÂÇ鶼²»¿ÉÄÜÒ»õí¶ø¾Í£¬ÊµÊ© ¾Ý²Ö¿â×÷Ϊ¼ÆËã»ú¼¼ÊõÔÚÓªÏúÉϵÄÉÌÒµÒâÒåµÄÌåÏÖ¡£ CRM Ò²²»ÀýÍâ¡£±ØÈ»ÐèÒªÒ»²½²½µÄʵʩ£¬µ«ÊÇ·Ö²¼ÊµÊ©µÄ²½ÖèÓÖÈçºÎÈ·¶¨Ä £¿ÎÒ¾õµÃºÜÄÑ Ò»¸Å¶øÂÛ¡£¸ù¾ÝÐÐÒµÊôÐÔµÄÇø±ð¡¢ÆóÒµ¸öÌå²îÒìµÄÇø±ð»áÔì³ÉÕë¶ÔÐԵIJ»Í ±ÈÈç½²£¬¶ÔÓÚÓÐÆÕ±éÒåÎñµÄÐÐÒµ£¬ÖîÈ磺ÓÊÕþ¡¢Í¨Ñ¶£¬ÆäÖصãÒ»¶¨ÊÇ CALL CENTER È¥½â¾ö¿Í»§·þÎñÓë×ÉѯµÄÐèÇ󣻶ÔÓÚÒÔÖظ´Ïû·ÑΪÌØÕ÷µÄÐÐÒµ£¬ÖîÈ磺°Ù»õ Ò»¶¨ÊÇÓªÏú×Ô¶¯»¯È¥¼¤·¢¿Í»§Ïû·ÑµÄÒâÔ¸£»¶ÔÓÚÒÔ±¡Àû¶àÏúΪÌØÕ÷µÄÐÐÒµ£¬ Òµ£ÆäÖصãÒ»¶¨ÊÇÊý¾Ý²Ö¿âÈ¥·¢ÏÖ¿Ë·þ³É±¾Ó뿪±ÙÐÂÉÌ»úµÄ¿ÉÄÜ¡-²»¹ýÎÒ½ö ¬ ΪÌØÕ÷µÄÆóÒµ×÷Ò»¸ö·º·ºµÄ½¨Ò飺ÏÈʵÏÖÏúÊÛ×Ô¶¯»¯¼Ì¶øʵÏÖÓªÏú×Ô¶¯»¯£¬ ʶÖÐÐÄ£¬ÔÚ´Ë»ù´¡ÉÏ ¿ªÕ¹¶ÔÊý¾Ý²Ö¿âµÄʹÓã¬×îºóÍê³É µÄ½¨Éè¡£ÎÒÕâÑù½¨ CALL CENTER ÒéµÄÔ-ÒòÊǸù¾Ý¸÷¸öÓ¦ÓöÔÓÚ¸ÃÀàÐÍÆóÒµÖØÒªÐÔÓëʹÓÃƵÂʵĵݼõÐÔ¿¼ÂÇ¡ Ïֵijɱ¾ÓëÄÑÒ׳̶ȡ£´ÓµÍ³É±¾¡¢¼òµ¥Ò×Ðд¦¿ªÊ¼¿ÉÒÔÖð²½½¥½ø£¬Ôö¼ÓÆóÒ CRM µÄÐÅ ÐÄ£¬Ó¦Óà µÄ¾öÐÄ¡£¶øÇÒÕâЩÄѶȵÄÔö¼Ó²¢²»½ö½öÊÇʵʩ¹¤×÷Á¿µÄÔö¼Ó£¬¶ø CRM ²½»ù´¡ÐÔ¹¤×÷Íê³É×÷Ϊ»ù´¡¡£ÀýÈçûÓÐÏúÊÛ×Ô¶¯»¯ÓëÓªÏú×Ô¶¯»¯Öг¤ÆÚ»ýÀ ´óÁ¿µÄÊý¾Ý¾Í²»¿ÉÄÜÖ¸ÍûÊý¾Ý²Ö¿â¿ÉÒÔÌṩÕýÈ·¡¢¾Þ´óµÄ·¢ÏÖ¡£ ÎÒÒѾ-¾Í µÄºËÐÄÀí CRM Äî¼°ÆäÓëÆäËûÀíÂÛ·¢Õ¹µÄÄÚÔÚÁªÏµ¡¢ CRM Ó¦ÓÃµÄ ÖصãÓëÆä×é³É¡¢ CRM ·Ö²¼ÊµÊ©µÄ²½ÖèÈýµã ×öÁ˼òÃ÷ÂÛÊö£ÆäÖÐÐí¶àµÄÀíÂÛËäÈ»À´×ÔÓÚ¹ú¼ÊÉϹ«ÈϵÄÀíÂÛÌåϵµ«½áºÏÁË ¬ ½â¡£ËùÒÔ¿ÉÄÜÓ봫ͳµÄÀíÂÛÌåϵÔڽṹ×éÖ¯ÓëÂÛµãÕ¹¿ªÉÏÂÔÓв»Í¬£¬Ï£ÍûÊÇ Ñ§Ï°°ïÖú´ó¼ÒÄÜÓÐÉî¿Ì¶ø·ÇÐζøÉÏѧµÄÀí½âÓëÓ¦ÓᣠÖÐСÐÍ Êг¡¼°Èí¼þµÄÌصã ERP ERP£¬Ô-±¾ÊÇ´óÐÍÆóÒµµÄרÓвúÆ·¡£ ËùÒÔÒ»¿ªÊ¼£¬Ðí¶àµÄÈí¼þ¶¼Éè¼Æ³É´óÐÍ»úϵͳ£¬ º¬Á˼«Æ临ÔÓ¡¢Ò»Ó¦¾ãÈ«µÄ¹¦ÄÜ¡£ÎÞÂÛÊÇ´Ó TCO£¨×ÜÌåÓµÓгɱ¾£©»¹ÊÇÊÊÓÃÐÔÉ϶¼ÈÃÖÐС ÐÍÆóÒµÍû¶øÈ´²½¡£Ä¿Ç°´óÐÍÆóÒµ¾ùÒÑ·×·×ÌíÖà ERP ϵͳ£¬¶ø Ëæ×ÅÊг¡¾ºÕùµÄ¼Ó¾ç¡¢ÖÐСÐÍ ÆóÒµµÄáÈÆðºÍ ERP ³§É̱¾ÉíÀ©Õ¹¿Í»§µÄÐèÒª£¬ÃæÏòÖÐСÐÍÆóÒµµÄ ERP Êг¡Ô½À´Ô½ºì»ð£¬ ´óÓиϳ¬´óÐÍ ERP Êг¡µÄÇ÷ÊÆ£¬±¾ÎĽö¾ÍÖÐСÐÍ ERP µÄÐèÇó¼°ÖÐСÐÍ ERP Èí¼þµÄÌØÉ«×ö Ò»ÌÖÂÛ¡£ ÖÐСÐÍÆóÒµËäȻûÓдóÐÍÆóÒµÔÚÉú²ú¼°ÒµÎñÉÏÈç´ËµØ¸´ÔÓ£¬µ«ÊÇ "ÂéȸËäС£¬ÎåÔà ¾ãÈ«¡£ "Ëü»¹ÊÇÓÐ×ÅÒ»ÕûÌ×½ø¡¢Ïú¡¢´æ¡¢¼Æ»®¡¢Éú²úºÍ²ÆÎñ³É±¾¹ÜÀíµÄÐèÇó¡£ ²»Í¬µÄ½ö½öÊÇÔÚÓÚ¸÷¸ö¹¦Äܲ»Ïó´óÐÍÆóÒµÒªÇóµÄÈç´Ë¸´ÔÓ¡¢È«Ãæ¡£»»ÑÔÖ®£ MRPII ·½ ÃæµÄ¹¦ÄÜÊǸ÷ÖÖÉú²úÐÍÆóÒµµÄ±ØÐë¡£ ÖÐСÐÍÆóÒµÓÉÓÚÊÜ×ʽðµÄÏÞÖÆ£¬²»¿ÉÄÜÏñ´óÐÍÆóÒ Ò»ÖÀǧ½ð£¬»¨ÉÏÊ®¼¸¡¢¼¸Ê®ÍòÃÀÔªÒý½ø ERP¡£ËûÃÇÍùÍùÖ»Óм¸Ê®Íò¡¢ÉõÖÁÊ®¼¸ÍòµÄÔ¤Ëã¡ Ç®¶àºÃ°ìÊ£¬Ç®ÉÙÒ»ÑùÒª°ìºÃÊ£¡ÆóÒµ¶ÔÓÚ ERP µÄò¯³ÏÍùÍùʹÎÒÃÇÕâЩרҵ´ÓÊ ERP µÄ ÈËÊ¿±»¸Ð¶¯¡£ÒªÖªµÀ£¬ÕâЩǮºÜ¿ÉÄܾÍÊǸÃÆóÒµµ±Äê·ÇÉú²ú×ÊÁϲɹºÖÐ×î´ó ÒÔ£¬ÖÐСÐÍÆóÒµÍùÍùÊDZ§×ÅÉÙ»¨Ç®¶à°ìʵÄÔ-Ôò¡£ ÖÐСÐÍÆóÒµ×ÔÉí¹æÄ£Éв»×ãÓë´óÐÍÆóÒµÏàÌá²¢ÂÛ£¬ËùÒÔ¶Ô ERP µÄÏêϸÐèÇó¾Í²»Èç´óÐÍ ÆóÒµ¡£ Ðí¶àÔÚ´óÐÍÆóÒµËùÌØÓеÄÐèÇóÔÚÖÐСÐÍÆóÒµ¾ÍûÓбØÒª¡£·´ÑÔÖ®£¬´óÐ ERP Èí¼þÒ» Ö±ÒýÒÔΪÈÙµÄ "ÔÚÖÐСÐÍÊг¡ÓпÉÄܳÉΪ "¹¦ÄÜÈ«Ãæ "²Ù×÷·±Ëö "µÄ´úÃû´Ê¡£Ò²ÒòΪÖÐСÐÍÆóÒµ ȱ·¦×¨ÒµµÄ IT ÈËÔ±£¬ËùÒÔ¶ÔÓÚϵͳµÄ¿Éά»¤ÐÔ¼°¼ò±ãÐÔÌá³öÁ˸ßÒªÇó¡£ ÖÐСÐÍÆóÒµËæ×Å×Ô HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 99. ITPUB µç×ÓÔÓÖ¾ CRM µÄºËÐÄ¡¢Ó¦ÓÃÖص㼰·Ö²¼ÊµÊ©²½Öè ÉíµÄ·¢Õ¹£¬·×·×Òý½øÁËÐí¶à¹ÜÀíÖƶȣ¬ÀýÈ磺³É±¾¶ÀÁ¢ºËËã¡¢¶à¹«Ë¾¡¢¶àÉú²ú·½Ê½¡¢ ERP ϵͳ¾ÍÌá³öÁ˼«¸ßµÄÒªÇó£¬Ðí¶àÕë¶Ôµ¥Ò»ÐÐÒµÉè¼Æ Éú²ú¡¢¹¤ÉÌÒµ²¢Ðеȡ£ÕâЩ¶Ô ͳ¾ÍÏÔµÃ×½½ó¼ûÖâ¡£ Ä¿Ç°ÔÚ¹úÄÚÖÐСÐÍÈí¼þÕý´¦ÔÚ¹úÄÚÍâÕùÐÛµÄʱÆÚ¡£¹úÄÚµÄÖÐ ´ÓÒÔÓÃÓÑµÄ "M"ϵÁС¢½ðµû "K3"ϵÁÐΪ´ú±íµÄ²úÆ·ÏòÏÂÑÓÉìµ½²©¿Æ¡¢°²Ò×ÄËÖÁÐí¶à½ö½ ÔªµÄMIS ϵͳ²»Ò»¶ø×ã¡£¹úÍâµÄ²úÆ·´Ó "JPOBS"¼¯ÍŵÄÃæÏòÖÐСÐÍÆóÒµµÄ½â¾ö·½ °¸µ½ÒÔ QAD¡¢SYMIX Ϊ´ú±íµÄ TIER2 Èí¼þÄËÖÁΪÖÐСÐÍÆóÒµÉè¼ÆµÄ SCALA¡¢ MARCOLA¡¢ MRP9000 µÈµÈÒ²ÊÇÁÖÁÖ×Ü×Ü¡£ ¹úÄÚµÄÈí¼þÓÉÓÚÆð²½½ÏÍí£¬Ê¹ÓõĴó¶àÊÇеļ¼Êõ£ µãÕýºÃÓë¹úÍâµÄÈí¼þÂÔÓв»Í¬¡£ ËùÒÔ¹úÄÚÈí¼þÓеÄÇ¿µ÷ "£¬ÆĵÃÈËÔ±µÄºÃÆÀ£¬¹úÍâÈí¼þÇ¿µ÷ "¼¼ÊõÏȽøÐÔ IT "³ÉÊìÐÔ¡¢¹¦ ÄÜÐÔ "£¬ÓÖ²©µÃÓ¦ÓÃÈËÔ±µÄÇàíù¡£ ÓÉ´óÐÍÈí¼þÑݱä¶øÀ´µÄÖÐСÐÍϵͳ¿ÉÄܶà¶àÉÙÉÙ´øÓ "´ó¶øÈ« "µÄÒŷ硣һЩСÐÍÆóÒµÎÞÂÛ´Ó×ʽð»¹ÊÇÊÊÓÃÐÔÉÏÈÔÊǺÜÄѽÓÊÜ¡£Ðí¶à ¾ßÓнϺõÄÑÓÕ¹ÐÔ£¬±È½Ï¶à»ñµÃÓû§µÄÊ׿ϡ£µ«ÊÇÊÂÎï×ÜÊǾßÓÐ Á½¸ö·½ÃæµÄ£¬ÖÐÐÍÈí¼þµÄÑÓ Õ¹ÐÔ±¾ÉíÒ²³ÉΪ±»Æµ·±ÌÖÂ۵Ļ°Ìâ¡£¶ÔÓڽϴó¹æÄ£µÄÆóÒµÂÔÏÔ²»×㣬¶ÔÓÚС ¸ÐÅÓ´ó¡£ÖÐСÐÍÈí¼þÓÉÓÚÕë¶ÔÐÔ½ÏÇ¿£¬Ò²Õ¼ÓдóÁ¿µÄÊг¡¡£ÕâЩ²úÆ·¾ßÓв٠ÓõÄÌص㣬ÊÇÒ»ÅúÆóÒµµÄÊ×Ñ¡¡£ ÓÉ´Ë¿´À´£¬ÖÐСÐÍÊг¡Ò²ÊÇÖÚ˵·×ç¡¡¢ÖÚ¿ÚÄѵ÷¡£È ±ÊÕ߹۵㣬Ӧ¸ÃÊÓ¾ßÌåÇé¿ö¿¼ÂÇ¡£Ò»Ð©ÒѾ-·¢Õ¹Ï൱³ÉÊì¡¢Óдó¹æÄ£¾-ӪDZ µãÁ˽â´óÐÍÈí¼þµÄ½â¾ö·½°¸£»Ò»Ð©·¢Õ¹¶àÄê¡¢ÓÐ׏̶¨Ä£Ê½µÄÆóÒµ¿ÉÒÔ²ÉÓà ÈÔÔÚÆ𲽽׶λòÕßÏ£Íûͨ¹ý ERP ¸Ä½ø¹ÜÀíµÄÆóÒµ¿ÉÒÔ´ÓÖÐСÐÍÈí¼þ×ÅÊÖ£¬²»±ØÒ»²½µ Èç¹ûÆóÒµÊÇÒÔÉú²ú¡¢¼Æ»®µÈΪÖص㣬¹úÍâÈí¼þÓÐ×ŶàÄêµÄ¾-Ñ飬Õⲿ·Ö ERP ʵʩµÄÄѵãËùÔÚ£»Èç¹ûÆóÒµÊÇÒÔ½ø¡¢Ïú¡¢´æºÍ²ÆÎñ×ÜÕÊ£¨ MIS£©ÎªÖص㣬ÕâÏà¶Ô¼òµ¥µÄ²¿·Ö ¹úÄÚÈí¼þÒѾ-¾ß±¸ÄÜÁ¦¡£ÌرðÖµµÃÒ»ÌáµÄÊÇ£¬ÔÚ´óÔ¼ 30-50 ÍòÈËÃñ±Ò·¶Î§ÄÚ£¬ÊÇÄ¿Ç°¹úÄÚÍâ Èí¼þ³§ÉÌÕù¶á×ÁÒµÄÁìÓò¡£¾ß±¸ÉÏÊöͶ×ʶî¹æÄ£µÄÆóÒµÒ²ÊÇ¿ÉÑ¡·½°¸×î¶à Èý¼ÒµÄͬʱҲҪ½÷·ÀÌô»¨ÑÛ¡£ÈÔ½¨ÒéÒÔ "¹¦ÄÜÐÔ¡¢ÊµÓÃÐÔ ×ݹ۹úÄÚÖÐСÐÍ "ΪÖص㡣 ER ÊÐ ³¡Ó¦ÊÇÏ൱»îÔ¾µÄ£¬Ôںܳ¤µÄÒ»¶Îʱ¼äÄÚ½«³ÅÆð¹úÄÚ ERP Êг¡µÄ°ë±Ú½-ɽ¡£ÕâÒ²ÊÇΪʲô Öڶ೧ÉÌ·×·×ÍƳöÖÐСÐÍÆó Òµ½â¾ö·½°¸£¬Ðí¶àÖÐСÐÍÈí¼þ³§ÉÌÒ»¸Ä¹ýÈ¥×Ë̬£¬×ÔºÀµÄ ΪÖÐСÐÍÆóÒµÉè¼ÆµÄÔ-Òò¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 100. ITPUB µç×ÓÔÓÖ¾ Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ Kevon zeng ´ÓÊÂracle Applications µÄ¼¼ÊõÖ§³Ö¿ìÒªÒ»Ä꣬ËäÈ» O 11i °æ±¾²¢²»ÏóÈËÃÇÆÚ´ýÄÇÑùÄܹ» ÁíÈËÂúÒ⣬µ«ÊǾ-ÀúÁËÒ»¶Î¹ý¶ÉÆÚ£¬ oracle applications µÄÅóÓÑ´øÀ´ÁË 11.5.4 ×ÜËãÄܸøϲ»¶ Ò»µãÏ£Íû¡£Èý¸öÔÂÇ°ÔÚ¸úͬÊÂÁÄÌìʱ£¬ÎÒÃÇÔÚ¿ªÍæЦ˵ "×Ô´Ó Éý¼¶µ½ £¬ÎÒÃǾÍÏóÉÏÁË 11 11i Ôô´¬£¬ÎÒÃÇûÓлØͷ·£¬ÎÒÃÇÖ»ÄÜÓ²×ÅͷƤ£¬Ò§×ÅÑÀ£¬Ï£ÍûÄÜ¿´µ½´óÑóµÄ "£¬ÏÖÔÚ×ÜËã ÒÀÏ¡¿É¼û´óÑóµÄ±Ë°¶£¬¿´À´ oracle ÕâµÁÔô»¹ÊÇÓеãÁ¼ÐÄ £¬ËäÈ»ÈÃÎÒÃǵÈÁËÌ«¾Ã£¬µ«ÊÇû°Ñ ÎÒÃÇ°ë;¶ªÏÂÒѾ-ÊDz»´í£¨°¢ Q һϣ ©£¬µ«Ô¸ÎÒÃÇÄܹ»Ë³Àûµ½´ï±Ë°¶£¬µ«Ô¸oracle ²»ÒªÊ¹Ï² »¶oracle ²úÆ·µÄ·¢ÉÕÓÑÃÇÔÙ´ÎÉË͸ÁËÐÄ¡£Ò²ÐíÓкöàµÄµ«Ô¸£¬µ«ÕⶼÊÇÓÉÓÚÖÐ ERP »¹ ´¦ÓÚÆ𲽽׶Σ¬ÎÒÃDz»µÃ²»Ïò¹úÍâµÄÀÏ´ó¸çµÍÍ·£¬Ï£ÍûÓ Oracle ,SAP ,Siebel ,PeopleSoft µÈERP ³§¼Ò˵"£¬¸üÏ£ÍûÎÒÃÇµÄ "²» ERP ³§ÉÌÄܹ»ÔÚÊÀ½ç ERP µÄÎę̀ÉÏÓëÕâЩÀÏÅÆµÄ ERP ³§¼ÒÏ࿹ºâ£¬Ò²ÐíÕâÀëÎÒÃÇÓеãÒ£Ô¶£¬µ«Èç¹ûÎÒÃÇ´ó ÆðŬÁ¦°É£¬Ò²Ðí»áÓÐÄÇôһÌìµÄ£¡ ·Ï»°ËµÁËÕâô¶à£¨ ºÇºÇ£¬Ã»°ì·¨£¬×î½ü¾Ãδд¸å£¬·¢µãÀÎɧҲÊÇÓ¦¸ÃÂ𣬹ýÈ¥ Íû¶àдµã·Ï»°£¬¶à׬µã¸å·Ñ£¬ÏÖÔÚ¸ø´ó¼Òд¸å£¬Ã»¸å·Ñ£¬µ«Ò²ÖµµÃ£¬ÒòΪÎÒ Æð³É³¤£ © £¬¸Ã½øÈëÕýÌ⣬²»È»ÓÐÈ˾ÍÒª´òÎÒÀ²£¡ Ê×ÏÈ£¬ÎÒÉùÃ÷ÎÒÊÇÒ»¸ö Oracle Applications ³õѧÕߣ¨Óеã "ðÌìÏÂÖ®´ó²»è¸"°É£© £¬ÏÂÃæ µÄËùÓÐÎÊÌâºÍ½â¾ö·½·¨ÒÔ FAQ ÐÎʽ³öÏÖ£ Ȩ×÷Å×שÒýÓñ£ Ï£ÍûÓиü¶àµÄ ¬ ¬ Oracle Applications ¸ßÊÖ¼ÓÈëÎÒÃǵÄÐÐÁУ¬½éÉÜËûÃǵľ-Ñ飬ÈÃÎÒÃÇÒ»Æð½ø²½¡£ 1. ÔÚoracle applications 11i ÖÐÈçºÎ¿ìËÙ»ñµÃÉÏ´Î Óï¾ä ²éѯµÄ SQL ·½·¨£ºÎÒÃDz»±ØʹÓà À´»ñµÃ£¬ÓÐÒ»¸ö¼òµ¥µÄ°ì·¨£¬¼´£º°ïÖú SQL Trace ->Õï¶Ï ->¼ì²é " ->ÔÚ ¿é"ÖÐÊäÈë"system"£¬ÔÚ "ÊäÈë "×ֶΠ" last_query "£¬È»ºó°ÑÊó±êÒƶ¯µ½ "Öµ "£¬Äã¾Í¿ÉÒÔ¿´µ½Äã ËùÒªµÄ Óï¾ä£¬¼òµ¥°É£¡ SQL 2. ÈçºÎ¸ü¸Ä Applications ÖÐ LOG µÄ´æ·ÅλÖà ·½·¨£ ¨ÒÔ ÎªÀý£©ÔÚ ÖÐĬÈÏ µÄ´æ·ÅλÖÃÊǸ÷¸öÄ£¿éÏ º AIX £ 11i LOG log Ŀ¼£¬ÀýÈçFND Ä£¿é µÄ´æ·ÅĿ¼¾ÍÊÇ log $FND_TOP/log/£¬¿ÉÄÜÓÐЩÓû§Ïëͳһ¹ÜÀílog£¬¿ÉÒÔ²ÉÈ¡ÏÂÃæÕâ ÖÖ·½·¨µÃµ½½â¾ö£º ¸ü applprod Óû§£¨ÓÃÓÚÆô¶¯ ¸Ä FormSever£¬eportServer ºÍ²¢·¢¹ÜÀíÆ÷µÈ£©µÄ R .profile£¬ Ôö¼ÓÁ½ÐУº APPLCSF=/u10/oracle/prodcomn export APPLCSF È»ºóÖØÐÂÒÔ applprod µÇ¼£¬ÖØÐÂÆô¶¯FormSever£¬ReportServer ºÍ²¢·¢¹ÜÀíÆ÷µÈ£¨Ò»°ãÓÐ ¸öshell Îļþ£¬ÀýÈç © start.sh££¬ÖÁÓÚΪʲôÄÜÆð×÷Óã¿Ô-ÒòºÜ¼òµ¥£¬ Applications Ê×ÏȲ鿴 APPLCSF »·¾³±äÁ¿ÊÇ·ñÉèÖã¬Ò»µ©ÉèÖã¬ËùÓÐµÄ log ¾ù´æ·ÅÔÚ$APPLCSF/log£»·ñÔò¾Í´æ ·ÅÔÚ¸÷¸öÄ£¿éµÄ log Ŀ¼ 3. ÈçºÎ¼ì²âµÄÊý¾Ý¿âÊÇ·ñ·ûºÏ 11i CBO£¨Cost Based Optimizer£© ? ·½·¨£º ¶ÔÕû¸ö µÄÐÔÄÜÓ°ÏìºÜ´ó£¬Èç¹ûÄãµÄÊý¾Ý¿â²»Âú×ã CBO 11i CBO µÄÌõ¼þ£¬ÄÇôÏó ¶©µ¥µÄ²éѯ£¬×ÜÕ赀 MRP µÈËٶȾͻáÂýµÃÎÞ·¨ÈÌÊÜ£¬ÄÇôÈçºÎ¼ì²âÄØ£¿ drilldown£¬ 11i Ìá ¹©ÁËÒ»¸ö¼ì²â¹¤¾ß $FND_TOP/sql/AFCHKCBO.sql£¬Èç¹û²»Âú×ãÌõ¼þ£¬»áÒÔ *ÏÔʾ£¬µ«ÊÇ optimizer_max_permutations ×îºÃÉèÖÃΪ optimizer_features_enable Ϊ 2000£¬ 8.1.7£»Èç¹û HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 101. ITPUB µç×ÓÔÓÖ¾ Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ _push_join_predicate ûÓÐÉèÖÃΪ˵Ã÷ÄãµÄϵͳµÄÐÔÄÜ»¹ÓкܴóÌáÉýµÄÓàµØ£Ú true£ ¬ 11.5.3 ¬Ô ÖÐÓÉÓÚ´æÔÚһЩ bugs£ ¬ Õâ¸ö²ÎÊý²»ÄÜÉèÖÃΪ true£ »ËùÒÔ½¨Òé µÄÓû§¾¡¿ìÉý¼¶µ½ 11.5.3 11.5.4 »òÕß1.5.5£¬ÕâÑù¾ÍÄܽâ¾ö 1 OM,GL,MRP µÄÐÔÄÜÎÊÌâ¡£ 4. ÈçºÎÊÕ¼¯Í³¼ÆÊý¾Ý£¿ ·½·¨£ºÔÚ ÖУ¬ÄãÈç¹ûÆôÓÃÁË 11i CBO£¬Äã¾ÍÒª¶¨ÆÚµÄÊÕ¼¯Í³¼ÆÊý¾Ý£¬ÒòΪ CBO ÀûÓÃͳ ¼ÆÊý¾ÝÀ´ÓÅ»¯ SQL Óï¾ä£¬ÄÇôÈçºÎÊÕ¼¯Í³¼ÆÊý¾Ý£¿ÓÐÁ½ÖÖ·½·¨£¬Ò»ÖÖÔÚ 11i ϵͳÖÐÒÔϵͳ ¹ÜÀíÔ±µÄÉí·ÝÌá½»²¢·¢"ͳ¼ÆÊý¾ÝÊÕ¼¯Ä£Ê½ ÇëÇ󣬰üÀ¨ "¡¢ "ËùÓÐÊÕ¼¯ÁеÄͳ¼ÆÊý¾Ý "¡¢"ÊÕ¼¯ÁÐ µÄͳ¼ÆÊý¾Ý "µÈ£¨ÓйØÓ÷¨£¬Çë²Î¼û Oracle Applications System Administrator's Guide£ © £»Áí Ò»ÖÖ·½·¨ÊÇÖ´ÐÐ SQL Óï¾ä£¨Æäʵ²¢·¢ÇëÇóµÄÔ-Àí¸úËüÊÇÒ»Ñù£¬ °ü£¬ Oracle Ìṩ ©fnd_stats £ ÀýÈçxec fnd_stats.gather_schema_statistics('ONT')ÓÃÀ´ÊÕ¼¯ Ä£¿éµÄͳ¼ÆÊý¾Ý£¬ e OM exec fnd_stats.gather_schema_statistics('ALL') Ó Ã À ´ Ê Õ ¼ ¯ Ë ù Ó Ð Ä £ ¿ é µ Ä Í ³ ¼ Æ Ê ý ¾ Ý £ ¨ È ç ¹ û ´ ó ¼ fnd_stats Õâ¸ö°ü¸ÐÐËȤµÄ»° ,¿ÉÒÔÓà pl/sql developer ´ò¿ªÀ´Ñо¿£ ©¡£ÔÚÎÒÃǵÄϵͳÖУ¬ÎÒÒ» °ã²ÉÈ¡¶¨ÆÚÌá½» "ͳ¼ÆÊý¾ÝÊÕ¼¯Ä£Ê½ "¶ÔËùÓеÄÄ£¿éÊÕ¼¯Í³¼ÆÊý¾Ý£¨Ã¿¸ô 12 Сʱ£ ©£¬È»ºóÔÚÌØ ÊâÇé¿öÏ£¬ÊÖ¹¤ÓÅ»¯Ä³¸öÄ£¿é£¨ OM Ä£¿é±È½Ï³£Óã© 5. ÈçºÎÇå³ýһЩÀúÊ·Êý¾Ý£¿ ·½·¨£º Applications 11i µÄÐí¶àÄ£¿é¶¼ÌṩÇå³ýÏà¹ØÀúÊ·Êý¾Ý£¬ÀýÈç fnd Ä£¿éÌṩ "Çå³ý ¹ýʱµÄ¹¤×÷Á÷ÔËÐÐʱÊý¾Ý "µÄ²¢·¢ÇëÇó£¬Äã¿ÉÒÔÇå³ý OM Ä£¿éµÄ¾ÉµÄ¹¤×÷Á÷µÄÀúÊ·Êý¾Ý£¨Ä¿ Ç°ÎÒÃÇϵͳÖÐÿ¸ô Çå³ý£» Ä£¿éÌṩ 3 ¸öÔÂ×Ô¶¯ © fnd £ "»ã×ܺÍÇå³ý²¢·¢ÇëÇóͳ¼Æ "£¬Äã¿ÉÒÔÇå³ý Ìá½»²¢·¢ÇëÇó²úÉúµÄlog£¨Ä¿Ç°ÎÒÃÇϵͳÿ¸ô 7 Ìì×Ô¶¯Çå³ý£© ¡£´ó¼ÒÓÐÐËȤ¿ÉÒÔÈ¥Ñо¿Ò»Ï ÆäËûÄ£¿éµÄÌṩµÄÇå³ýÀúÊ·Êý¾ÝµÄ²¢·¢ÇëÇ󣬱Ͼ¹ÏµÍ³ÓÃÁËÒ»½×¶Î£¬Êý¾ÝÁ Ó²¼þºÍÕû¸öϵͳÐÔÄܶ¼»áÓкܴóµÄÓ°Ï죬×öһЩ±ØÒªµÄÇå³ý¹¤×÷Ò²ÐíÄܽâ¾ö ÄܼõÉÙÕû¸öÓ²¼þµÄͶ×Ê 6. ÈçºÎ±àÒë Forms£¿ ·½·¨£º¾-³£ÎÒÃÇÒªÐÞ¸Ä 11i µÄForms £¬ËùÓÐ Applications Forms µÄÔ´Îļþ¶¼·ÅÔÚ $AU_TOP/forms/ZHS £¨ £ © Ï Â £ ¬ Ä ã ¿ É ÒFTP û Ó» Ø À ´ Ð Þ ¸ Ä £ ¬ Ô FTP ´ « µ ½ US Ô À È¡Ã ÙÀûÓà $AU_TOP/forms/ZHS£¨ US£©Ï¸²¸ÇÔ-Îļþ£¨¼Çס¸²¸ÇÇ°Òª±¸·ÝÔ-ÎļþºÍËüËù¶ÔÓ .fmx Îļþ£ © £¬ÄÇôÈçºÎ±àÒëÐÞ¸ÄÎļþ£¬Äã¿ÉÒÔʹÓÃf60gen À´±àÒ룬ÀýÈ磺 f60gen INVTTMTX.fmb userid=apps/apps output_file=$INV_TOP/forms/ZHS/INVTTMTX.fmx 7. ÈçºÎ»ñµÃij¸ö ÎļþµÄ°æ±¾ºÅ£¿ Forms ·½·¨£ºµ±Äã¸ú×Ù Oracle ¹¤³ÌʦÓÐʱ»á½ÐÄãÌṩij¸ö iTAR ʱ£¬ Forms °æ±¾£¬Äã¿ÉÒÔ²É ÓÃÈçÏ·½·¨»ñµÃ£¨ÒÔ © AIX ΪÀý£º Strings filename|grep Header £ 8. ÈçºÎ×Ô¶¯ ֪ͨ£¨ retry Notification£©£¿ ·½·¨£º×÷ΪApplications ϵͳ¹ÜÀíÔ±£¬¾-³£Òª´¦ÀíһЩÎ޹ؽôÒªµÄ֪ͨ£¬ÎªÁ˽â ÎÊÌ⣬ÎÒÌØÒâÑо¿ÁËÆä retry ¹ý³Ì£¬´ó¼Ò¿ÉÒÔ°ÑÒÔÏ sql Óï¾ä×÷Ϊ²¢·¢³ÌÐò£¬¶¨ÆÚÖ´ÐУ¬Õâ Ñù¾Í²»ÓÃÔÙÈ¥Ò»¸öÒ»¸ö´¦Àí£º REM +=============================================================== ========+ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 102. ITPUB µç×ÓÔÓÖ¾ Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ REM | | REM | FILENAME | REM | WFNR.sql version | REM | | REM | USAGE | REM | sqlplus <appsuser/pwd> @WFNR.sql | REM | | REM | HISTORY | REM | 05/06/2001 kevon zeng Created | REM | 27/06/2001 kevon zeng Modified | | REM +=============================================================== ========+ declare vh_fnames varchar2(255); vh_fvalues varchar2(255); vh_fdocnames varchar2(255); vh_counter varchar2(255); cursor cr_nid is select n.notification_id from WF_NOTIFICATION_ATTRIBUTES NA, WF_MESSAGE_ATTRIBUTES_VL MA, WF_NOTIFICATIONS N where n.status='OPEN' and n.message_type='WFERROR' and NA.NOTIFICATION_ID = N.NOTIFICATION_ID and MA.MESSAGE_NAME = N.MESSAGE_NAME and MA.MESSAGE_TYPE = N.MESSAGE_TYPE and MA.NAME = NA.NAME and MA.SUBTYPE = 'RESPOND'; v_nid wf_notifications.notification_id%type; icount number; begin icount:=0; open cr_nid; loop fetch cr_nid into v_nid; exit when cr_nid%notfound; vh_fnames:='RESULT#LOOKUP#WFERROR_RETRY'; vh_fvalues:='RETRY'; vh_fdocnames:=''; wfa_html_util.SetAttribute(v_nid, vh_fnames, vh_fvalues, vh_fdocnames); wf_engine.preserved_context := FALSE; HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 103. ITPUB µç×ÓÔÓÖ¾ Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ wf_notification.Respond(v_nid, null, 'SYSADMIN'); icount:=icount+1; end loop; fnd_file.put_line(fnd_file.log,'deal with '||icount||' lines'); end; 9. ÈçºÎ´¦Àí´óÁ¿´¦ÓÚ ½×¶ÎµÄ¶©µ¥£¿ Fulfillment ·½·¨£11.5.3 »ò ºÔ Ú 11.5.4 ¶©µ¥¹¤×÷Á÷¾-³£Í£ ÔÚFulfillment ½×¶ Σ¨ÕâËƺõÊÇµÄ oracle bug£¬ ©£ Äã±ØÐëÊÖ¹¤Ò»ÌõÒ»ÌõÈ¥´¦Àí£¬ÓÚÊÇÎÒ¾ÍдÁËÏÂÃæÒ»¶Î SQL Óï¾ä£¬È»ºó×ö³É²¢·¢³ÌÐò£¬¶¨ÆÚ ÔËÐУ¬¾Í½â¾öÁËÊÖ¹¤´¦ÀíµÄÂé·³ rem HEADER rem $Header: wfretryFulfill version 1.0 $ rem INFORMATION rem created by kevon zeng 2001.6.26 rem NAME rem WFRF.sql - WorkFlow Handle Fulfillment Error rem DESCRIPTION rem if fulfillment error happen,retry fulfillment set verify off declare icount number; v_item_key wf_item_activity_statuses_v.item_key%type; cursor crFulfillmentError is select item_key from wf_item_activity_statuses_v where item_type = 'OEOL' and activity_name = 'FULFILL_LINE' and activity_status_code = 'ERROR'; begin icount:=0; fnd_file.put_line(fnd_file.log,'all line_ids to deal with:'); open crFulfillmentError; loop fetch crFulfillmentError into v_item_key; exit when crFulfillmentError%notfound; wf_engine.handleerror(itemtype => 'OEOL',itemkey => v_item_key, activity => 'FULFILL_LINE',command =>'RETRY'); fnd_file.put_line(fnd_file.log,v_item_key || ';'); icount:=icount+1; end loop; fnd_file.put_line(fnd_file.log,'deal with '||icount||' lines'); end; / HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 104. ITPUB µç×ÓÔÓÖ¾ Oracle Applications 11i ¼¼ÊõÖ§³Ö¾-ÑéÔÓ̸ set verify on; commit; 10. ÈçºÎµ÷ÊÔ Applications 11i Öеİü£¿ ·½·¨£ºÎÒÏë´ó¼Ò¶¼ÓÐ×Ô¼ºµÄ¾-Ñ飬ÎÒ¾-³£Ê¹ÓõÄÒ»ÖÖ·½·¨£¬¾ÍÊǽ¨Á¢Ò»¸ temp ÖÐ¼ä ±í£¬È»ºóÍùÕâ¸öÖмä±íдÈëµ÷ÊÔÐÅÏ¢£»ÍùÍù oracle Ò²ÌṩÁ˺ܶàµ÷ÊԵİü£¬ÀýÈç fnd_file µÈ 11£®¼ÛÄ¿±í¶ªÊ§ÁËijЩ item µÄ¼Û¸ñ ·½·¨£ºÔÚÊäÈ붩µ¥ÐÐʱ£¬ÏµÍ³±¨´í˵ item ¼Û¸ñ "´Ë¼ÛÄ¿±í²»°üº¬´Ë "£¬µ«ÔÚ¼ÛÄ¿±íÔö¼Ó ÕâÒ» ʱ£¬ÏµÍ³Óֻᱨ´í˵´Ë¼Ç¼һ´æÔÚ£¨Õâ¿ÉÄÜÊÇÉý¼¶¹ý³Ìµ¼ÖµĴíÎó£ item © £ ÊÇÌá½»"QP£ºÎ¬»¤ ÏÞ¶¨´ÊÖеÄÒì³£Êý¾Ý QP "²¢·¢ÇëÇó¡£ÔÚʹÓà oracle ÌṩµÄ²¢·¢ÇëÇóÖ® Ç°£¬ÎÒÃÇÔø¾-¶Ôlist ½øÐÐÑо¿£¬·¢¾õÊÇ pricing qualification_ind ×Ö¶ÎÔÚ×÷¹Ö£¬ÎÒÃǾÍʹÓÃÁË ÏÂÁÐÓï¾ä½øÐÐÊÖ¹¤¸üРupdate qp_list_lines qll set qll.qualification_ind=4 where list_line_id=? update qp_pricing_attributes set qualification_ind=4 where list_line_id=? ÆäÖУ¿´ú±íËù¶ÔÓ¦µÄ item list_line_id,Äã¿ÉÒÔʹÓÃÏ ÃæÓï¾ä»ñµÃ : SELECT qll.list_header_id ,qll.list_line_id ,qll.qualification_ind ,msi.inventory_item_id FROM qp_list_lines qll, qp_pricing_attributes qpa, mtl_system_items_b msi WHERE qpa.product_attr_value = to_char(msi.inventory_item_id) AND qpa.list_line_id = qll.list_line_id AND qll.list_line_type_code IN ('PLL', 'PBH') AND qpa.pricing_phase_id = 1 --AND qpa.qualification_ind IN (4, 6, 20, 22) AND msi.segment1 = ? ÆäÖУ¿´ú±íµÄ±àºÅ item µ«ÊÇΪʲô qualification_ind ÓÐ 4£¬ null µÈµÄÊý×Ö£¬²é¿´ÁË guide£¬Ö» 3£¬ 6£¬ reference ÊÇ˵ÕâÊǸö¸úÐÔÄÜÏà¹Ø×ֶΣ²»ÖªµÀºǫ́¼Û¸ñÒýÇæÅÜÁËЩ ¬ ʲô£Ï£ÍûÄÄλ´óϺ֪µÀ¸æ֪һϡ£ ¬ £¨Î´Íê´úÐø£© ²»Öª´ó¼Ò¶ÔÕâÑùÎÄÕÂÊÇ·ñ¸ÐÐËȤ£¬Èç¹û´ó¼Ò¸ÐÐËȤµÄ»°£¬ÎÒ½«ÔÚÏÂÒ»ÆÚµ Ðø°ÑÎÒµÄһЩ¾-Ñé·ÖÏí¸ø´ó¼Ò£Ò²Ï£Íû´ó¼ÒÏòÎÒÌṩ¸ü¶àµÄ¾-Ñ飻òÕßÖ±½ÓÏ ¬ ¬ Èç¹û´ó¼ÒµÄ¾-Ñé×ã¹»¶àµÄ»°£¬ÎÒÃǽ«°´ module ½øÐзÖÀ࣬²¢ÒÔ FAQ µÄÐÎʽ·ÅÔÚÎÒÃǵÄÂÛ Ì³ÖС£ ×îºó£¬»¹ÊÇÄǾäÀÏ»°£¬ "ÈÃÎÒÃÇ´ó¼ÒÒ»ÆðŬÁ¦°É£¡ "¡£ HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 105. ITPUB µç×ÓÔÓ Ö¾ ` ÂÛ̳¾«»ª ÂÛ̳¾«»ª Êý¾Ý¿â¹ÜÀíÔ±ÂÛ̳£º Ò»´ÎÊý¾Ý¿âÆð²»À´µÄ¾-Àú£¬¹©²Î¿¼ ΪʲôÎÒµÄ oracle ½ø³ÌʼÖÕÕ¼Óà 90%cpu µÄʱ¼ä ? Oracle ÊÖ¹¤½¨Á¢Êý¾Ý¿âµÄÍêÕû²½Öè תÌù ]ÓÅ»¯µ÷Õû Êý¾Ý¿â Oracle 8i ÈçºÎÈ·¶¨²Ù×÷ϵͳ¶Á»º³åÇøµÄ´óСÄØ£¿ ¸ü¶à Oracle ¿ª·¢£º ? Èý²ãÌåϵ½á¹¹Öвéѯ´¦ÀíµÄÎÊÌâ function ÄÜ·ñ·µ»ØÊý×飿 ÄãÃÇÊÇÈçºÎµ÷ÊÔ´æ´¢¹ý³ÌµÄ£¿£¿ ÔÚÓÅ»¯sql ʱһ°ã×ñÑ-ʲôÔ-Ôò£¿ Develop2K 6.0 ³£¼ûÎÊÌâ½â´ð ¸ü¶à Oracle ÈÏÖ¤£º ͨ¹ý 8iDBA 5 ÃÅ¿¼ÊԵľ-Ñé OCP ,ÈÕ³£ÓÃµÄ ºÜ¾ÃÒÔǰдµÄ¼¸¸ö½Å±¾ Åàѵ : 023 lesson one Åàѵ : 023 Lesson Two Åàѵ : 023 Lesson Three Åàѵ : 023 Lesson Four ¸ü¶à ERP&CRM£º ---ÀúÊ·Ñݱ䣬¹ÜÀíÄں˺Í×îз¢Õ¹ »ù±¾ÀíÂÛ Oracle9iAS Web Cache ¶àÖ־ܾø·þÎñºÍ»º³åÇøÒç³ö©¶´ [ÖÐÁªÂÌÃË·-ÒëÕûÀí ] basic thesis----ʵʩģʽÓë·çÏÕ·À·¶ sap 46+oracle8i+°²×°ÊÖ²á chao ,here a 3 useful website: ¸ü¶à HOME: http://www.itpub.net MAIL: epub@itpub.net
  • 106. ITPUB µç×ÓÔÓÖ¾ ÖÆ×÷ÈËÔ± ÖÆ×÷ÈËÔ± Ö÷±à£º Oldwain ±à¼-£º ITPUB ¸÷°æ¿é°ßÖñ £º chao_ping£¬uo£¬wen£¬arrotao£¬ g o p snowhite2000£¬ coolsword£¬flytiger£¬ jlandzpa£¬iaomiao£¬ x billicon£¬ easyfree£¬yyg£¬kevon_zeng£¬w39£¬ WilliamGui (ÅÅÃû²»·ÖÏȺó ) ÅÅ°æ¡¢ ÖÆ×÷£º PDF ³Õ³ÕµØµÈ ITPUB ¹ÜÀíÍÅ¶Ó 2002-1-1 ´´¿¯ HOME: http://www.itpub.net MAIL: epub@itpub.net