You are on page 1of 2

to check free space SQL> select sum(bytes)/1024/1024 from dba_free_space where tablespace_name ='APP S_TS_INTERFACE'; SUM(BYTES)/1024/1024 -------------------SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP, Data Mining, Oracle Database Vault and Real Application Testing options go to below directories : lnxdb-pts-422 TS4EIF1 /opt/oracle > cd /oracle/admin/TS4EIF1/control -bash: cd: /oracle/admin/TS4EIF1/control: No such file or directory lnxdb-pts-422 TS4EIF1 go to the below path /opt/oracle > cd /usr/tools/oracle/Standard/script lnxdb-pts-422 TS4EIF1 pass the node info which you are connected /usr/tools/oracle/Standard/script > -rwxr-x--- 1 oracle dba 8795 May 19 -rwxr-x--- 1 oracle dba 8795 Aug 12 -rwxr-x--- 1 oracle dba 6624 Mar 4 -rwxr-xr-x 1 oracle dba 6624 Mar 4 ls -ltr free* 2008 free_vol.sh.may19_2008 2008 free_vol.sh.blkdev 2010 free_vol.sh.tmp 2010 free_vol.sh

lnxdb-pts-422 TS4EIF1 /usr/tools/oracle/Standard/script > ./free_vol.sh TS4EIF1 The Oracle base for ORACLE_HOME=/oracle/product/11.2.0.1/TS4EIF is /oracle/produ ct/11.2.0.1/TS4EIF 0 ============================================================= TS4EIF1 FREE Volumes are : /dev/mapper/oraTS4EIF_data_031_8600Mp3 /dev/mapper/oraTS4EIF_data_032_8600Mp3 /dev/mapper/oraTS4EIF_data_033_8600Mp3 /dev/mapper/oraTS4EIF_data_034_8600Mp3 /dev/mapper/oraTS4EIF_data_035_8600Mp3 type lsof /dev/mapper/oraTS4EIF_data_031_8600Mp if it's used it will show below otherwsie it will be free Use the free File to add to tablespace Adding datafiles SQL> alter tablespace XXAPPS_TS_INTERFACE add datafile '/dev/mapper/oraTS2OMR_da ta_013_8600Mp3' size 8600m;

You might also like