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

OracleÓû§¹ÜÀí

1.´´½¨Óû§£º ÐèÒªDBAµÄȨÏÞ£¬Óï¾ä create user Óû§Ãû identified by ÃÜÂë¡£ eg. create user joe identified by m123; 2.¸ü¸ÄÃÜÂ룺 passw Óû§Ãû 3.ɾ³ýÓû§£º ÐèÒªDBAµÄȨÏÞ£¬Èç¹ûÓÃÆäËûÓû§È¥É¾³ýÔòÐèÒª¾ßÓÐdrop userµÄȨÏÞ¡£ drop user Óû§Ãû [cascade]; (Èç¹ûÓû§ÒѾ­´´½¨±íÁË£¬ÔòÓÃcascade²ÎÊý£¬É¾³ýÆäËù½¨µÄ±í) 4.Óû§È¨ÏÞ£º (1)ϵͳȨÏÞ grant connect to joe; ¸Õ´´½¨µÄÓû§ÊÇûÓеǼȨÏ޵ġ££¨×¢ÒâÓû§£¬È¨ÏÞ£¬½ÇÉ«µÄ¹Øϵ£©;³£ÓýÇÉ«£ºconnect resource dbaµÈ (2)¶ÔÏóȨÏÞ(select update ¡­) grant select on emp to joe; Èç¹ûÊǶÔÏóȨÏÞ£¬¼ÓÈëwith grant option ʵÏÖȨÏ޵Ĵ«µÝ¡£ eg. grant select on emp to joe with grant option; ×¢£ºÈ¨ÏÞµÄÊÕ»Ø revokeÓï¾ä,Èç¹û³·ÏúÁËÓû§µÄȨÏÞ£¬¶øͨ¹ý¸ÃÓû§´«µÝµÄȨÏÞÒ²½«³·Ïú¡£ 5.ʹÓÃprofile¹ÜÀíÓû§¿ÚÁ ´´½¨profileÎļþ create profile ÎļþÃû limit failed.login.attempts ´ÎÊý password.lock.time ÌìÊý; ¸³¸øÓû§ alter user Óû§Ãû profile ÎļþÃû; ½âËø alter user Óû§Ãû account unlock; ÖÕÖ¹¿ÚÁÌáʾÐÞ¸ÄÃÜÂ룩µÈ¡£¡£¡£ ɾ³ýprofile drop profile ÎļþÃû [cascade]


Ïà¹ØÎĵµ£º

¡¶Oracle DBAÊּǡ· 24СʱСÑùµ½ÊÖ


×÷Õߣºeygle |English Version ¡¾×ªÔØʱÇëÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷¡¿
Á´½Ó£ºhttp://www.eygle.com/archives/2010/01/oracle_dba_notebook.html
½ñÌ죬ÊÕµ½Á˳ö°æÉç¿ìµÝ¶øÀ´µÄ¡¶Oracle DBAÊּǡ·Ò»ÊéµÄ24СʱСÑù£¬Õâ¸öСÑùͨ¹ýÖ®ºó£¬Êé¾Í¿ÉÒÔ³ÉÅúÓ¡Ë¢£¬Ö¸ÈÕ¿É´ýÁË¡£×î¿ìµÄ¹À¼ÆÊÇÏÂÖÜ¿ÉÒÔÉ ......

as5°²×°oracle²½Öè


Ò»:½¨Á¢Óû§,Óû§×é:
groupadd dba
groupadd oinstall
useradd oracle -g oinstall -G dba
passwd oracle
¶þ:ÐÞ¸Ä˵Ã÷,¸ÄΪas4
vi /etc/redhat-release
Ð޸ĺóµÄÄÚÈÝ:
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Èý:¸Ähost(²»±Ø,ÍøÉÏ˵ ......

Oracle Application Development Framework


Oracle Application Development Framework
¡¡¡¡
Oracle ADF
ÊÇÒ»¸ö¶Ëµ½¶ËµÄ
J2EE
¿ò¼Ü£¬Ëüͨ¹ýÌṩÏֳɵĻù´¡¼Ü¹¹·þÎñÒÔ¼°¿ÉÊӵġ¢ÉùÃ÷ʽ¿ª·¢ÌåÑé¼ò»¯ÁË¿ª·¢¡£
      
ΪÁ˼ò»¯
J2EE
³ÌÐò¿ª·¢¸´ÔÓÐÔ¶øרÃÅ¿ª·¢µÄÒ»ÖÖ½â¾ö·½°¸¡£
      
ADF ......

oracle DBMS_LOCK.SLEEP()µÄʹÓÃ

Ò»
¡¢執ÐÐ ORACLE_HOME/rdbms/admin/dbmslock.sql À´´´½¨ dbms_lock;
-ÔÚDBAÉí·ÖÏÂgrant execute on dbms_lock to USERNAME;
-執ÐÐ測試´ú碼
begin
dbms_output.put_line(to_char(sysdate,'yyyymmddhh24miss'));
dbms_lock.sleep(60);
dbms_output.put_line(to_char(sysdate,'yyyymmdd ......

ORACLE dblink С¼Ç

½¨DBLINK:
ʹÓÃpl/sql developer½¨£ºÕÒµ½Database Links,ÓÒ¼üн¨
                          Ãû³Æ£ºdblinkÃû  Á¬½Óµ½Óû§Ãû£ºÄ¿±êÊý¾Ý¿âµÇ¼Ãû ÃÜÂ룺Ŀ±êÊý¾Ý¿âÃÜÂë
   ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ