oracle session inactive killed ÅúÁ¿ÇåÀí
ÉϸöÐÇÆÚ¿ªÊ¼£¬oracle SESSION ÀÏÊÇ´ïµ½×î´óÁ¬½ÓÊý£¬²é¿´oracle SESSION ·¢ÏÖÓÐ100¶à¸öinactiveSESSION.
¿ÉÄÜÊÇÓÉÓÚWEBSPHERE×î½üÀÏÊÇÄÚ´æjavacoreµ¼ÖÂwebsphere³öÏÖÖØÆôÏÖÏó¡£
ÒÔϵÄSQLÓï¾äÁгöµ±Ç°Êý¾Ý¿â½¨Á¢µÄ»á»°Çé¿ö:
select sid,serial#,username,program,machine,status from v$session;
SID SERIAL# USERNAME PROGRAM MACHINE STATUS
---------- ---------- ------------------------------ ---------------------------------------------------------------- ---------------------------------------------------------------- --------
1 1 ORACLE.EXE &
Ïà¹ØÎĵµ£º
(1)´´½¨ Oracle ×éºÍÓû§ÕÊ»§
ÀýÈ磺
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/useradd -m -g oinstall -G dba oracle
# id oracle
uid=501(oracle) gid=501(oinstall) groups=501(oinstall),502(dba)
ÉèÖà oracle ÕÊ»§µÄ¿ÚÁ
passwd oracle
(2)´´½¨Ä¿Â¼
ÀýÈ磺
# mkdir -p /orac ......
create table TN_TEST(
username varchar2(32),
userpass varchar2(32),
version number
)
ÒªÇóÒ»:
TN_TEST±íÖÐ×Ö¶Îversion
ÿ´ÎÐÞ¸ÄTN_TEST±íÔò½²version×Ô¶¯¼ÓÒ»
½¨Á¢´¥·¢Æ÷Óï¾ä:
crea ......
Çø±ð£º
¡¡¡¡1£®CHARµÄ³¤¶ÈÊǹ̶¨µÄ£¬¶øVARCHAR2µÄ³¤¶ÈÊÇ¿ÉÒԱ仯µÄ£¬ ±ÈÈ磬´æ´¢×Ö·û´®“abc"£¬¶ÔÓÚCHAR
(20)£¬±íʾÄã´æ´¢µÄ×Ö·û½«Õ¼20¸ö×Ö½Ú(°üÀ¨17¸ö¿Õ×Ö·û)£¬¶øÍ¬ÑùµÄVARCHAR2
(20)ÔòÖ»Õ¼ÓÃ3¸ö×ֽڵij¤¶È£¬20Ö»ÊÇ×î´óÖµ£¬µ±Äã´æ´¢µÄ×Ö·ûСÓÚ20ʱ£¬°´Êµ¼Ê³¤¶È´æ´¢¡£
¡¡¡¡2£®CHARµÄЧÂʱÈVARCHAR2µÄЧÂÊ ......
ÔÚ´´½¨Êý¾Ý¿âʱ£¬SPFileÎļþÖв¿·Ö±ØÐ뿼ÂǵIJÎÊýÖµ£º
¡¡¡¡»ù±¾¹æÔò
¡¡¡¡a.ÔÚSPFileÎļþÖУ¬ËùÓвÎÊý¶¼ÊÇ¿ÉÑ¡µÄ£¬Ò²¾ÍÊÇ˵ֻÐèÒªÔÚ³õʼ»¯²ÎÊýÎļþÖÐÁгöÄÇЩÐèÒªÐ޸ĵIJÎÊý£¬ÆäËü±£³ÖĬÈÏÖµ¼´¿É¡£
¡¡¡¡b.SPFileÎļþÖÐÖ»Äܰüº¬²ÎÊý¸³ÖµÓï¾äºÍ×¢ÊÍÓï¾ä¡£×¢ÊÍÓï¾äÒÔ“#”·ûºÏ¿ªÍ·£¬Êǵ¥ÐÐ×¢ÊÍ¡£
¡¡¡¡c.SPFileÎÄ ......
ORACLE¿ª·¢¹¤¾ß²ßÂÔ½éÉÜ
ºÜ¶àͬѧÎÊÆðÎÒÃÇOracle ERP¶þ´Î¿ª·¢ÒÔºó»áʹÓÃʲôÑùµÄÓïÑԺͿª·¢¹¤¾ß£¿Ê×ÏÈÎÒÃÇÀ´¿´¿´Oracle¿ª·¢¹¤¾ß²úÆ·µÄ²ßÂÔ
Oracle¿ª·¢¹¤¾ßµÄ²ßÂÔÊÇÌṩÄܹ»¿ª·¢»ùÓÚInternetÄ£ÐÍÏÂÆóÒµÓ¦ÓõÄÈí¼þ¿ª·¢¹¤¾ß£¬Òò´ËOracleÌṩÁËÁ½¸ö²¢ÐеĿª·¢¹¤¾ßÒÔ¼°ÐµĿìËÙWeb¿ª·¢¹¤¾ß£º
Ò»£¬»ùÓÚPL/SQLÓïÑÔ»·¾³µÄ´«Í³¿ ......