当前位置:网站首页>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
边栏推荐
- Build an OSS based image sharing website - polite feedback
- OVS and OVS + dpdk architecture analysis
- Oracle和mysql批量查询用户下所有表名和表名注释
- How to use tiup to deploy a tidb V5 0 cluster
- Abnormal record-12
- Winter combat camp hands-on combat - cloud essential environment preparation, hands-on practical operation, quickly build lamp environment, lead mouse cloud Xiaobao backpack without shadow
- 异常记录-9
- 用Future与CountDownLatch实现多线程执行多个异步任务,任务全部完成后返回结果
- Introduction to the top 12 domestic databases in 2021
- [shell script exercise] batch add the newly added disks to the specified VG
猜你喜欢
Basic concepts of database: OLTP / OLAP / HTAP, RPO / RTO, MPP
OVS and OVS + dpdk architecture analysis
Ali vector library Icon tutorial (online, download)
Thanos compact component test summary (processing historical data)
Dolphinscheduler调度sql任务建表时The query did not generate a result set异常解决
SSM项目在阿里云部署
基于ECS搭建云上博客(云小宝码上送祝福,免费抽iphone13任务详解)
MySQL 【读写锁+表锁+行锁+MVCC】
Problems related to Prometheus cortex using block storage
使用prom-label-proxy实现Prometheus Thanos的基于标签的多租户读
随机推荐
[no steps in a small step to a thousand miles] Oracle Application derivative ora-01455 error reporting processing
High performance gateway for interconnection between VPC and IDC based on dpdk
How does VirtualBox modify the IP network segment assigned to the virtual machine in the "network address translation (NAT)" network mode
RAC环境集群组件gpnp未启动成功问题分析
pg库对姓名进行校验
[OSS file upload quick start]
MySQL索引【数据结构+索引创建原则】
ACFS文件系统创建扩大缩小等配置步骤
异常记录-8
Introduction to RDMA network
异常记录-18
[ES6 quick start]
阿里云日志服务sls的典型应用场景
Abnormal record-12
Introduction to common APIs for EBFP programming
OVS and OVS + dpdk architecture analysis
将数组中指定的对象排在数组的前边
Build a cloud blog based on ECS (send blessings on the cloud Xiaobao code and draw iphone13 for free)
用反射与注解获取两个不同对象间的属性值差异
Detailed explanation of RDMA programming