17.03.2015 Views

Oracle pre-patch configuration document - download.gofrugal...

Oracle pre-patch configuration document - download.gofrugal...

Oracle pre-patch configuration document - download.gofrugal...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Please Check Require Tablespaces Size and Disk Space Here: Size Estimator<br />

PRECHECK LIST<br />

Scenario<br />

CHECK 1 : MIN FREE DISKSPACE is<br />

DUMP FILESIZE i.e. If 100 GB dumpfile<br />

need to be imported, harddisk MUST have<br />

minimum 100GB<br />

Solution<br />

Contact System Administrator to add required<br />

disk space<br />

Procedure : Before dump data into database<br />

check available disk space<br />

Linux: df -lh<br />

Windows: du -skh<br />

CHECK2: 2GB FREE TEMP TABLESPACE<br />

is MINIMUM REQUIREMENT<br />

Procedure : check used & available space of<br />

temp tablespace using following query<br />

select bytes_used/1024/1024 Used,<br />

bytes_free/1024/1024 Free from<br />

v$temp_space_header;<br />

if available temp space is = zero<br />

1. To Clear temp space do following<br />

CREATE TEMPORARY TABLESPACE<br />

temp01 TEMPFILE 'path' SIZE 2048M<br />

AUTOEXTEND ON NEXT 100M MAXSIZE<br />

UNLIMITED EXTENT MANAGEMENT<br />

LOCAL UNIFORM SIZE 16M;<br />

PATH: please mention the path to place a file i.e<br />

'e:\oradata\temp02.dbf' in above query<br />

PATH: Please mention the path to place a file i.e<br />

'/home/oracle/app/product/oradata/tepm02.dbf'<br />

in above query<br />

ALTER DATABASE DEFAULT TEMPORARY<br />

TABLESPACE temp01;<br />

CHECK3: DUMP FILE SIZE EQUAL<br />

USERS TABLESPACE SIZE is MINIMUM<br />

REQUIREMENT ADD DATAFILES WITH<br />

AUTOEXTEND<br />

Procedure : To Check used & available space of<br />

USERS tablespace<br />

Free space in USERS:<br />

select tablespace_name, sum(bytes)/1024/1024<br />

FREE from dba_free_space group by<br />

tablespace_name having tablespace_name =<br />

'USERS';<br />

drop tablespace temp including contents and<br />

datafiles;<br />

To Add more free space or required space in<br />

USERS tablespace<br />

ALTER TABLESPACE USERS ADD<br />

DATAFILE 'path' SIZE 2048M AUTOEXTEND<br />

ON NEXT 200m MAXSIZE UNLIMITED;<br />

PATH: please mention the path to place a file i.e<br />

'e:\oradata\users02.dbf' in above query<br />

PATH: Please mention the path to place a file i.e<br />

'/home/oracle/app/product/oradata/users02.dbf'<br />

in above query<br />

USED space in USERS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!