当前位置:网站首页>Oracle creates tablespaces and modifies user default tablespaces
Oracle creates tablespaces and modifies user default tablespaces
2022-04-23 13:40:00 【Wangcai 2】
-- Table space
-- Unlimited tablespace size :maxsize unlimited
create tablespace wdy_data
logging
datafile 'D:\oracle\app\oracle\oradata\XE\wdy_data.DBF'
size 50m
autoextend on
next 50m maxsize 1024m
extent management local;
-- Create a temporary table space
create temporary tablespace wdy_temp
tempfile 'D:\oracle\app\oracle\oradata\XE\wdy_temp.DBF'
size 50m
autoextend on
next 50m maxsize unlimited
extent management local;
--2. Build users
create user user_wdy2 identified by user_wdy2_123456
default tablespace wdy_data
temporary tablespace wdy_temp;
--3. Empowerment
grant connect,resource to user_wdy2;
grant create any sequence to user_wdy2;
grant create any table to user_wdy2;
grant delete any table to user_wdy2;
grant insert any table to user_wdy2;
grant select any table to user_wdy2;
grant unlimited tablespace to user_wdy2;
grant execute any procedure to user_wdy2;
grant update any table to user_wdy2;
grant create any view to user_wdy2;
--4. Modify user default tablespace :
alter user user_wdy2 default tablespace wdy_data
版权声明
本文为[Wangcai 2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604300844.html
边栏推荐
- Detailed explanation of constraints of Oracle table
- Explanation of input components in Chapter 16
- RTOS mainstream assessment
- 集简云 x 飞书深诺,助力企业运营部实现自动化办公
- Android clear app cache
- Utilisation de GDB
- Why do you need to learn container technology to engage in cloud native development
- Solution: you have 18 unapplied migration (s) Your project may not work properly until you apply
- Playwright controls local Google browsing to open and download files
- 面试官给我挖坑:单台服务器并发TCP连接数到底可以有多少 ?
猜你喜欢
On the bug of JS regular test method
[point cloud series] deepmapping: unsupervised map estimation from multiple point clouds
SAP ui5 application development tutorial 72 - trial version of animation effect setting of SAP ui5 page routing
Double pointer instrument panel reading (I)
kettle庖丁解牛第16篇之输入组件周边讲解
Explanation of input components in Chapter 16
Vscode tips
浅谈js正则之test方法bug篇
Imx6ull QEMU bare metal tutorial 2: usdhc SD card
2021年6月程序员工资统计,平均15052元,你拖后腿了吗?
随机推荐
爱可可AI前沿推介 (4.23)
[point cloud series] so net: self organizing network for point cloud analysis
Longitude and latitude position of provincial capitals in China
Oracle index status query and index reconstruction
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
[Journal Conference Series] IEEE series template download guide
Filter and listener of three web components
9419 page analysis of the latest first-line Internet Android interview questions
TIA博途中基于高速计数器触发中断OB40实现定点加工动作的具体方法示例
Use of GDB
TERSUS笔记员工信息516-Mysql查询(2个字段的时间段唯一性判断)
Processbuilder tool class
SAP ui5 application development tutorial 72 - trial version of animation effect setting of SAP ui5 page routing
[tensorflow] sharing mechanism
交叉碳市场和 Web3 以实现再生变革
Usereducer basic usage
UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
Zero copy technology
“湘见”技术沙龙 | 程序员&CSDN的进阶之路
Common analog keys of ADB shell: keycode