oracle创建库

Posted bugbeta的个人博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle创建库相关的知识,希望对你有一定的参考价值。

创建表空间

create tablespace TBS_DATA datafile ‘/u01/oradata/tbs_data01.dbf‘ size 16G autoextend off;
create tablespace TBS_DATA_IDX datafile ‘/u01/oradata/tbs_data_idx01.dbf‘ size 8G autoextend off;

创建用户

create user ora001 identified externally account unlock;
grant connect to ora001;
grant resource to ora001;


以上是关于oracle创建库的主要内容,如果未能解决你的问题,请参考以下文章