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

oracleÌåϵ½á¹¹ÉîÈëѧϰBuffer Cache

oracleÌåϵ½á¹¹ÉîÈëѧϰBuffer Cache - Overview
oracle 2009-09-02 23:13:26 ÔĶÁ40 ÆÀÂÛ0 ×ֺţº´óÖÐС
ÌÎÌÎÉîÈëѧϰoracleÌåϵ½á¹¹
ÎÒ·¢¾õ£¬Ó¢ÎĵÄһЩ¼¼ÊõÎÄÕÂÔÚÃèÊöoracleÔ­Àí·Ç³£µÄÇ¡µ±µ½Î»£¬±í´ïµÄ·Ç³£µÄÃÀ£¬ºÇºÇ¡£Ó¢ÎIJ»ºÃ£¬Ï׳ó·­Ò벢ѧϰÁË£¬ÈÏÕæ¿´ÁË£¬ÏàÐÅÄãÊÜÒæ·Ëdz¡£
oracleÌåϵ½á¹¹Ö®£ºBuffer Cache - Overview
All Oracle data is obtained by users from the buffer cache. The basic purpose of the cache is to minimize physical
disk I/O by holding (buffering) copies of requested data blocks in memory. Data that is buffered in the cache can
be served to users at memory access speed, much faster than going to disk for it. The large performance penalty of
disk I/O makes tuning the buffer cache an extremely important task for the DBA.
Oracle data is stored on disk in identically sized units called blocks. Block size is determined at database creation
 by the DB_BLOCK_SIZE initialization parameter. The buffer cache is also divided into buffers of this same size, and
 each buffer can hold exactly one database block. Thus, the block is the basic unit of data transfer between disk and
  memory in Oracle.
 
 ËùÓеÄoracleÊý¾Ý»ñÈ¡£¬¶¼ÊÇÓû§Í¨¹ý¸ßËÙÊý¾Ý»º´æÈ¡µÃµÄ£¬×î»ù±¾µÄÄ¿µÄ¾ÍÊÇΪÁ˼õÉÙÎïÀí´ÅÅ̵ÄI/O²Ù×÷ͨ¹ý°ÑÇëÇóµÄÊý¾Ý±£´æÔÚÄÚ´æµ±ÖС£
 ±»»º´æÔÚ¸ßËÙ»º³åÇøµÄÊý¾ÝÄܱ»Óû§¿ìËٵĴÓÄÚ´æÖлñÈ¡µ½£¬ÄDZȴӴÅÅÌȥȡµÃÊý¾ÝÒª¿ìºÜ¶à¡£´ÅÅ̵ÄI/OËùÏûºÄµÄ¾Þ´óµÄÐÔÄÜ´ú¼Û£¬ÕâʹµÃµ÷ÓÅ
 Êý¾Ý¿â¸ßËÙ»º´æ³ÉΪdbaÒ»¸ö·Ç³£Ã÷È·µÄÖØÒªÈÎÎñ¡£
 
 oracleÊý¾Ý±»´æ´¢ÔÚ´ÅÅÌÖеÈͬ´óСµÄµ¥ÔªÖУ¬ÕâЩµ¥Ôª±»½Ð×ö¿é£»¿é´óСÔÚÊý¾Ý¿â±»´´½¨Ê±Í¨¹ý³õʼ²ÎÊýdb_block_sizeÀ´¶¨Òå¡£Êý¾Ý¸ßËÙ»º´æ
 Ò²±»»®·Ö³ÉͬÑù´óСµÄ»º´æ¿é¡£²¢ÇÒÿ¸ö»º´æ¿é³ÖÓÐÒ»¸öÊý¾Ý¿â¿é£¬Òò´Ë¿éÊÇ»ù±¾µÄÊý¾Ý´«Ë͵¥ÔªÔÚÊý¾ÝÎļþºÍÄÚ´æÖ®¼ä¡£
 
 oracleÊý¾Ý¿â¸ßËÙ»º´æÖ®Cache Hit Ratio
The buffer cache is a shared resource, accessible by all users. When a user process requests data, Oracle firsts looks
 for that data's block in the cache. If the data is buffered in the cache it is returned to the requ


Ïà¹ØÎĵµ£º

oracle°üºÍREF CURSOR

     Ê×ÏÈ£¬ÐèÒªÖØÐÂÕûÀíÒ»ÏÂÏà¹Ø¸ÅÄoracleÊý¾Ý¿âÖк¯ÊýµÄ×÷Óã¬ÊÇÖ»Äܱ»±ðÈ˵÷Ó㬴洢¹ý³Ì¿ÉÒÔµ¥¶ÀÖ´ÐУ¬²¢ÇÒ¿ÉÒÔµ÷Óô洢¹ý³Ì£¬¶ø°üµÄ×÷Óðü¿ÉÒÔ½«ÈκγöÏÖÔÚ¿éÉùÃ÷µÄÓï¾ä ( ¹ý³Ì , º¯Êý , Óαê , Óαê , ÀàÐÍ , ±äÁ¿ ) ·ÅÓÚ°üÖÐ , Ï൱ÓÚÒ»¸öÈÝÆ÷ . ½«ÉùÃ÷Óï¾ä·ÅÈë°üÖеĺô¦ÊÇ : Óû§¿ÉÒÔ´ÓÆäË ......

ORACLE ÐÐÁÐת»»Í¨Óô洢¹ý³Ì£¬ÒѾ­×ª»»µÄMSSQL°æ±¾

ÏÂÃæÊÇORACLEÐÐÁÐת»»Í¨Óô洢¹ý³Ì£º
1¡¢
Function Fun_Split_Str(p_Str Varchar2, p_Division Varchar2, p_Seq Int)
    Return Varchar2 Is
    v_First Int;
    v_Last  Int;
  Begin
    If p_Seq < 1 Then
   &nbs ......

Oracle ·þÎñ½ø³Ì ¼òµ¥½éÉÜ

Oracle ·þÎñ½ø³Ì-¼òµ¥½éÉÜ
ÒÔOrcale10gµÄ°æ±¾ÎªÀý£¬¼òµ¥½éÉÜÏÂOracleµÄ·þÎñ½ø³Ì£¨Windows°æ±¾£© -ganlan¡£
 
1¡¢OracleCSService
  ½ø³Ì£ºocssd.exe
½éÉÜ£ºCluster Synchronization Services (CSS)—Manages the cluster configuration by controlling which nodes are members of the cluster an ......

java jdbc µ÷Óà oracle´æ´¢¹ý³Ì ·µ»ØÓαê

1.´´½¨²âÊÔ±í
create table users(
userid int primary key,
username varchar2(20),
userpwd  varchar2(20)
);
insert into users values(1,'test','test');
insert into users values(2,'test','test');
insert into users values(3,'test','test');
insert into users values(4,'test','test');
insert i ......

oracleÓÅ»¯1

--ÉèÖÃÃÜÂë·¨¹ýÆÚ
alter profile default limit PASSWORD_LIFE_TIME unlimited;
alter profile default limit FAILED_LOGIN_ATTEMPTS unlimited;
--È¡ÏûÉó¼Æ
alter system set audit_trail='FALSE' scope=spfile;
--¶¨ÒåÁ¬½ÓÊý¾Ý¿âµÄ×î´ó½ø³ÌÊý
alter system set processes=1024 scope=spfile;
--¹Ø±ÕÀ¬»ø»ØÊÕÕ¾
al ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ