oracle用户创建相关信息

 -- Create profile 
create profile PROFILE_APP limit
  sessions_per_user 100
  idle_time 15;

-- Create the role 
create role ROLE_APPUSER;
-- Grant/Revoke role privileges 
grant connect to ROLE_APPUSER;
-- Grant/Revoke system privileges 
grant create database link to ROLE_APPUSER;
grant create external job to ROLE_APPUSER;
grant create indextype to ROLE_APPUSER;
grant create job to ROLE_APPUSER;
grant create materialized view to ROLE_APPUSER;
grant create measure folder to ROLE_APPUSER;
grant create operator to ROLE_APPUSER;
grant create procedure to ROLE_APPUSER;
grant create profile to ROLE_APPUSER;
grant create role to ROLE_APPUSER;
grant create rule to ROLE_APPUSER;
grant create rule set to ROLE_APPUSER;
grant create sequence to ROLE_APPUSER;
grant create session to ROLE_APPUSER;
grant create synonym to ROLE_APPUSER;
grant create table to ROLE_APPUSER;
grant create trigger to ROLE_APPUSER;
grant create type to ROLE_APPUSER;
grant create user to ROLE_APPUSER;
grant create view to ROLE_APPUSER;


--会员系统

CREATE SMALLFILE 
    TABLESPACE "TBL_HYXT" 
    LOGGING 
    DATAFILE '/ora_dat/datafile/oradev/TBL_HYXT01.dbf' SIZE 256M AUTOEXTEND 
    ON NEXT  100M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL 
    SEGMENT SPACE MANAGEMENT  AUTO ;

CREATE SMALLFILE 
    TABLESPACE "IDX_HYXT" 
    LOGGING 
    DATAFILE '/ora_dat/datafile/oradev/IDX_HYXT01.dbf' SIZE 256M AUTOEXTEND 
    ON NEXT  100M MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL 
    SEGMENT SPACE MANAGEMENT  AUTO ;


-- Create the user 
create user dbrw_hyxt
  identified by dbrw_hyxt
  default tablespace TBL_HYXT
  temporary tablespace TEMP
  profile PROFILE_APP
  quota unlimited on tbl_hyxt
  quota unlimited on idx_hyxt;
-- Grant/Revoke role privileges 
grant role_appuser to dbrw_hyxt ;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值