Oracle²¢·¢Á¬½ÓÊýµÄÉèÖÃ
²»ÄÜÁ¬½ÓOracleÊý¾Ý¿âÁË,ÌáʾÏà¹ØµÄ´íÎó
OERR: ORA-12519 TNS:no appropriate service handler found
¿Í»§¶ËÁ¬½Ó¼äЪÐÔʧ°Ü£¬±¨´íORA-12519
Cause: the listener could not find any available service handlers that are
appropriate for the client connection.
Action: run "lsnrctl services" to ensure that the instance(s) have registered
with the listener, and are accepting connections. ¼ì²élsnrctl service £¬instanceÒѾע²á£¬
״̬ÏÔʾreadyʱ£¬¿ÉÒÔÁ¬½Ó¡£
When the listener believes the current number of connections has reached maximum load,
it may set the state of the service handler for an instance to "blocked" and begin refusing
incoming client connections with either of the following errors: ora-12519 or ora-12516
²ÉÓ÷þÎñ¶¯Ì¬×¢²áµÄ·½Ê½£¬ÓÉPMON ͨ¹ýSERVICE_UPDATE À´µÃµ½Ä¿Ç°Á¬½ÓÇé¿ö£¬µ«SERVICE_UPDATE ÓÐʱ¼ä¼ä¸ô£¬
ËùÒÔ£¬listenerÏÔʾµÄÁ¬½ÓÊýºÍµ±Ç°Êµ¼ÊµÄÁ¬½ÓÊý¿ÉÄܲ»Í¬¡£
²éѯ½â¾ö·½·¨:
²é¿´Ò»ÏÂÊý¾Ý¿âÏÖÓеĽø³ÌÊý£¬ÊÇ·ñÒѾ´ïµ½²ÎÊýprocessesµÄ´óС¡£
1.select count(*) from v$process; È¡µÃÊý¾Ý¿âĿǰµÄ½ø³ÌÊý¡£
2.select value from v$parameter where name = 'processes'; È¡µÃ½ø³ÌÊýµÄÉÏÏÞ¡£
3.ÈçÒÑ´ïµ½ÉÏÏÞ£¬ÐÞ¸ÄinitSID.oraÖеÄprocessesµÄ´óС¡£
4.ÖØÐÂÆô¶¯Êý¾Ý¿âµ½nomount״̬Ï£¬Ö´ÐÐcreate spfile from pfile; ²¢startup open¡£
²éѯÊý¾Ý¿â×ÔÆô¶¯ÒÔÀ´×î´óµÄ²¢·¢ÊýÁ¿
ÐÞ¸Ä×î´óÁ¬½ÓÊý:
alter system set processes = 300 scope = spfile;
ÖØÆôÊý¾Ý¿â:
shutdown immediate;
startup;
--²é¿´
Ïà¹ØÎĵµ£º
ËäȻѧϰJavaºÜ¾ÃÁË£¬×Ô¼ºÒ²Á¬½Ó¹ýһЩÊý¾Ý¿â£¬±ÈÈçmysqlÖ®ÀàµÄ£¬Èç½ñÄØ£¬Ò²Ñ§Ï°ÁËÒ»¶Îʱ¼äµÄOracle£¬È»¶øÄØ£¬½ñÌìÊÇÎÒµÚÒ»´ÎÁ¬½ÓOracle£¬ºÙºÙ£¬Ó¦¸Ã»¹²»ËãÌ«³Ù°É¡£
½ñÌìÄØ£¬Óе㱿׾£¬´ó¼ÒĪЦ£¡
ÎÒÕâÊÇÒ»¸ö²éѯÀý×Ó
Ê×ÏÈ£¬Ô ......
ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬ÔÀ´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......
°²×°oralce10g R1(10.1)²½Öè·½·¨£º
µÚÒ»²¿·Ö£º
Ò». Ó²¼þ»·¾³£º
1. RAM£ºÖÁÉÙ512M
2. ½»»»·ÖÇø´óСÖÁÉÙ1G£¨»òÕßÊÇÄÚÔÚµÄ2±¶£©
3./tmpĿ¼ ÖÁÉÙÓÐ400M¿ÕÏпռä
4. oracleÈí¼þ°²×°¿Õ¼äÖÁÉÙÔÚ1.5G--3GÖ®¼ä£¨ÒÀ¾Ý°²×°oracleÀàÐͶø¶¨£©
&nbs ......
OracleµÄsql*plusÊÇÓëoracle½øÐн»»¥µÄ¿Í»§¶Ë¹¤¾ß¡£ÔÚsql*plusÖУ¬¿ÉÒÔÔËÐÐsql*plusÃüÁîÓësql*plusÓï¾ä¡£
ÎÒÃÇͨ³£Ëù˵µÄDML¡¢DDL¡¢DCLÓï¾ä¶¼ÊÇsql*plusÓï¾ä£¬ËüÃÇÖ´ÐÐÍêºó£¬¶¼¿ÉÒÔ±£´æÔÚÒ»¸ö±»³ÆÎªsql bufferµÄÄÚ´æÇøÓòÖУ¬²¢ÇÒÖ»Äܱ£´æÒ»Ìõ×î½üÖ´ÐеÄsqlÓï¾ä£¬ÎÒÃÇ¿ÉÒÔ¶Ô±£´æÔÚsql bufferÖеÄsql Óï¾ä½øÐÐÐ޸ģ¬È»ºóÔÙ´ ......
declare
n number(10);
tsql varchar2(100);
begin
select test_seq.nextval into n from dual;
n:=-(n-1);
tsql:='alter ......