OracleÓû§±í¿Õ¼ä±¦µä
Oracle»¹ÊDZȽϳ£Óõģ¬ÓÚÊÇÎÒÑо¿ÁËÒ»ÏÂOracleÓû§±í¿Õ¼ä£¬ÔÚÕâÀïÄóöÀ´ºÍ´ó¼Ò·ÖÏíһϣ¬Ï£Íû¶Ô´ó¼ÒÓÐÓá£ÔÚÎÒÃÇΪ΢ÈíµÄNTFS·ÖÇø¸ñʽÖеÄÓû§´ÅÅÌÅä¶î¹ÄÕƵÄʱºò£¬OracleÊý¾Ý¿âÖÐÒ²ÒѾʵÏÖÁËÓû§´ÅÅÌÅä¶îµÄ¼¼Êõ¡£¿ÉÒÔ½èÖú±í¿Õ¼ä£¬À´¶ÔÓû§½øÐдÅÅÌÅä¶î¹ÜÀí¡£ÀûÓñí¿Õ¼äµÄÓû§´ÅÅÌÅä¶î£¬¿ÉÒÔʵÏֺܶ๦ÄÜ¡£
Èç¿ÉÒÔÀûÓÃÓû§´ÅÅÌÅä¶î£¬À´¹ÜÀíÓû§´´½¨Êý¾Ý¿â¶ÔÏóµÄÄÜÁ¦¡£ÎÒÃǶ¼ÖªµÀ£¬ÈôÓû§ÏëÒªÔÚij¸ö±í¿Õ¼äÖд´½¨·½°¸¶ÔÏóµÄ»°£¬±ØÐëͬʱÂú×ãÁ½¸ö¶ÔÏó¡£Ò»ÊÇÓû§¾ßÓÐÊý¾Ý¿âϵͳÖÐCREATE TABLEµÈÏà¹ØµÄȨÏÞ;¶þÊÇÔÚÕâ¸ö·½°¸¶ÔÏóʹÓõıí¿Õ¼äÖоßÓÐÅä¶î¡£ÒòΪÕâÁ½¸öÌõ¼þ±ØÐëͬʱÂú×㣬Óû§²ÅÄܹ»³É¹¦µÄ½¨Á¢¶ÔÏó¡£ËùÒÔ£¬ÈôÎÒÃÇ¿ÉÒÔ²»¸øÓû§Ä³¸ö±í¿Õ¼äµÄÅä¶î£¬Èç´ËµÄ»°£¬¾Í¿ÉÒÔÏÞÖÆÓû§µÄÏà¹Ø²Ù×÷¡£
ÁíÍ⣬ÎÒÃÇÒ²¿ÉÒÔÀûÓôÅÅÌÅä¶îÀ´¶ÔÓû§½øÐÐÊý¾Ý´óСµÄÏÞÖÆ¡£ÒòΪÓÐʱºòÎÒÃÇ¿ÉÄÜÔÚͬһ̨Êý¾ÝÆ÷ÖØ»áÔËÐжà¸öÓ¦Ó÷þÎñ¡£Èç±ÊÕßÒÔÇ°ÔÚͬһ̨·þÎñÆ÷ÀïͬʱÔËÐÐÓÊÏäÓëOracleÊý¾Ý¿âϵͳ¡£ÎªÁËÈüõÉÙÕâ¸öÁ½¸öϵͳ¶ÔÓ²ÅÌ¿Õ¼äµÄ¹ý¶ÉÓ¦Óã¬ËùÒÔ£¬ÓбØÒª¶ÔËûÃǽøÐдÅÅÌÅä¶îµÄÏÞ¶¨¡£¹Ê£¬ÈçÓÃÊý¾Ý¿â¹ÜÀíÔ±ÐèÒª½«×ÊÔ´ÏÞÖÆ×÷Ϊ×Ô¼ºÊý¾Ý¿â°²È«²ßÂÔµÄÒ»²¿·ÖµÄ»°£¬¾Í¿ÉÒÔ¿¼ÂÇΪÿ¸öÓû§ÉèÖñí¿Õ¼äÅä¶î¡£
×ÜÖ®£¬±ÊÕßÈÏΪ£¬±í¿Õ¼äÅä¶îÊÇÒ»¸öºÜ²»´íµÄ¸¨Öú¹ÜÀí¹¤¾ß¡£±ÊÕßÔÚÕâ·½Ãæ¹ÜÀíÉÏ£¬ÉÔÓÐÐĵ㬸úÓÐʶ֮ʿ£¬ÌÖÂÛÌÖÂÛ¡£
Ò»¡¢¸øÓû§·ÖÅä±í¿Õ¼ä¡£
ÔÚOracleÊý¾Ý¿âÖУ¬¶ÔÓÚÓû§µÄ´ÅÅÌÅä¶îÊÇͨ¹ý±í¿Õ¼äÀ´ÊµÏֵġ£¸øij¸öÓû§·ÖÅäÁ˶àÉٵıí¿Õ¼ä£¬Õâ¸öÓû§¾ÍÓжàÉٵĴÅÅÌÅä¶î¡£ËùÒÔ£¬¶ÔÓÚÓû§½øÐдÅÅÌÅä¶îµÄ¹ÜÀí£¬¾ÍÊǶÔÓû§½øÐбí¿Õ¼äµÄÏÞÖÆ¡£
ÔÚ´´½¨Óû§µÄʱºò£¬ÈôûÓйØÁª±í¿Õ¼ä£¬ÔòÆäÒ»°ãÇé¿öÏ£¬¾ÍÊôÓÚĬÈϵıí¿Õ¼ä¡£¶øÆäÓµÓбí¿Õ¼äµÄ´óС£¬ÔòÊǸù¾ÝÆäËùÊô½ÇÉ«µÄ²»Í¬¶øÓÐËùÇø±ð¡£ÈçÆäÊôÓÚresource×éµÄ»°£¬ÔòÆä±í¿Õ¼äÊÇûÓдóСÏÞÖƵġ£
Ò»°ãÇé¿öÏ£¬ÈôÊý¾Ý¿â¹ÜÀíÔ±ÐèÒª¶Ô±í¿Õ¼ä½øÐдÅÅÌÅä¶î¹ÜÀíµÄ»°£¬Ôò±ÊÕß½¨Ò飬ÔÚÓû§½¨Á¢µÄʱºò£¬ÎªÓû§Ö¸¶¨±í¿Õ¼ä£¬²¢ÉèÖñí¿Õ¼äµÄ´óС¡£ÈçÎÒÃÇ¿ÉÒÔÀûÓÃÈçÏÂÕâÌõÃüÁîÅäÖÃÓû§µÄ´ÅÅÌ¿Õ¼äÅä¶î£ºALTER USER user_name QUOTA ** ON tablespace¡£ÆäÖвÎÊýUser_name±íʾÓû§Ãû£¬¶ø²ÎÊýTablespace±íʾÓû§ËùÊôµÄ±í¿Õ¼ä¡£ÈôÎÒÃDzÎÊýÉèÖÃΪUNLIMITEDµÄ»°£¬±íʾÕâ¸öOracleÓû§±í¿Õ¼äûÓÐÏÞÖÆ£¬Ö±µ½ËùÓеĿռäÓÃÍêΪֹ¡£
ËùÒÔ£¬ÔÚÒ»°ãÇé¿öÏ£¬Á½ÖÖÇéÐÎϵÄÓû§¾ßÓÐÎÞÏÞÖƵĴÅÅÌÅä¶î¡£Ò»ÊÇÕâ¸öÓû§ÊôÓÚresourceÕâ¸ö½ÇÉ«£¬ÒòΪÕâ¸ö½ÇɫĬÈÏÇé¿öÏ£¬ÆäÊÇ
Ïà¹ØÎĵµ£º
ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
Ê×ÏÈ£¬Ô ......
ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬ÔÀ´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......
1. ͨ¹ýv$session£¬v$locked_object²é¿´ËËø¶¨ÁË×ÊÔ´
select t1.sid, t1.serial#, t1.username, t1.logon_time
from v$session t1 , v$locked_object t2
where t1.sid = t2.session_id
order by t1.logon_time
......
ORACLEÊý¾Ý¿âÄÚ´æ²ÎÊýÉè´óÓÚ8GµÄÄÚ´æÆô¶¯³ö´íÎÊÌâ½â¾ö
4¸öINTEL 1.6g 4ºËCPU£¬16G Äڴ棬°²×°ÍêORACLE 10G FOR RED HAT LINUX£64UPDATA4X86-64 ×¼±¸µ¼Êý¾Ý½øÈ¥£¬Ë³ÊÖÐÞ¸ÄÁ˼¸¸ö²ÎÊý¡£
alter system set sga_max_size=11g scope=spfile;
alter system set sga_target=11g scope=spfile ......
ÔÚORACLE8Öж¨ÒåÁË£º±êÁ¿(Scalar)¡¢¸´ºÏ(COMPOSITE)¡¢ÒýÓÃ(REFERENCE)ºÍLOBËÄÖÖÊý¾ÝÀàÐÍ¡£
£¨Ò»£©±êÁ¿(Scalar)
±êÁ¿ÀàÐÍÓëÊý¾Ý¿âµÄÁÐËùʹÓõÄÀàÐÍÏàͬ£¬´ËÍâËü»¹ÓÐһЩÀ©Õ¹¡£
ËüÓÖ·ÖΪÆ߸ö×飺Êý×Ö¡¢×Ö·û¡¢ÐС¢ÈÕÆÚ¡¢Ðбêʶ¡¢²¼¶ûºÍ¿ÉÐÅ¡£
¢ÙÊý×Ö
¡¡
ÓÐÈ ......