Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracle ÓÅ»¯²ßÂÔ(¶þ) »ù±íµÄÑ¡Ôñ

»ù´¡±í(Driving Table)ÊÇÖ¸±»×îÏÈ·ÃÎʵıí(ͨ³£ÒÔÈ«±íɨÃèµÄ·½Ê½±»·ÃÎÊ). ¸ù¾ÝÓÅ»¯Æ÷µÄ²»Í¬, SQLÓï¾äÖлù´¡±íµÄÑ¡ÔñÊDz»Ò»ÑùµÄ.
Èç¹ûÄãʹÓõÄÊÇCBO (COST BASED OPTIMIZER),ÓÅ»¯Æ÷»á¼ì²éSQLÓï¾äÖеÄÿ¸ö±íµÄÎïÀí´óС,Ë÷ÒýµÄ״̬,È»ºóÑ¡Óû¨·Ñ×îµÍµÄÖ´Ðз¾¶.
Èç¹ûÄãÓÃRBO (RULE BASED OPTIMIZER) , ²¢ÇÒËùÓеÄÁ¬½ÓÌõ¼þ¶¼ÓÐË÷Òý¶ÔÓ¦, ÔÚÕâÖÖÇé¿öÏÂ, »ù´¡±í¾ÍÊÇfrom ×Ó¾äÖÐÁÐÔÚ×îºóµÄÄǸö±í.
¾ÙÀý:
SELECT A.NAME , B.MANAGER
from¡¡WORKER A,
LODGING B
WHERE¡¡A.LODGING = B.LODING;
ÓÉÓÚLODGING±íµÄLODINGÁÐÉÏÓÐÒ»¸öË÷Òý, ¶øÇÒWORKER±íÖÐûÓÐÏà±È½ÏµÄË÷Òý, WORKER±í½«±»×÷Ϊ²éѯÖеĻù´¡±í.


Ïà¹ØÎĵµ£º

oracle ±í¿Õ¼ä²Ù×÷

oracle±í¿Õ¼ä²Ù×÷Ïê½â
  1
  2
  3×÷Õߣº   À´Ô´£º    ¸üÐÂÈÕÆÚ£º2006-01-04 
  5
  6 
  7½¨Á¢±í¿Õ¼ä
  8
  9CREATE TABLESPACE data01
 10DATAFILE '/ora ......

oracle¸´Ï°£¨Ò»£© Ö®OracleÌåϵ½á¹¹

      ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬Ô­À´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·­Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
      µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......

ORACLEÖÐËÑË÷×ÖĸÊý×Ö»ìºÏµÄ×Ö·û´®

SQL> with tt as
  2  (
  3  select 'haha' string from dual union
  4  select '123' from dual union
  5  select 'haha12' from dual union
  6  select 'haha[]' from dual union
  7  select '12@@' from dual union
  8  select ......

OracleµÄÄÚ´æ¹ÜÀí

oracleÊý¾Ý¿âʵÀýÆô¶¯Ê±£¬ÐèÒª·ÖÅä¹²ÏíÄڴ棬Æô¶¯ºǫ́½ø³Ì¡£
oracleÊý¾Ý¿âʹÓõÄÄÚ´æÖ÷ÒªÉæ¼°µ½£ºPGAºÍSGA¡£
Ò»¡¢ PGA
Program Global Area£¬¹ËÃû˼ÒåÊdzÌÐòÈ«¾ÖÇø£¬ÊÇ·þÎñÆ÷½ø³Ì£¨Server Process£©Ê¹ÓõÄÒ»¿é°üº¬Êý¾ÝºÍ¿ØÖÆÐÅÏ¢µÄÄÚ´æÇøÓò£¬PGAÊǷǹ²ÏíµÄÄڴ棬ÔÚ·þÎñÆ÷½ø³ÌÆô¶¯»ò´´½¨Ê±·ÖÅ䣬²¢ÎªServer ProcessÅÅËû·Ã ......

Oracle ÓÅ»¯²ßÂÔ(Ò») Ë÷Òýƪ

2009Äê12ÔÂ15ÈÕ5:25:47
  
   Äã²»µÃ²»³ÐÈÏË÷ÒýµÄÇÉÃî×÷ÓÃ,ÓÉÓÚÓбíµÄÖ÷¼üΨһ±êʶ,ʹµÃÎÒÃÇÔÚ¼ìË÷±íÖÐÊý¾Ýʱ,ËÙ¶ÈÉÏ´øÀ´µÄÌáÉý,ÊÇÏÔ¶øÒ×¼ûµÄ.±ÈÆðÎÒÃÇûÓÐË÷ÒýÏàͬÁ¿µÄ±í,´øÓÐË÷ÒýµÄ±íÃ÷ÏÔÓÐËÙ¶ÈÉϵÄÌáÉý.[¶ÁÕß¿ÉÒÔµ¼ÈëÒ»ÕÅ300~400ÍòµÄÊý¾Ý¼ì²âÒ»ÏÂ.]
Ë÷ÒýÊDZíµÄÒ»¸ö¸ÅÄ·Ö,ÓÃÀ´Ìá¸ß¼ìË÷Êý¾ÝµÄÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ