-- 新建表空间
create tablespace card_data
datafile '/data/oracle/oradata/card/data01.dbf' size 1024m
autoextend on next 500M maxsize 32000M
extent management local;
alter tablespace card_data add datafile '/data/oracle/oradata/card/data02.dbf' size 32000m;
-- 新建用户
create user card identified by cardMw2018 default tablespace card_data;
grant connect, resource, create session, create any table, select any table, select any dictionary to card;
网友评论