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

oracleÖÐÒ»¸öÊý¾ÝÎļþµÄ×î´óÖµ(·Çlob)

ORACLEµÄÒ»¸öÊý¾ÝÎļþµÄ×î´óÖµÊǶàÉÙÄØ£¿
ÎÒÃÇÖªµÀORACLEµÄ×îСµÄÎïÀíµ¥Î»ÊÇBLOCK£¬Êý¾ÝÎļþµÄ×é³ÉµÄ×îÖÕÐÎʽҲÊÇblock£¬ÄÇôÊý¾ÝÎļþµÄ´óСÏÞÖƾÍÓ¦¸ÃÊÇblockÊýÁ¿µÄÏÞÖÆ£¬ÄÇô¾¿¾¹blockµÄÊýÁ¿ÓкÎÏÞÖÆ£¬ÕâÀï¾ÍÒªÌáµ½Ò»¸öORACLEÄÚ²¿ÊõÓïDBA(´Ëdba·ÇÊý¾Ý¿â¹ÜÀíÔ±£¬¶øÊÇdata block address)
   Extent 0     :  L1 dba:  0x01800009 Data dba:  0x0180000d
   Extent 1     :  L1 dba:  0x01800089 Data dba:  0x0180008b
   Extent 2     :  L1 dba:  0x01800109 Data dba:  0x0180010b
   Extent 3     :  L1 dba:  0x01800189 Data dba:  0x0180018b
   Extent 4     :  L1 dba:  0x01800209 Data dba:  0x0180020b
   Extent 5     :  L1 dba:  0x01800289 Data dba:  0x0180028b
dbaÊÇÒÔ16½øÖƱíʾµÄ(ÒòΪÓÐ0X)£¬×¢Òâ¿´Ò»¹²ÓÃÁË8ΪµÄ16½øÖÆ£¬»»Ëã³É¶þ½øÖƾÍÊÇ32bit£¬¶øÆäÖÐDBAÓÖÓÃ10λÀ´¼Ç¼file_id£¬22bitÀ´¼Ç¼block_id,ÄÇôÔÚÒ»¸öÊý¾ÝÎļþÖÐ×î¶àÄܹ»¼Ç¼2^22¸öblock,Èç¹ûÒ»¸öblock_size=8k,ÄÇôÕâ¸öÊý¾ÝÎļþµÄ×î´óÖµ¾ÍÊÇ8K*2^22,Ò²¾ÍÊÇ32G£¬ËùÒÔÊý¾ÝÎļþµÄ×î´óÖµÓ¦¸ÃÈ¡¾öÓÚ¿é´óС£¬¶øoracle¿é×î´óÖµÊÇ32K£¬Ò²¾ÍÊÇ32G*4=128G¡£
SQL> select power(2,22)*8/1024/1024 from dual;
POWER(2,22)*8/1024/1024
-----------------------
                     32


Ïà¹ØÎĵµ£º

jdbcÁ¬½ÓOracle

      ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
    ½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
    ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
    Ê×ÏÈ£¬Ô ......

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

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

ORACLE control file

ÒÔǰתÔعýһƪ¹ØÓÚ±¸·ÝºÍ»Ö¸´controlfileµÄÎÄÕ£¬µØÖ·ÈçÏÂ
http://blog.csdn.net/wh62592855/archive/2009/11/20/4844506.aspx
¿ØÖÆÎļþµÄÖ÷ÒªÄÚÈÝ
½ñÌìͻȻÔÚÏ룬controlfileÀïµ½µ×°üº¬ÁËÄÄЩÐÅÏ¢£¬²éѯÁ˼¸¸öÏà¹ØµÄÊý¾Ý×ÖµäÊÓͼ£¬ÍøÉÏËÑÁËËÑ£¬ÏÖÔÚС×ܽáÒ»ÏÂ
Êý¾Ý¿âµÄÃû×Ö¡£¸ÃÃûÈ¡×Ô³õʼ»¯²ÎÊý˵Ã÷µÄÊý¾Ý¿âÃû×Ö»òCRE ......

oracle exp/impÃüÁîÏê½â

E:\>exp help=y
ͨ¹ýÊäÈë EXP ÃüÁîºÍÓû§Ãû/¿ÚÁÄú¿ÉÒÔ
ÔÚÓû§ / ¿ÚÁîÖ®ºóµÄÃüÁî:
ʵÀý: EXP SCOTT/TIGER
»òÕߣ¬ÄúÒ²¿ÉÒÔͨ¹ýÊäÈë¸úÓи÷ÖÖ²ÎÊýµÄ EXP ÃüÁîÀ´¿ØÖÆ“µ¼³ö”µÄÔËÐз½Ê½¡£
ÒªÖ¸¶¨²ÎÊý£¬Äú¿ÉÒÔʹÓùؼü×Ö:
¸ñʽ: EXP KEYWORD=value »ò KEYWORD=(value1,value2,...,valueN)
ʵÀý: EXP SCOTT ......

oracle±í·ÖÎöʾÀý

drop table test;
select count(*) from test;
--´´½¨²âÊÔ±í
create table test
(
id number(9),
nick varchar2(30)
);
--²åÈë²âÊÔÊý¾Ý
begin
  for i in 1..100000 loop
        insert into test(id) values(i);
  end loop;
  commit;
end;
select * ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ