Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle tablespace datafile max size

SELECT * FROM DBA_DATA_FILES WHERE TABLESPACE_NAME = 'my_tbs' ORDER BY FILE_NAME;

ALTER TABLESPACE my_tbs ADD DATAFILE '/path/to/my_file.dbf' 
	SIZE 100M AUTOEXTEND OFF;
-- Autoextend with max size:
ALTER TABLESPACE my_tbs ADD DATAFILE '/path/to/my_file.dbf' 
	SIZE 10G AUTOEXTEND ON NEXT 1G MAXSIZE 32000M;    
-- For TEMP tablespace:
ALTER TABLESPACE my_tbs ADD TEMPFILE '/path/to/my_file.dbf' 
	SIZE 100M AUTOEXTEND OFF;
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle explain plan 
Sql :: is there any command to change postgres password 
Sql :: find difference in dates sql 
Sql :: SELECT NUMBER OF rows for all tables oracle 
Sql :: mysql how to subtract dates 
Sql :: show processlist mysql full query 
Sql :: if not exists insert sql 
Sql :: oracle to_number 
Sql :: mysql last year 
Sql :: sql random number between 1000 and 9999 
Sql :: mysql incrementation 
Sql :: how to check if the view exists in sql server 
Sql :: mysqli_connect using prepare statement 
Sql :: how to pass password mysql command line 
Sql :: mysql does sentence contain word 
Sql :: oracle invalid table name 
Sql :: SQL: merging multiple row data in string 
Sql :: linebreak sql 
Sql :: sql count having 
Sql :: postgres set default schema 
Sql :: insert data in pgsql 
Sql :: delete top N rows in sql 
Sql :: join update query in sql 
Sql :: oracle difference between two dates in seconds 
Sql :: mysql trim 
Sql :: ubuntu connect to mssql database 
Sql :: sql add two values together 
Sql :: postgres cast as currency format 
Sql :: oracle create table auto generated primary key 
Sql :: enable constraint in sql 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =