linux pdb创建表空间,ORACLE12C PDB创建默认表空间和用户语句(示例代码)
第一次接觸到12C CDB和PDB數據庫,且客戶提供的是ORACLE一體機,只有訪問權,費勁周折,今記錄12C創建默認路徑表空間語句和用戶
--創建默認表空間:
create tablespace tablesapce_name datafile size 500M ? autoextend on next 100M;
--創建用戶空間:
create user username identified by password
default tablespace tablesapce_name?;
--用戶授權:
grant connect,resource to username?;
grant create any sequence to username?;
grant create any table to username?;
grant delete any table to username?;
grant insert any table to username?;
grant select any table to username?;
grant unlimited tablespace to username?;
grant execute any procedure to username?;
grant update any table to username?;
grant create any view to username?;
如上~
總結
以上是生活随笔為你收集整理的linux pdb创建表空间,ORACLE12C PDB创建默认表空间和用户语句(示例代码)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何把路由器拆掉加装德路由器如何拆掉
- 下一篇: linux安装meld rpm,Linu