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

OracleÄÚÖýÇÉ«connectÓëresourceµÄȨÏÞ

Ê×ÏÈÓÃÒ»¸öÃüÁÓèuserÓû§connect½ÇÉ«ºÍresource½ÇÉ«£º
grant connect,resource to user;
ÔËÐгɹ¦ºóÓû§°üÀ¨µÄȨÏÞ:
CONNECT½ÇÉ«£º --ÊÇÊÚÓè×îÖÕÓû§µÄµäÐÍȨÀû£¬×î»ù±¾µÄ
ALTER SESSION --Ð޸ĻỰ
CREATE CLUSTER --½¨Á¢¾Û´Ø
CREATE DATABASE LINK --½¨Á¢Êý¾Ý¿âÁ´½Ó
CREATE SEQUENCE --½¨Á¢ÐòÁÐ
CREATE SESSION --½¨Á¢»á»°
CREATE SYNONYM --½¨Á¢Í¬Òå´Ê
CREATE VIEW --½¨Á¢ÊÓͼ
RESOURCE ½ÇÉ«£º --ÊÇÊÚÓ迪·¢ÈËÔ±µÄ
CREATE CLUSTER --½¨Á¢¾Û´Ø
CREATE PROCEDURE --½¨Á¢¹ý³Ì
CREATE SEQUENCE --½¨Á¢ÐòÁÐ
CREATE TABLE --½¨±í
CREATE TRIGGER --½¨Á¢´¥·¢Æ÷
CREATE TYPE --½¨Á¢ÀàÐÍ
´Ódba_sys_privsÀï¿ÉÒԲ鵽£¨×¢ÒâÕâÀï±ØÐëÒÔDBA½ÇÉ«µÇ¼£©:
select grantee,privilege from dba_sys_privs
where grantee='RESOURCE' order by privilege;
GRANTEE PRIVILEGE
------------ ----------------------
RESOURCE CREATE CLUSTER
RESOURCE CREATE INDEXTYPE
RESOURCE CREATE OPERATOR
RESOURCE CREATE PROCEDURE
RESOURCE CREATE SEQUENCE
RESOURCE CREATE TABLE
RESOURCE CREATE TRIGGER
RESOURCE CREATE TYPE
=================================================
Ò»¡¢ºÎΪ½ÇÉ«£¿
¡¡¡¡ÎÒÔÚÇ°ÃæµÄƪ·ùÖÐ˵Ã÷ȨÏÞºÍÓû§¡£ÂýÂýµÄÔÚʹÓÃÖÐÄã»á·¢ÏÖÒ»¸öÎÊÌ⣺Èç¹ûÓÐÒ»×éÈË£¬ËûÃǵÄËùÐèµÄȨÏÞÊÇÒ»ÑùµÄ£¬µ±¶ÔËûÃǵÄȨÏÞ½øÐйÜÀíµÄʱºò»áºÜ²»·½±ã¡£ÒòΪÄãÒª¶ÔÕâ×éÖеÄÿ¸öÓû§µÄȨÏÞ¶¼½øÐйÜÀí¡£
¡¡¡¡ÓÐÒ»¸öºÜºÃµÄ½â¾ö°ì·¨¾ÍÊÇ£º½ÇÉ«¡£½ÇÉ«ÊÇÒ»×éȨÏ޵ļ¯ºÏ£¬½«½ÇÉ«¸³¸øÒ»¸öÓû§£¬Õâ¸öÓû§¾ÍÓµÓÐÁËÕâ¸ö½ÇÉ«ÖеÄËùÓÐȨÏÞ¡£ÄÇôÉÏÊöÎÊÌâ¾ÍºÜºÃ´¦ÀíÁË£¬Ö»ÒªµÚÒ»´Î½«½ÇÉ«¸³¸øÕâÒ»×éÓû§£¬½ÓÏÂÀ´¾ÍÖ»ÒªÕë¶Ô½ÇÉ«½øÐйÜÀí¾Í¿ÉÒÔÁË¡£
¡¡¡¡ÒÔÉÏÊǽÇÉ«µÄÒ»¸öµäÐÍÓÃ;¡£Æäʵ£¬Ö»ÒªÃ÷°×£º½ÇÉ«¾ÍÊÇÒ»×éȨÏ޵ļ¯ºÏ¡£ÏÂÃæ·ÖÁ½¸ö²¿ÃÅÀ´¶Ôoracle½ÇÉ«½øÐÐ˵Ã÷¡£
¶þ¡¢ÏµÍ³Ô¤¶¨Òå½ÇÉ«
¡¡¡¡Ô¤¶¨Òå½ÇÉ«ÊÇÔÚÊý¾Ý¿â°²×°ºó£¬ÏµÍ³×Ô¶¯´´½¨µÄһЩ³£ÓõĽÇÉ«¡£Ï½é¼òµ¥µÄ½éÉÜÒ»ÏÂÕâЩԤ¶¨½ÇÉ«¡£½ÇÉ«Ëù°üº¬µÄȨÏÞ¿ÉÒÔÓÃÒÔÏÂÓï¾ä²éѯ£º
sql>select * from role_sys_privs where role='½ÇÉ«Ãû';
£±£®CONNECT, RESOURCE, DBA
ÕâЩԤ¶¨Òå½ÇÉ«Ö÷ÒªÊÇΪÁËÏòºó¼æÈÝ¡£ÆäÖ÷ÒªÊÇÓÃÓÚÊý¾Ý¿â¹ÜÀí¡£oracle½¨ÒéÓû§×Ô¼ºÉè¼ÆÊý¾Ý¿â¹ÜÀíºÍ°²È«µÄȨÏ޹滮£¬¶ø²»Òª¼òµ¥µÄʹÓÃÕâЩԤ¶¨½ÇÉ«¡£½«À´µÄ°æ±¾ÖÐÕâЩ½ÇÉ«¿ÉÄܲ»»á×÷ΪÔ


Ïà¹ØÎĵµ£º

ת£ºOracle Ò»ÖÂÐÔ¶ÁµÄÔ­Àí

      ÔÚOracleÊý¾Ý¿âÖУ¬undoÖ÷ÒªÓÐÈý´ó×÷ÓãºÌṩһÖÂÐÔ¶Á£¨Consistent Read£©¡¢»Ø¹öÊÂÎñ£¨Rollback Transaction£©ÒÔ¼°ÊµÀý»Ö¸´£¨Instance Recovery£©¡£       Ò»ÖÂÐÔ¶ÁÊÇÏà¶ÔÓÚÔà¶Á£¨Dirty Read£©¶øÑԵġ£¼ÙÉèij¸ö±íTÖÐÓÐ10000Ìõ¼Ç¼£¬»ñÈ¡ËùÓмǼÐèÒª15·ÖÖÓʱ¼ä¡£ ......

oracle¼ì²âËø£¬ÊÍ·ÅËø

¼ì²âËø£º
SELECT A.OWNER,
A.OBJECT_NAME,
B.XIDUSN,
B.XIDSLOT,
B.XIDSQN,
B.SESSION_ID,
B.ORACLE_USERNAME,
B.OS_USER_NAME,
B.PROCESS,
B.LOCKED_MODE,
C.MACHINE,
C.STATUS,
C.SERVER,
C.SID,
C.SERIAL#,
C.PROGRAM
from ALL_OBJECTS A,
V$LOCKED_OBJECT B,
SYS.GV_$SESSION C
WHERE ( A.OBJE ......

oracleÐòÁÐÉú³ÉÆ÷(sequence)ʹÓõÄÒ»µãСעÒâ

ÓÐÈËÓöµ½Õâôһ¸öÎÊÌ⣬·ÃÎÊÒ»¸öÐòÁÐÔõô³ö´íÁË£¬´íÎóÈçÏ£º ORA-08002: ÐòÁÐ SEQ_GX.CURRVAL ÉÐδÔڴ˻ỰÖж¨Òå ÕâÊÇÒòΪÔÚÒ»¸öеĻỰÖУ¬ÐòÁÐÐèÒª³õʼ»¯£¬Ò²¾ÍÊÇͨ¹ý.NEXTVALÀ´Íê³ÉÐòÁеijõʼ»¯¡£ ²âÊÔÈçÏ£º Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 Connected as crmii SQL> SQ ......

oracle¼òµ¥stream Ò»¸öÓû§µ¥Ïò¸´ÖÆÅäÖÃ

ÒÔÏÂÎÒ×östreammͬ²½Á½Ì¨»úÆ÷¼äµÄijһ¸öÓû§µÄ²Ù×÷²½Öè¡£ºÜ¼òµ¥,¿´µ½stream
»¹
ÓкܶàÒª¿´µÄ¡£
1.»·¾³½éÉÜ
  Ö÷Êý¾Ý¿âSID : obpm
  ²Ù×÷ϵͳ :    win 2003
  IPµØÖ·   :  192.168.0.1
  Global_name :
  oracle
version: 10.2.0.1
  ´ÓÊý¾Ý¿âSID ......

ÈçºÎ¿´¶®ORACLEÖ´Ðмƻ®

ÈçºÎ¿´¶®ORACLEÖ´Ðмƻ®
Ò»¡¢Ê²Ã´ÊÇÖ´Ðмƻ®
An explain plan is a representation of the access path that is taken when a query is executed within Oracle.
¶þ¡¢ÈçºÎ·ÃÎÊÊý¾Ý
At the physical level Oracle reads blocks of data. The smallest amount of data read is a single Oracle block, the largest is con ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ