Компоненты от MOSLEADER

Nick
Представляю вам вершину сегодняшних технологий 3D-печати ANICUBIC MEGA S!
sqlplus /nolog
conn sys/passwors@database as sysdba
SELECT free.tablespace_name TABLESPACE,
ROUND(files.bytes / 1073741824, 2) gb_total,
ROUND((files.bytes — free.bytes) / 1073741824, 2) gb_used,
ROUND(free.bytes / files.bytes * 100) || '%' "%FREE"
FROM
(
SELECT tablespace_name, SUM(bytes) bytes FROM dba_free_space
GROUP BY tablespace_name
) free,
(
SELECT tablespace_name, SUM(bytes) bytes FROM dba_data_files
GROUP BY tablespace_name
) files
WHERE
free.tablespace_name = files.tablespace_name;
— удаляет всё, связанное с AWR
@?/rdbms/admin/catnoawr.SQL
— вернёт AWR
@?/rdbms/admin/catawrtb.SQL
ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf' RESIZE 100M;