当前位置:网站首页>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
边栏推荐
- Abnormal record-12
- 冬季实战营 动手实战-初识上云基础,动手实操ECS云服务器新手上路 领鼠标 云小宝 背包 无影
- 冬季实战营动手实战-上云必备环境准备,动手实操快速搭建LAMP环境 领鼠标 云小宝 背包 无影
- Comparison between Prometheus thanos and cortex components
- 基于EMR离线数据分析-反馈有礼
- pg库对姓名进行校验
- 异常记录-15
- How does VirtualBox modify the IP network segment assigned to the virtual machine in the "network address translation (NAT)" network mode
- Oracle redo log产生量大的查找思路与案例
- Exception record-8
猜你喜欢

Memcached source code analysis

ACFS文件系统创建扩大缩小等配置步骤

实践使用PolarDB和ECS搭建门户网站
![[OSS file upload quick start]](/img/db/9043d1df0163a7154bebac8e79097f.png)
[OSS file upload quick start]

Prometheus Thanos快速指南

SSM项目在阿里云部署

Practice using polardb and ECs to build portal websites

使用prom-label-proxy实现Prometheus Thanos的基于标签的多租户读

Typical application scenarios of alicloud log service SLS

Introduction to RDMA network
随机推荐
关于 synchronized、ThreadLocal、线程池、Atomic 原子类的 JUC 面试题
MySQL【sql性能分析+sql调优】
PG SQL截取字符串到指定字符位置
Problems related to Prometheus cortex using block storage
异常记录-7
关于Postgres主从复制延迟监控的错误告警问题
Detailed explanation of RDMA programming
JS format current time and date calculation
ACFS文件系统创建扩大缩小等配置步骤
Basic concepts of database: OLTP / OLAP / HTAP, RPO / RTO, MPP
RAC环境中openssh版本对SSH互信创建的影响
实践使用PolarDB和ECS搭建门户网站
Kubernetes coredns FAQ reference
js 函数包裹forEach中使用return跳不出外层函数
常用于融合去重的窗口函数row_number
异常记录-18
pycharm Install packages failed
prometheus告警记录持久化(历史告警保存与统计)
Dolphinscheduler调度sql任务建表时The query did not generate a result set异常解决
Chaos takes you to the chaos project quickly