Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle add datafile to tablespace

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 :: alter tablespace add datafile 
Sql :: centos 8 install mysql 
Sql :: how to find column in all the tables sql 
Sql :: convert to hexadecimal sql 
Sql :: find wordpress version in database 
Sql :: sql auto timestamp 
Sql :: mysql pretty date format 
Sql :: phpmyadmin delete user 
Sql :: oracle like case insensitive 
Sql :: how to reset table in sql server 
Sql :: docker export psql sql 
Sql :: mysql remove only_full_group_by permanently 
Sql :: sql to char function with date 
Sql :: mysql check auto increment value 
Sql :: oracle undo usage 
Sql :: ORA-00903 
Sql :: mysql select another database 
Sql :: convert rows to columns in sql server 
Sql :: mysql list users 
Sql :: sqlite3 read only 
Sql :: delete record mysql query 
Sql :: get date ISO in psql 
Sql :: mysql query first character 
Sql :: sql get last id 
Sql :: spring datasource properties mysql 
Sql :: how to use group_concat in sql server 
Sql :: copy table in mysql with data 
Sql :: postgres check for foreign key 
Sql :: postgres json to string 
Sql :: mysql delete all except 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =