当前位置:网站首页>oracle 修改默认临时表空间
oracle 修改默认临时表空间
2022-04-23 06:04:00 【旺财2】
--创建临时表空间
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;
--修改默认表空间为新建的临时表空间
alter database default temporary tablespace temp01;
--查看用户当前使用的临时表空间
select username,temporary_tablespace from dba_users;
--删除原来的临时表空间
drop tablespace temp including contents and datafiles;
--查看所有表空间名确认临时表空间是否已删除
select tablespace_name from dba_tablespaces;
扩展:
--临时表空间添加数据文件
alter tablespace temp01 add tempfile '/oradata/temp02.dbf' size 2G autoextend on;
--修改临时表空间数据文件大小
alter database tempfile '/oradata/temp02.dbf' resize 4G;
版权声明
本文为[旺财2]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wdyliuxingfeiyang/article/details/122209038
边栏推荐
- MySQL【ACID+隔离级别+ redo log + undo log】
- ES入门学习笔记
- [MySQL basics] startup options, system variables and status variables
- Prometheus和Thanos Receiver的“写多租户”实现
- Use the SED command to process text efficiently
- 将数组中指定的对象排在数组的前边
- 异常记录-8
- 异常记录-5
- Prometheus monitoring method and index interpretation of influxdb
- Prometheus thanos Quick Guide
猜你喜欢
随机推荐
异常记录-15
Thanos compact component test summary (processing historical data)
异常记录-6
Prometheus监控influxdb的方法及指标释义
mysql和pg库遇到冲突数据时的两种处理方式
ORACLE表有逻辑坏块时EXPDP导出报错排查
Arranges the objects specified in the array in front of the array
SSM项目在阿里云部署
用Future与CountDownLatch实现多线程执行多个异步任务,任务全部完成后返回结果
RAC环境中openssh版本对SSH互信创建的影响
搭建基于OSS的图片分享网站-反馈有礼
异常记录-18
qs.stringify 接口里把入参转为&连接的字符串(配合application/x-www-form-urlencoded请求头)
TC ebpf practice
Apache SeaTunnel 2.1.0部署及踩坑
Abnormal record-12
几款电纸书阅读器参数对比
pg库对姓名进行校验
RAC环境alert日志报错Drop transient type: SYSTP2JW0acnAurDgU1sBqMBryw==的排查
When switch case, concatenate the error case and if of the conventional judgment expression and use L