Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle alter tablespace add datafile autoextend 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 add datafile to tablespace 
Sql :: postgresql change value in column 
Sql :: mysql safe mode 
Sql :: create function in microsoft sql server 
Sql :: sql server convert string to date 
Sql :: postgresql insert select 
Sql :: retrieve meaning 
Sql :: size of all tables in a schema oracle 
Sql :: mysql parse int 
Sql :: sql add months to date 
Sql :: mysql select column where has non int values 
Sql :: oracle sysdate - 1 month 
Sql :: sql select between two dates 
Sql :: where not in array sql 
Sql :: purge undo tablespace oracle 11g 
Sql :: MYSQL HOT TO COUNT THE DURATION BETWEEN TWO DATES 
Sql :: delete all content in table mysql 
Sql :: replace all numbers in mysql 
Sql :: remove binlog mysql 
Sql :: ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails 
Sql :: mysqldump: Got error: 1045: Access denied for user 
Sql :: postgres type cast to string 
Sql :: how to sort names in alphabetical order in sql 
Sql :: sql server get schema of table 
Sql :: change row in sql 
Sql :: amazon linux postgresql client 
Sql :: plsql triggers 
Sql :: Assign value to var in SQL 
Sql :: postgresql create query 
Sql :: sql query to list all tables in a database sql server 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =