If you need to add an additional data file to an Oracle Tablespace:
ALTER TABLESPACE
users
ADD DATAFILE
'AdditionalUsersTablespace.dbf'
size 100m
AUTOEXTEND ON
NEXT 10M
More info from these posts:
http://www.dba-oracle.com/t_alter_tablespace_add_datafile.htm
http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_3002.htm
This blog is a depository for things I have found regarding VB.NET and C#.NET development (and other things I may need to remember). This blog is primarily for my own reference, but if the information I found is useful to others, then that is great. If others want to contribute with comments or other information, then that is great too.
Showing posts with label Tablespace. Show all posts
Showing posts with label Tablespace. Show all posts
Thursday, March 26, 2015
Sunday, June 26, 2011
Creating a Tablespace in Oracle with SQL
I never can seem to remember the SQL to create a tablespace in Oracle. I am posting my example that I use to I can easily find it again in the future:
create tablespace MyTableSpaceName
logging
datafile 'MyTableSpaceFile.dbf'
size 32m
autoextend on
next 32m maxsize unlimited
extent management local;
Labels:
Oracle,
Tablespace
Subscribe to:
Posts (Atom)