Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÐÞ¸ÄORACLE×î´ó»á»°Êý

ÐÞ¸ÄORACLE×î´ó»á»°Êý ²é¿´µ±Ç°oracle×î´ó»á»°Êý show parameter Ìõ¼þ Ìõ¼þ¿ÉÒÔʹÓòÎÊýÃûÖаüº¬µÄ¼¸¸ö×Öĸ£¬Èçshow parameter process½«ÏÔʾ NAME TYPE VALUE
------------------------------------ ----------- ------
aq_tm_processes integer 0
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 10
log_archive_max_processes integer 2
processes integer 150 oracle10 spfileÎļþ½á¹¹ pfileºÍspfileΪOracleµÄÆô¶¯Îļþ£¬pfileΪÎı¾Îļþ£¬spfileÓÉpfile±àÒëºóµÄ¶þ½øÖÆÎļþ¡£ Oracle10 pfileÎļþλÖà ¢Ù\product\10.2.0\admin\hide\pfile\init.ora Oracle10 spfileÎļþλÖà ¢Ú\product\10.2.0\db_1\database\init.ora ΪOracle10µÄspfileÎļþ£¬µ«ÆäÖ¸ÏòµÄÈ´ÊÇÁíÒ»¸öÎļþ ¢Û\product\10.2.0\db_1\dbs\spfile.ora ͨ¹ýpfileÉú³ÉspfileµÄ·½·¨ 1£©¿½±´¢Ù\product\10.2.0\admin\hide\pfile\init.ora µ½ \product\10.2.0\db_1\database\init.ora  2)ʹÓÃsystemÒÔsysdba·½Ê½µÇ¼ Ö´ÐÐ create spfile='spfile_init.ora' from pfile='init.ora'; Éú³Éspfile_init.oraºó£¬¿½±´µ½¢Û\product\10.2.0\db_1\dbs\spfile.ora 3)ÖØÐÂÆô¶¯Êý¾Ý¿âºó£¬¼´Ê¹ÓÃеÄÅäÖÃÆô¶¯Êý¾Ý¿â£¬´Ë·½·¨Æðµ½µÄ×÷ÓÃÓëʹÓÃalter system·½·¨ÐÞ¸ÄÊý¾Ý¿â²ÎÊýµÄ¹¦ÄÜÏàͬ ÐÞ¸ÄORACLEÊý¾Ý¿â²ÎÊý alter system set processes=300 scope = spfile; ÖØÐÂÆô¶¯Êý¾Ý¿â


Ïà¹ØÎĵµ£º

ORACLE°²×°²ÎÊý˵Ã÷¼°×¢ÒâÊÂÏ

Ô­ÎĵØÖ·£ºhttp://blog.csdn.net/fengyun14/archive/2007/03/25/1540433.aspx
¹ØÓÚLinux ÏÂkernel.shmmax µÄÉèÖÃÎÊÌâ
ÏÂÃæÊÇOracle ÎĵµÉϵĽâÊÍ£¬ http://download-west.oracle.com/doc...e.htm#sthref107
SHMMAX Available physical memory Defines the maximum allowable size of one shared memory segment.
The ......

ORACLE to_char() º¯Êý»ñÈ¡×ÔÈ»ÖÜÊý

 
×î¼òµ¥µÄÊÇʹÓÃ
 
/* Formatted on 2009/12/02 16:01 (Formatter Plus v4.8.8) */
SELECT TO_CHAR (TO_DATE ('2009-12-02', 'YYYY-MM-DD'), 'WW')
  from DUAL;
²»¹ýto_char()º¯ÊýÔÚ¼ÆËãÒ»ÄêÖеڼ¸ÖÜÊÇ´Ó¸ÃÄêµÄ1ÔÂ1ÈÕ¿ªÊ¼µÄ¡£
 
 ÒÔÏÂSQL Äܵõ½ÕýÈ·µÄ×ÔÈ»ÖÜÊý.
 
/* Formatted ......

ROLLUPºÍCUBEÓï¾ä¡£ ORACLE·Ö×éͳ¼Æ

ROLLUPºÍCUBEÓï¾ä¡£
OracleµÄGROUP
BYÓï¾ä³ýÁË×î»ù±¾µÄÓï·¨Í⣬»¹Ö§³ÖROLLUPºÍCUBEÓï¾ä¡£Èç¹ûÊÇROLLUP(A, B, C)µÄ»°£¬Ê×ÏÈ»á¶Ô(A¡¢B¡¢C)½øÐÐGROUP
BY£¬È»ºó¶Ô(A¡¢B)½øÐÐGROUP BY£¬È»ºóÊÇ(A)½øÐÐGROUP BY£¬×îºó¶ÔÈ«±í½øÐÐGROUP BY²Ù×÷¡£Èç¹ûÊÇGROUP BY
CUBE(A, B, C)£¬ÔòÊ×ÏÈ»á¶Ô(A¡¢B¡¢C)½øÐÐGROUP
BY£¬È»ºóÒÀ´ÎÊÇ(A¡ ......

ORACLE ÔÚnot inÖÐʹÓÃnullµÄÎÊÌâ

ÒÔÇ°»¹×¨ÃÅС×ܽá¹ýÒ»ÏÂORACLEÖйØÓÚNULLµÄһЩÎÊÌ⣬ÅöÇɽñÌìÔÚ¿´ÊéµÄ¹ý³ÌÖÐÓÖ¿´µ½ÁËÁíÍâÒ»¸öÒÔǰû·¢ÏÖµÄÐèҪעÒâµÄµØ·½£¬ÄǾÍÊÇÔÚnot inÖÐʹÓÃnullµÄÎÊÌâ¡£
SQL> select * from dept;
    DEPTNO DNAME          LOC
---------- -------------- ---- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ