Oracle表空间扩展

 时间:2026-02-14 06:26:48

1、第一步:查看表空间的名字及文件所在位置:

select tablespace_name, file_id, file_name,

round(bytes/(1024*1024),0) total_space

from dba_data_files

order by tablespace_name

Oracle表空间扩展

2、第二步:增大所需表空间大小:

alter database datafile '表空间位置'resize 新的尺寸

例如:

alter database datafile '\oracle\oradata\anita_2008.dbf' resize 4000m

3、第三步:设置表空间自动扩展

alter database datafile '\oracle\oradata\anita_2008.dbf'

      autoextend on next 100m maxsize 10000m

  • 宝宝辅食好选择——手工蔬菜面条!
  • 自闭症的诊断标准
  • 黄片糖煮荷包蛋
  • 【粤菜】海带金针拌凉粉
  • 香酥肉饼的做法
  • 热门搜索
    建模是什么意思 9月什么星座 散瞳是什么意思 冠状病毒是什么 什么是缓刑 什么食物含维生素b 虚荣心是什么意思 丢包是什么意思 包干价是什么意思 什么是蜘蛛痣