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

Éî¶È¶Ô±ÈOracleÓëSQL Server——µÚ¶þ²¿·Ö

Êý¾Ý¿âʵÀý½á¹¹ ÊÂÎñÒ»ÖÂÐÔ(Transactional Consistency)ºÍ»ùÓÚʱ¼äµãµÄ»Ö¸´(Point-in-time Recovery) ϵͳԪÊý¾Ý
topÊý¾Ý¿âʵÀý½á¹¹
µ±OracleʵÀýÆô¶¯Ö®ºó£¬Ëù¿´µ½µÄ¾ÍÊÇÔÚ·þÎñÆ÷ÄÚ´æÉϵÄÒ»¸ö¸ö²»Í¬ÄÚ´æ¿é¼ÓÉϲúÉúµÄÓëÕâЩÄÚ´æ½»»¥µÄºǫ́½ø³Ì¡£OracleÎĵµ½«ÕâЩÄÚ´æ½á¹¹ºÍ½ø³ÌÊյĺÜÏêϸ¡£
ÓÉOracleʵÀýËùÕ¼ÓõÄÄÚ´æ¿é³ÉΪSGA£¨System Global Area£©£¬ËüµÄ´óС¿ÉÒÔͨ¹ýµ÷ÕûOracle³õʼ»¯²ÎÊý£¨initialisation parameter£©½øÐÐÐ޸ģ¬ÔÚSGAÀï±ßÖÁÉٻᴴ½¨3¸ö²»Í¬µÄÇøÓò£¬ËüÃÇ·Ö±ðÊÇ£º
Êý¾Ý¿é»º´æÇø£¨Database Buffer Cache£©ÕâÀﻺ´æµÄÊÇÊý¾Ý¿é¡£ºÍSQL ServerÒ»Ñù£¬Óû§²»»áÖ±½ÓµÄ·ÃÎÊÊý¾ÝÎļþÉϵÄÊý¾Ý£ºµ±¶ÁÈ¡Êý¾Ýʱ£¬Ïà¹ØµÄÊý¾Ý¿é»á´ÓÊý¾ÝÎļþÖп½±´µ½ÄÚ´æÖУ»ÐÞ¸ÄÊý¾ÝʱҲÊÇÐÞ¸ÄÄÚ´æÖеÄÊý¾Ý£¬È»ºóÔÙÓɵ¥¶ÀµÄ½ø³Ì½«Êý¾Ý»º´æÇøÖб»Ð޸ĵÄÊý¾ÝдÈëµ½Êý¾Ý¿âÖС£ÖØ×öÈÕÖ¾»º´æ£¨Redo Log Buffer£©SGAÖеÄÕâ¸öÇøÓòÁ¬ÐøµÄ¼Ç¼×ÅÊý¾Ý»º´æÇøÊý¾ÝÐ޸ĵļǼ£¬ÖØ×öÈÕÖ¾»º´æÖеÄÄÚÈݻᱻдÈëµ½ÔÚÏßÈÕÖ¾ÎļþÖÐÈ¥¡£¹²Ïí³Ø(Shared Pool£©SGAÖÐÓÐÒ»´ó¿éµÄÄÚ´æÓÃ×÷¹²Ïí³Ø£¬¹²Ïí³ØµÈ¼ÛÓÚSQL ServerÖеÄÖ´Ðлº´æ£¨Procedure Cache£©¡£ËüµÄÖ÷Òª×÷ÓþÍÊÇ»º´æÊý¾Ý¿âÖÐ×î½üÖ´ÐйýµÄSQLÓï¾ä¡£¹²Ïí³ØÓÉÏÂÃæµÄÄ£¿é×é³É£º  Êý¾Ý×ֵ仺´æ£¨Dictionary Cache£©Êý¾Ý×ֵ仺´æ»º´æÁËOracle×î½üʹÓõÄÊý¾Ý×ÖµäÐÅÏ¢¡£¿â»º´æ£¨Library Cache£©Õâ¸öÇøÓò°üº¬ÁË×î½üÖ´ÐеÄSQLºÍPL/SQLÓï¾äºÍ¶ÔÓ¦µÄÖ´Ðмƻ®¡£SQLÇø»¹ÄܽøÒ»²½·Ö³É¹²ÏíÇøºÍ˽ÓÐÇø£º¹²ÏíSQLÇø±£´æµÄÓï¾ä¿ÉÒÔÓɶà¸öÓû§Ê¹Óöø˽ÓÐÇø±£´æµÄÔòÊǸú¸÷¸öÁ¬½Ó¶ÔÓ¦µÄ°ó¶¨±äÁ¿µÄÐÅÏ¢¡£PL/SQLÊÇOracle¶ÔÓÚÐÐÒµ±ê×¼SQLµÄ³ÌÐòÀ©Õ¹£¬µ±PL/SQL³ÌÐòÖ´ÐÐʱ£¬ËüµÄ´úÂë»á¿½±´µ½¿â»º´æÖеĹ²ÏíPL/SQLÇøÖС£³ýÁË»º´æÖ´ÐдúÂëºÍÖ´Ðмƻ®Í⣬¿â»º´æ»¹°üº¬Ëø¡¢·§ÒÔ¼°×Ö·û¼¯µÈÐÅÏ¢¡£
¸ù¾ÝÄãËùʹÓõÄ×é¼þµÄ²»Ò»Ñù£¬OracleµÄSGAÖÐÒ²¿ÉÄÜ´æÔÚÆäËüһЩ¿ÉÑ¡µÄÄÚ´æÇøÓò¡£ÔÚOracleÖÐʹÓÃJavaÓ¦ÓÃʱҪʹÓõ½Java³Ø£¨Java Pool£©£¬OracleÄÚÖõı¸·Ý»Ö¸´¹¤¾ßRMAN£¨Recovery Manager£©ÒªÓõ½´ó³Ø£¨Large Pool£©£¬µ±Ê¹ÓÃOracle¸ß¼¶¶ÓÁлúÖÆʱҪÓõ½Á÷³Ø£¨Steams Pool£©¡£
ÉÏÃæ½éÉܵĸ÷¸öÄÚ´æÇøÓò¶¼ÊÇÊôÓÚSGAµÄÒ»²¿·Ö£¬ËüÃÇÊÇͨ¹ýÒ»ÐòÁеĽø³Ì£¨process£©À´ºÍÊý¾Ý¿â½øÐн»»¥¡£ÏÂÃæ¾Í¿ªÊ¼½éÉÜ°üÀ¨Óû§½ø³ÌºÍ·þÎñÆ÷½ø³ÌÔÚÄÚµÄOracle½ø³ÌÁË¡£
µ±Óû§»òÕßÊÇÓ¦ÓÃÁ¬½Óµ½OracleÊý¾Ý¿âʱ¾Í»á²úÉúÒ»¸öÓû§½ø³Ì£¨user process£©¡£ÔÚÒ»¸öÁ½²ãµÄϵͳ¼Ü¹¹ÖУ¬Óû§


Ïà¹ØÎĵµ£º

PHP ÖÐʹÓÃoracle »·¾³ÅäÖÃ

http://www.oracle.com/technology/global/cn/pub/notes/technote_php_instant.html
Ϊ Linux ºÍ Windows °²×° PHP ºÍ Oracle 10g Instant Client
×÷ÕߣºChristopher Jones£¬¼×¹ÇÎĹ«Ë¾µÄ×Éѯ¼¼ÊõÈËÔ±
·¢²¼ÈÕÆÚ£º2004 Äê 12 ÔÂ
Oracle 10g Instant Client£¨Ãâ·ÑÏÂÔØ£©ÊÇPHP ÓëÔ¶³Ì Oracle Êý¾Ý¿âÁ¬½ÓµÄ×î¼òµ¥·½Ê½£¬Ëü ......

ÈçºÎÔÚPHPÖÐʹÓÃOracleÊý¾Ý¿â

http://www.builder.com.cn/2007/1027/583048.shtml
ÔÚphp3.0ÒÔÉÏ°æ±¾ÖУ¬phpÄÚÖÃÁ˼¸ºõÄ¿Ç°ËùÓеÄÊý¾Ý¿â´¦Àíº¯Êý£¬°üÀ¨Oracle;ÔÚ±¾ÎÄÖÐÎÒÃÇͨ¹ýÒ»¸öʵÀýÀ´½éÉÜÁËÈçºÎʹÓÃÕâЩº¯ÊýÀ´²Ù×÷OracleÊý¾Ý¿â¡£
PHPÌṩÁË2´óÀàAPI(Ó¦ÓóÌÐò½Ó¿Ú)À´²Ù×÷OracleÊý¾Ý¿â¡£Ò»¸öÊDZê×¼µÄOracle´¦Àíº¯Êý(ORA) ÁíÒ»¸öÊÇOracle 8µ÷Óýӿں¯ ......

ORACLEÌåϵ½á¹¹ ORACLE½ø³Ì¼ò½é

ÔÚORACLEʵÀýÆô¶¯Ê±³ýÁË·ÖÅäÒ»¿éºÜ´óÇøÓòµÄÄÚ´æÍ⣬»¹»áÆô¶¯Ò»ÏµÁеĽø³Ì¡£OracleÖеĽø³ÌÓÐÄÄЩÌص㣿
ORACLE½ø³Ì¿ÉÒÔ·ÖΪÓû§½ø³Ì¡¢·þÎñÆ÷½ø³Ì¡¢ºǫ́½ø³Ì¡£
Óû§½ø³Ì£ºÓû§Á¬½ÓÊý¾Ý¿âʱ»á´´½¨Ò»¸öÓû§½ø³Ì£¬¸Ã½ø³ÌÓÃÓںͷþÎñÆ÷½øÐлỰ£¬ÏòÊý¾Ý¿â·þÎñÆ÷·¢ÉúÇëÇ󣬽ÓÊÕÊý¾Ý¿âµÄÏìÓ¦¡£
·þÎñÆ÷½ø³Ì£ºÓÉORACLEÊý¾Ý¿â·þÎñÆ÷ ......

oracle´´½¨±í¿Õ¼ä¡¢Óû§¡¢ÊÚȨ


//´´½¨Êý¾Ý±í¿Õ¼ä
create tablespace zfmi logging datafile 'D:\oracle\oradata\zfmi\zfmi.dbf' size 100m autoextend on next 32m maxsize 2048m extent management local;
//´´½¨Óû§²¢Ö¸¶¨±í¿Õ¼ä
create user zfmi identified by zfmi default tablespace zfmi temporary tablespace zfmi_temp;
//¸øÓû§ÊÚÓèÈ¨Ï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ