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;
--²é¿´
Ïà¹ØÎĵµ£º
ʹÓÃÊý¾Ý¿âÊÓͼͨ³£³öÓÚÒÔÏÂÁ½¸öÄ¿µÄ£º1¡£½µµÍ²Ù×÷¸´ÔӶȣ»ÊÓͼÊÇÔ¤±àÒëµÄ²éѯ²Ù×÷£¬Ò»´Î¶¨Ò壬֮ºó¿É¿ìËÙµ÷Óã»2¡£Ìá¸ßϵͳ°²È«¡£ÊÓͼ×÷ΪÊý¾Ý¿â¶ÔÏ󣬿ÉÒÔ½«ÆäȨÏÞ¶ÀÁ¢³öÀ´¸³¸øÓû§£¬¿É±ÜÃâÓû§¶Ô»ù±íµÄäĿΣÏÕ²Ù×÷£¬Í¬Ê±Ò²¿ÉÆÁ±ÎÒ»²¿·Ö˽ÃܵÄÊôÐÔÁС£
¶¨ÒåÓï¾ä£º
CREATE
[OR REPLACE
]
[FORCE
|NOFORCE
......
sql server
Ìæ»»null:isnull(arg,value)
Èç:select isnull(price,0.0) from orders ,Èç¹ûpriceΪnullµÄ»°£¬ÓÃ0 ......
OracleµÄsql*plusÊÇÓëoracle½øÐн»»¥µÄ¿Í»§¶Ë¹¤¾ß¡£ÔÚsql*plusÖУ¬¿ÉÒÔÔËÐÐsql*plusÃüÁîÓësql*plusÓï¾ä¡£
ÎÒÃÇͨ³£Ëù˵µÄDML¡¢DDL¡¢DCLÓï¾ä¶¼ÊÇsql*plusÓï¾ä£¬ËüÃÇÖ´ÐÐÍêºó£¬¶¼¿ÉÒÔ±£´æÔÚÒ»¸ö±»³ÆΪsql bufferµÄÄÚ´æÇøÓòÖУ¬²¢ÇÒÖ»Äܱ£´æÒ»Ìõ×î½üÖ´ÐеÄsqlÓï¾ä£¬ÎÒÃÇ¿ÉÒÔ¶Ô±£´æÔÚsql bufferÖеÄsql Óï¾ä½øÐÐÐ޸ģ¬È»ºóÔÙ´ ......
ÔÚORACLEÀïÈç¹ûÓöµ½Ìرð´óµÄ±í£¬¿ÉÒÔʹÓ÷ÖÇøµÄ±íÀ´¸Ä±äÆäÓ¦ÓóÌÐòµÄÐÔÄÜ¡£
1.1 ·ÖÇø±íPARTITION table
ÔÚORACLEÀïÈç¹ûÓöµ½Ìرð´óµÄ±í£¬¿ÉÒÔʹÓ÷ÖÇøµÄ±íÀ´¸Ä±äÆäÓ¦ÓóÌÐòµÄÐÔÄÜ¡£
1.1.1 ·ÖÇø±íµÄ½¨Á¢£º
ij¹«Ë¾µÄÿÄê²úÉú¾Þ´óµÄÏúÊۼǼ£¬DBAÏò¹«Ë¾½¨Òéÿ¼¾¶ÈµÄÊý¾Ý·ÅÔÚÒ»¸ö·ÖÇøÄÚ£¬ÒÔÏÂʾ·¶µÄÊǸù«Ë¾1999ÄêµÄÊý¾Ý( ......