ORACEL modify tablespace file size


--Query table for all user tablespaces
select username,default_tablespace from dba_users; --User

tablespace
select username, DEFAULT_TABLESPACE from dba_users where username='scott'; --Data

files corresponding to
tablespace select * from dba_data_files where tablespace_name='USERS '; --Modify

tablespace file size
alter database datafile '/data/ora11g/oradata/users02.dbf' resize 100m;

alter database datafile '/data/ora11g/oradata/users02.dbf' autoextend on next 50m maxsize 500m;

alter tablespace users add datafile '/data/ora11g/oradata/users03.dbf' size 300m;  

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326978906&siteId=291194637