Skip to content

Assignment 2

Rahul Thapa edited this page Jul 31, 2026 · 5 revisions

Create a tablespace sha_tb01.

image

Verifying the tablespace
image

Create a datafile named as shadb01.dbf in '/opt/stage/shadb01.dbf' with size 2GB

image

How to resize datafile shadb01.dbf to 4G

image

How to check list of datafiles and tablespaces in database.

List all datafiles image

List all tablespaces image

Command to check tablespace utilization (free, used)

NOT DONE

How will you check the number of datafile & its size which belongs to spcific tablespace.

image

How to Drop non default datafile?

image

TEMP TABLESPACE:

Create temp datafile sha_tmp with 200M size.

image

Check number of temp datafiles with size.

image

Command to check temp tablespace Utilization (free, tused)

image

How to Drop temp (Default) datafile?

image

UNDO TABLESPACE:

How to add undo datafile with size 1GB?

image

How to check undo retention parameter at Database level?

image

How to increase undo retention polity for 1Day?

image

Commands to check undo tablespace utilization.

image

How to Drop undo datafile?

image

Clone this wiki locally