oracle表空間增大方法

2021-07-25 09:29:49 字數 480 閱讀 1425

第一步:檢視表空間的名字及檔案所在位置:

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

VirtualBox增大空間方法

開啟cmd,進入到具體虛擬機器映象的存放位置。輸入命令 vboxmanage modifyhd uuid resize 25000,這裡的25000單位是m,表示修改後的硬碟大小。若是vboxmanage 這個命令無法識別則說明,並沒有將virtualbox的安裝路徑下的bin目錄寫入path變數之...

DDL操作導致oracle表空間增大的小知識

ddl create table 建立表 alter table 修改表 drop table 刪除表 truncate table 刪除表中所有行 create index 建立索引 drop index 刪除索引當執行ddl語句時,在每一條語句前後,oracle都將提交當前的事務。如果使用者使用...

ORACLE 表空間擴充套件方法

oracle 表空間擴充套件方法 環境 linux系統 工具 pl sql developer 第一步 檢視表空間的名字及檔案所在位置 select tablespace name,file id file name round bytes 1024 1024 0 total space from ...