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

ORACLEÊý¾Ý¿âÓû§ÓëȨÏÞ¹ÜÀí


ORACLEÊǶàÓû§ÏµÍ³£¬ËüÔÊÐíÐí¶àÓû§¹²Ïíϵͳ×ÊÔ´¡£ÎªÁ˱£Ö¤Êý¾Ý¿âϵͳµÄ°²È«£¬Êý¾Ý¿â¹ÜÀíϵͳÅäÖÃÁËÁ¼ºÃµÄ°²È«»úÖÆ¡£

2. 1 ORACLEÊý¾Ý¿â°²È«²ßÂÔ

½¨Á¢ÏµÍ³¼¶µÄ°²È«±£Ö¤
ϵͳ¼¶ÌØȨÊÇͨ¹ýÊÚÓèÓû§ÏµÍ³¼¶µÄȨÀûÀ´ÊµÏÖ£¬ÏµÍ³¼¶µÄȨÀû£¨ÏµÍ³ÌØȨ£©°üÀ¨£º½¨Á¢±í¿Õ¼ä¡¢½¨Á¢Óû§¡¢ÐÞ¸ÄÓû§µÄȨÀû¡¢É¾³ýÓû§µÈ¡£ÏµÍ³ÌØȨ¿ÉÊÚÓèÓû§£¬Ò²¿ÉÒÔËæʱ»ØÊÕ¡£ORACLEϵͳÌØȨÓÐ80¶àÖÖ¡£

½¨Á¢¶ÔÏ󼶵ݲȫ±£Ö¤
¶ÔÏó¼¶ÌØȨͨ¹ýÊÚÓèÓû§¶ÔÊý¾Ý¿âÖÐÌض¨µÄ±í¡¢ÊÓͼ¡¢ÐòÁеȽøÐвÙ×÷£¨²éѯ¡¢Ôö¡¢É¾¸Ä£©µÄȨÀûÀ´ÊµÏÖ¡£

½¨Á¢Óû§¼¶µÄ°²È«±£Ö¤
Óû§¼¶°²È«±£ÕÏͨ¹ýÓû§¿ÚÁîºÍ½ÇÉ«»úÖÆ£¨Ò»×éȨÀû£©À´ÊµÏÖ¡£ÒýÈë½ÇÉ«»úÖƵÄÄ¿µÄÊǼò»¯¶ÔÓû§µÄÊÚȨÓë¹ÜÀí¡£×ö·¨ÊÇ°ÑÓû§°´ÕÕÆ书ÄÜ·Ö×飬Ϊÿ¸öÓû§½¨Á¢½ÇÉ«£¬È»ºó°Ñ½ÇÉ«·ÖÅä¸øÓû§£¬¾ßÓÐͬÑù½ÇÉ«µÄÓû§ÓÐÏàͬµÄÌØȨ¡£

2.2 Óû§¹ÜÀí

ORACLEÓû§¹ÜÀíµÄÄÚÈÝÖ÷Òª°üÀ¨Óû§µÄ½¨Á¢¡¢Ð޸ĺÍɾ³ý

Óû§µÄ½¨Á¢
SQL>CREATE USER jxzy

>IDENTIFIED BY jxzy_password

>DEFAULT TABLESPACE system

>QUATA 5M ON system; //¹©Óû§Ê¹ÓõÄ×î´ó¿Õ¼äÏÞ¶î

Óû§µÄÐÞ¸Ä
SQL>CREATE USER jxzy

>IDENTIFIED BY jxzy_pw

>QUATA 10M ON system;

ɾ³ýÓû§¼°ÆäËù½¨¶ÔÏó
SQL>DROP USER jxzy CASCADE; //ͬʱɾ³ýÆ佨Á¢µÄʵÌå

2.3ϵͳÌØȨ¹ÜÀíÓë¿ØÖÆ

ORACLE ÌṩÁË80¶àÖÖϵͳÌØȨ£¬ÆäÖÐÿһ¸öϵͳÌØȨÔÊÐíÓû§Ö´ÐÐÒ»¸ö»òÒ»ÀàÊý¾Ý¿â²Ù×÷¡£

ÊÚÓèϵͳÌØȨ
SQL>GRANT CREATE USER,ALTER USER,DROP USER

᛽


Ïà¹ØÎĵµ£º

Oracle±í¿Õ¼ä¹ÜÀí

extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î»      --segment    management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......

JavaÁ¬½ÓOracleÎÊÌâ

JavaÖ´ÐÐstm.executeQuery(sql); ʱ×ÜÊÇÌáʾ£ºjava.sql.SQLException: ORA-00911: ÎÞЧ×Ö·û£¬ÅªÁË°ëÌ컹Êdzö´í£¬ÎÞÄΣ¬ÄóöɱÊÖïµ£¬Googleһϣ¬Ôε¹£¬·¢ÏÖÎÒµÄString  sql = “select detail from test.result where person_id = 4; "£¬Ã²ËÆû´íÎó°É£¬½á¹ûÎÒÎÒ±ØÐëÈ¥µô×îºó·ÖºÅ£¬±¾À´ÊÇÏë¸ãµÃרҵµã£¬¾Í¼Û¼Ó¸ö·Ö ......

Oracle ѧϰ֪ʶµã£¨Ò»£©

 Ò» µÇ¼SQLPLUS
    sqlplusÓû§Ãû/ÃÜÂë@Êý¾Ý¿âʵÀýasµÇ¼½ÇÉ«;
Èç:Óû§sys(ÃÜÂëΪ123)ÒÔsysdbaµÄ½ÇÉ«µÇ¼Êý¾Ý¿âORACL£¬ÎÒÃÇ¿ÉÒÔÊäÈ룺sqlplus sys/123@oracl as sysdba;
    ÕâÖֵǼ·½Ê½»áÖ±½Ó±©Â¶ÃÜÂ룬Èç¹ûÏëÒþ²ØÃÜÂ룬¿ÉÒÔÔÚ´ËÊ¡ÂÔÃÜÂëµÄÊäÈ룬È磺sqlplus sys@oracl as sysdb ......

°²×°Oracle¼ì²âlinuxÄں˲ÎÊý

Checking kernel parameters
Checking for semmsl=250; found semmsl=250.    Passed
Checking for semmns=32000; found semmns=32000.    Passed
Checking for semopm=100; found semopm=32.    Failed <<<<
Checking for semmni=128; found semmni=128.&nb ......

ORACLE SQLÐÔÄÜÓÅ»¯´ó×ܽá

ORACLE SQLÐÔÄÜÓÅ»¯´ó×ܽá
1£© Ñ¡Ôñ×îÓÐЧÂʵıíÃû˳Ðò(Ö»ÔÚ»ùÓÚ¹æÔòµÄÓÅ»¯Æ÷ÖÐÓÐЧ)£º
" ?; J) n+ v8 J- v" q    OracleµÄ½âÎöÆ÷°´ÕÕ´ÓÓÒµ½×óµÄ˳Ðò´¦Àífrom×Ó¾äÖеıíÃû£¬from×Ó¾äÖÐдÔÚ×îºóµÄ±í(»ù´¡±í driving table)½«±»×îÏÈ´¦Àí£¬ÔÚfrom×Ó¾äÖаüº¬¶à¸ö±íµÄÇé¿öÏÂ,Äã±ØÐëÑ¡Ôñ¼Ç¼ÌõÊý×îÉٵıí×÷Ϊ»ù´¡±í¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ