ORACLEÊý¾Ý¿âÄÚ´æ²ÎÊýÉè´óÓÚ8GµÄÄÚ´æÆô¶¯³ö´íÎÊÌâ½â¾ö
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;
ËÖªÆô¶¯±¨´í
startup
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
ÉÏÍø²éÁËһϣ¬Ã»Óв鵽£¬¹À¼ÆºÍlinuxµÄÄں˲ÎÊýÉèÖÃÓйØ
¼ì²éLINUXµÄÄں˲ÎÊýÉèÖÃ
kernel.shmall = 2097152
kernel.semmsl= 250
kernel.semmns=32000
kernel.shmmax = 8589934592
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
»³ÒÉ
kernel.shmmax = 8589934592ÉèµÃ²»¹»´ó
½«
kernel.shmmax =17179869184
ÖØÆôºóÈÔÈ»³ö´í
ÉÏÍøÕÒµ½Ò»ÆªÎÄÕÂ˵µ½ORA-27102: out of memory
ºÍkernel.semµÄÄÚ´æ¶ÎÉèÖôóСÓйأ¬½«
kernel.sem = 500 64000 100 128
ÖØÆôºóÈÔÈ»³ö´í
ÉÏÍøÁËÒ»ÏÂLINUXµÄ²ÎÊýµÄÒâÒ壬·¢ÏÖkernel.shmallÊÇ¿ÉÓù²ÏíÄÚ´æ¶Î£¬ÏÂÃæÕâ¶ùÓÐÏêϸ˵Ã÷
http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/admin_user/kernel-resources.html
kernel.shmall = 2097152 LINUXÒ»¸öÒ³ÃæÊÇ4K ¾ÍÊÇ 2097152*4k/1024/1024 = 8G £¬Ã÷ÏÔ̫С
ËãÁËÒ»ÏÂ16G=4194304
½«kernel.shmall = 4194304
½«Õâ¸ö²ÎÊý¸Ä¹ýÀ´£¬ÖØÆôºó£¬ÔÙÆô¶¯Êý¾Ý¿â¾ÍûÓÐÎÊÌâÁË
Ïà¹ØÎĵµ£º
ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
Ê×ÏÈ£¬Ô ......
1.oracleÉèÖò»Í¬È¨ÏÞµÄÓû§È¥·ÃÎÊͬһ±í¿Õ¼ä
1.create user testa identified by testa;
2.alter user testa default tablespace users temporary tablespace temp;
3.grant connect to testa;
4.grant select any table to testa;
2.ORACLEÖÐÉèÖÃͬһ¸öÓû§¶ÔÁ½¸ö±í¿Õ¼äµÄȨÏ޵ĴúÂë
alter user Óû§ quota unlimi ......
High Water Mask£¨×î¸ßˮλÏߣ¬ºÇºÇ£©ÒÔϼò³ÆHWM
deleteÃüÁî²»Ó°Ïì±í×ÔÉíµÄHWM£¬¼´±íÖеÄÇø¿é»áËæ×ÅÊý¾ÝÁ¿µÄÔö´ó¶øÔö´ó£¬µ«É¾³ýÊý¾Ýʱ£¬
Çø¿é²¢²»»á¼õÉÙ£¬µ±²éѯʱ£¬»á°´ÕÕHWMµÄ±ê׼ȥɨÃè±í£¬¼´Ê¹Ê¹ÓÃdelete½«±íÊý¾ÝÇå¿Õ£¬²éѯʱ£¬
ÒÀ¾É»áɨÃèHWMµÄÇø¿é£¬²éѯËÙ¶ÈÒ²¾ÍºÍûʹÓÃdeleteÃüÁî֮ǰÊÇÒ»ÑùµÄ£¬¶øtruncate¿ÉÒÔ½ ......
²»ÊÇORACLEµÄÎÊÌâ
2009-12-30 15:00
  ......
¿ØÖÆÎļþºÍREDOLOGͬʱË𻵵ÄORACLEÊý¾Ý¿â»Ö¸´Ò»Àý
Ò»¸ö¿Í»§´òµç»°¸øÎÒ£¬ËµËûÃÇÒ»¸ö²âÊÔÊý¾Ý¿âÆð²»À´ÁË£¬ÈÃÎÒ¹ýÈ¥¿´¿´£¬
µ½¿Í»§ÏÖ³¡·¢ÏÖÊý¾Ý¿âÒѾDOWNÁË£¬ÊÔ×ÅÆô¶¯Ò»ÏÂ
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Oct 7 10:33:29 2008
Copyright (c) 1982, 2006, Oracle. All Rig ......