/ Published in: SQL

incremento del table space en oracle
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
--1 consulta el archivo relacionado al tablespace SELECT df.tablespace_name, df.file_name, df.bytes/1024 Allocated_kb, free.free_kb, Round(free.free_kb/(df.bytes/1024)*100) Percent_Free FROM dba_data_files df, (SELECT file_id, SUM(bytes)/1024 free_kb FROM dba_free_space GROUP BY file_id) free WHERE df.file_id=free.file_id ORDER BY Percent_Free; ---2 aumentar el tamAnio de ese archivo ALTER DATABASE DATAFILE '/opt/app/oracle/oradata/otelo/TBSP_COB.ORA' RESIZE 10120M
Comments
