0% found this document useful (0 votes)
40 views2 pages

2i Tablespace Online

A tablespace in Oracle is a logical storage unit that contains one or more datafiles. The database data is stored collectively across multiple tablespaces, with each tablespace composed of at least one physical datafile on the operating system. There are mandatory tablespaces like SYSTEM, SYSAUX, UNDO and TEMP that are required by the database as well as other tablespaces that can be created as needed to store user data.

Uploaded by

Tanmoy Nandy
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
40 views2 pages

2i Tablespace Online

A tablespace in Oracle is a logical storage unit that contains one or more datafiles. The database data is stored collectively across multiple tablespaces, with each tablespace composed of at least one physical datafile on the operating system. There are mandatory tablespaces like SYSTEM, SYSAUX, UNDO and TEMP that are required by the database as well as other tablespaces that can be created as needed to store user data.

Uploaded by

Tanmoy Nandy
Copyright
© © All Rights Reserved
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
You are on page 1/ 2

Tablespace ::

what is tablespace? what is datafile? mandatory tablespace, type of tablespace

An Oracle database is comprised of one or more logical storage units called tablespaces. The database's data is
collectively stored in the database's tablespaces. tablespaces and datafiles. Each tablespace in an Oracle database is
comprised of one or more operating system files called datafiles. ... databases and datafiles.

system,sysaux(from 10g),undo,temp tablespace are mandetory....


follow the doc ...............................

Q. How to create a Tablespace?

sql> create tablespace sales datafile '/u02/app/oracle/oradata/orcl/sales01.dbf' size 100M;

Q. How to resize tablespace?

sql> alter database datafile '/u02/app/oracle/oradata/orcl/sales01.dbf' resize 150M;

Q. How to resize tablespace ..... adding datafile?

alter tablespace sales add datafile '/u01/app/oracle/oradata/orcl/sales02.dbf' size 50M;

Q. Details of all tablespace

sql> select tablespace_name,sum(bytes/1024/1024),count(file_name) from dba_data_files group by tablespace_name;

Q. Details of a tablespace
sql> select tablespace_name,sum(bytes/1024/1024) from dba_data_files group by tablespace_name having
tablespace_name='SALES';

Q. tablespace offline/online/read only / read write..........

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy