The document discusses how to create, modify, and view tablespaces in an Oracle database. It describes using SQL commands like CREATE TABLESPACE to define new tablespaces with one or more datafiles, ALTER TABLESPACE to add or modify datafile properties like size and autoextend settings, and a SELECT query to view tablespace usage statistics including total size, free space, and percentage free for each tablespace.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
55 views2 pages
Table Spaces
The document discusses how to create, modify, and view tablespaces in an Oracle database. It describes using SQL commands like CREATE TABLESPACE to define new tablespaces with one or more datafiles, ALTER TABLESPACE to add or modify datafile properties like size and autoextend settings, and a SELECT query to view tablespace usage statistics including total size, free space, and percentage free for each tablespace.
ALTER TABLESPACE users ADD DATAFILE '/u02/oracle/rbdb1/users03.dbf' SIZE;
ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/users03.dbf' AUTOEXTEND OFF; ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/users03.dbf' AUTOEXTEND ON NEXT 512K MAXSIZE 250M;