1. 建立一個使用者,並為該使用者指派Create許可權,分配資料表空間:create user scott identified by tiger; grant create session to scott; grant create table to scott; alter user scott default tablespace users; alter user scott quota 512M on users; 2.
資料庫安全和最小許可權原則一、PUBLIC許可權PUBLIC角色隱式授予每位使用者。只要為PUBLIC授予任何許可權,相應的許可權實際上就會授予可以串連到資料庫的每個人,建立的每個賬戶都有權訪問這些許可權。預設下,PUBLIC使用者擁有大量許可權。gyj@OCM> select count(*) from dba_tab_privs where grantee='PUBLIC';COUNT(*)----------28164gyj@OCM> select table_name
在Oracle裡,不像MySQL那樣方便,可以直接在使用者上進行IP限制,Oracle要實現使用者層級的IP限制,可以使用觸發器來迂迴實現,下面是一個觸發器的例子:create or replace trigger logon_ip_control after logon on databasedeclare ip STRING(30); user STRING(30); beginSELECT SYS_CONTEXT('USERENV','SESSION_USER') into
在043裡面有下面這個題目You want an ASM instance to manage the files of your database. To achieve this objective, youspecify the following parameters in the parameter file of the database:INSTANCE_TYPE = RDBMSDB_NAME = PRODLARGE_POOL_SIZE = 8MBDB_BLOCK_SIZE = 4
oracle11g資料庫,修改了記憶體參數memory_max_target=943718400,關閉資料庫重新啟動的時候報錯[oracle@instuctor shm]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Mon Nov 19 09:34:11 2012Copyright (c) 1982, 2011, Oracle. All rights reserved.Connected to an