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

±±´óÇàÄñoracleѧϰ±Ê¼Ç14 15

oracle°²È«
Óû§¹ÜÀí
DBAÊÚÓ費ͬÓû§²»Í¬È¨Àû£¬Ã¿¸öÓû§¿ÉÒÔÔÚÊÚȨ·¶Î§Äڻ£¬Èκγ¬Ô½È¨ÏÞ·¶Î§µÄ²Ù×÷¶¼ÊÓΪ·Ç·¨¡£
sysÓû§  ÍøÂç¹ÜÀíÔ± ÓµÓÐ×î¸ßȨÏÞ
conn sys/¿ÚÁî as sysdba;
systemÓû§ ±¾µØ¹ÜÀíÔ±
scottÓû§  Ê¾ÀýÊý¾Ý¿â
½¨Á¢Óû§£º£¨±ØÐëÓµÓÐdbaȨÏÞ£©
Create User Óû§Ãû Identified by ¿ÚÁî [Externally]  --¿ÚÁîÔÚsqlplusÖбØÐëÊäÈëÒ»¸öÒÔ×Öĸ¿ªÍ·µÄ¿ÚÁÔÚÆóÒµ¹ÜÀíÆ÷ÖпÉÒÔÈÎÒâ
[Default TableSpace ±í¿Õ¼äÃû]    -- ȱʡ±í¿Õ¼ä
[Temporary TableSpace ±í¿Õ¼äÃû]  --ÁÙʱ±í¿Õ¼ä
[Quota ÕûÊý K|M | UnLimited On ±í¿Õ¼äÃû]  --±í¿Õ¼äÖÐʹÓõÄÏÞ¶î¿Õ¼ä »òÕß²»ÏÞ¶¨ÏÞ¶î
±í¿Õ¼ä¸ÅÄîÀàËÆÓÚsql serverÖÐÊý¾Ý¿âµÄ¸ÅÄî
ÏÞÖÆÓû§
Alter User Óû§Ãû account lock;--¼ÓËø
Alter User Óû§Ãû account unlock;--½âËø
Alter Óû§Ãû Password Expire;--¿ÚÁîʧЧ
ɾ³ýÓû§
Drop User Óû§Ãû [Cascade];--±íʾɾ³ýÓû§Ä£Ê½ÖеÄËùÓжÔÏ󣨰üÀ¨Æä´´½¨µÄ±í¿Õ¼äµÈ£©
ȨÏÞ¹ÜÀí
Grant [ϵͳÌØȨÃû] [½ÇÉ«] To [Óû§ÃûÁбí] [Public] [With Admin Option];--ÊÚÓèȨÏÞ
Revoke [ϵͳÌØȨÃû] [½ÇÉ«] from [Óû§ÃûÁбí] [Public];--³·ÏúÊÚȨ
Select * from User_Sys_Privs;--²é¿´ÏµÍ³È¨ÏÞ
½ÇÉ«¹ÜÀí
½ÇÉ«½«ÏµÍ³È¨ÏÞ·ÖÅä¸øÓû§µÄÖмäµÄÀàÓû§»òȨÏÞ×°ÔØÈÝÆ÷¡£¿ÉÒÔ¸øijЩ½ÇÉ«Ò»¶¨µÄȨÏÞ£¬µ±Ä³¸öÓû§ÐèÒªÒ»¶¨È¨ÏÞʱ£¬°ÑÒ»¸ö¾ßÓкÍËûËùÒªµÄȨÏÞÏàͬµÄ½ÇÉ«¸³ÓèËü¾Í¿É¡£
£¨Ê¿±øÊÇÒ»¸ö½ÇÉ«£¬¶øÑÝÊ¿±øµÄÑÝÔ±ÊÇÒ»¸öÓû§£©
Create Role ½ÇÉ«Ãû [Not Identified | Identified By ¿ÚÁî | Extenally]
                              ÎÞ¿ÚÁî                  ¿ÚÁî                      ÓɲÙ×÷ϵͳ¼ìÑéµÄ¿ÚÁî
´´½¨½ÇÉ«ÒÔºó¶ÔÆäÊÚȨ£¬Í¬È¨ÏÞ¹ÜÀí¡£
Grant ½ÇÉ«Ãû To [Óû§ÃûÁбí]  [Public];
Revoke ½ÇÉ«Ãû To [Óû§ÃûÁбí]  [Public];
Drop Role ½ÇÉ«Ãû;--²»Ó°ÏìÓÃËüÒѾ­ÊÚÓèµÄÓû§µÄȨÏÞ


Ïà¹ØÎĵµ£º

ora_01034:oracle not available±¨´í ½â¾ö·½·¨

ÒòΪǿÖƹػú£¬¿ª»úµÄʱºò½øÈëÊý¾Ý¿â±¨´í£º
ora_01034:oracle not available
ora_27101:shared memory realm does not exit
½â¾ö·½·¨£º
1.´ò¿ªCMD
2.ÊäÈë sqlplus "/as sysdba"
3.»Ø³µ
4.ÊäÈë startup
5.½áÊø ......

´óÐÍORACLEÊý¾Ý¿âÓÅ»¯Éè¼Æ·½°¸

±¾ÎÄÖ÷Òª´Ó´óÐÍÊý¾Ý¿âORACLE»·¾³Ëĸö²»Í¬¼¶±ðµÄµ÷Õû·ÖÎöÈëÊÖ£¬·ÖÎöORACLEµÄϵͳ½á¹¹ºÍ¹¤×÷»úÀí£¬´Ó¾Å¸ö²»Í¬·½Ãæ½ÏÈ«ÃæµØ×ܽáÁËORACLEÊý¾Ý¿âµÄÓÅ»¯µ÷Õû·½°¸¡£
    ¹Ø¼ü´Ê ORACLEÊý¾Ý¿â»·¾³µ÷ÕûÓÅ»¯Éè¼Æ·½°¸
    ¶ÔÓÚORACLEÊý¾Ý¿âµÄÊý¾Ý´æÈ¡£¬Ö÷ÒªÓÐËĸö²»Í¬µÄµ÷Õû¼¶±ð£¬µÚÒ»¼¶µ÷ÕûÊDzÙ×÷ÏµÍ ......

Óà javaµ÷ÓÃoracle´æ´¢¹ý³Ì×ܽá

1¡¢Ê²Ã´ÊÇ´æ´¢¹ý³Ì¡£´æ´¢¹ý³ÌÊÇÊý¾Ý¿â·þÎñÆ÷¶ËµÄÒ»¶Î³ÌÐò£¬ËüÓÐÁ½ÖÖÀàÐÍ¡£Ò»ÖÖÀàËÆÓÚSELECT²éѯ£¬ÓÃÓÚ¼ìË÷Êý¾Ý£¬¼ìË÷µ½µÄÊý¾ÝÄܹ»ÒÔÊý¾Ý¼¯µÄÐÎʽ·µ
»Ø¸ø¿Í»§¡£ÁíÒ»ÖÖÀàËÆÓÚINSERT»òDELETE²éѯ£¬Ëü²»·µ»ØÊý¾Ý£¬Ö»ÊÇÖ´ÐÐÒ»¸ö¶¯×÷¡£ÓеķþÎñÆ÷ÔÊÐíͬһ¸ö´æ´¢¹ý³Ì¼È¿ÉÒÔ·µ»ØÊý¾ÝÓÖ¿ÉÒÔÖ´Ðж¯×÷¡£
2¡¢Ê²Ã´Ê±ºòÐèÒªÓô洢¹ý³Ì
......

oracle clusterware ºÍ oracle rac µÄÖ÷Òª²¿¼þ

ÏÖÔÚ¿´Ïà¹ØµÄRAC½á¹¹µÄÎÄÕ»¹²»Ì«Àí½â¡£
ÏÖÔÚ¿´Õâ¸ö¾ÍºÜÇå³þÆäÖеÄÒâ˼ÁË¡£
oracle clusterware Ö÷ÒªÓÐÒÔÏÂÖ÷Òª²¿¼þ£º
CSS: ¼¯ÈºÍ¬²½·þÎñ
Ö÷Òª¹ÜÀíÕû¸ö¼¯ÈºÄÚ¸÷¸ö½Úµã¼äµÄÇé¿ö£¬°üÀ¨½ÚµãµÄÌí¼ÓºÍ¼õÉÙ¡£ÓëÖ®¶ÔÓ¦µÄÊÇocssd ½ø³Ì£¬Èç¹û¸Ä½ø³Ì³öÏÖ¹ÊÕϽ«»áµ¼Ö½ڵãÖØÆô¡£Èç¹ûʹÓÃÁ˵ÚÈý·½µÄclusterware£¬css ͨ¹ýµÚÈý·½clus ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ