Oracle 创建表空间以及用户
Oracle 创建表空间以及用户
1、连接数据库
# su - oracle
$ conn / as sysdba
2、创建表空间
SQL> create tablespace doiido datafile '/main/oracle/oradata/doiido.dbf' size 1024M autoextend on next 1024M maxsize 10240M extent management local;
3、创建用户
SQL> create user doiido identified by doiido default tablespace doiido;
4、授权
SQL> grant connect, resource to doiido;
5、不对用户做表空间限额控制
SQL> grant unlimited tablespace to doiido;
6、切换用户登录
SQL> conn doiido/doiido;
相关推荐
bfcady 2020-08-16
Hody 2020-08-16
FightFourEggs 2020-08-16
流云追风 2020-07-04
dataminer 2020-06-25
赵继业 2020-08-17
大慧 2020-05-27
zhangchaoming 2020-04-20
Carlos 2020-02-03
haiross 2020-01-13
Streamoutput 2019-12-31
pfpfpfpfpf 2014-06-03
zhangchaoming 2020-06-04
FightFourEggs 2020-05-28
流云追风 2020-05-14
oraclemch 2020-04-19