---
title: "表空间容量不足时的错误信息"
author: "fantasyday"
date: "2008-08-25T21:52:01Z"
tags: ["F#"]
slug: "untitled"
draft: false
lastmod: "2008-08-25T21:52:01Z"
id: 232574
url: "https://fantasyday.iteye.com/blog/232574"
---

现象：
ORA-00604
ORA-01655

分析：
・データファイルの場所は？ 
select tablespace_name, file_name from dba_data_files


select d.tablespace_name,"file_size(M)" , "max_freesize(M)",
max_freeblocks ,"sum_freesize(M)"
from (select tablespace_name,sum(bytes)/(1024*1024) as "file_size(M)"
from dba_data_files
group by tablespace_name) d,
(select tablespace_name,max(bytes)/(1024*1024) as "max_freesize(M)",
sum(bytes)/(1024*1024) as "sum_freesize(M)",max(blocks) as max_freeblocks
from dba_free_space
group by tablespace_name) f
where f.tablespace_name=d.tablespace_name
order by 2 desc ,3 desc;

对策：
alter database datafile '/sc10/gdse/gdsedata/system01.dbf' resize 1100m;

待解决：

