2
Oracle XE 데이터베이스가 있고 SYSAUX.DBF 파일은 14GB입니다.Oracle XE SYSAUX 공간
나는이 스크립트를 실행
select occupant_desc, space_usage_kbytes
from v$sysaux_occupants
where space_usage_kbytes > 0 order by space_usage_kbytes desc;
을 그리고 이것은 결과입니다
XDB 385920
Server Manageability - Automatic Workload Repository 92608
Server Manageability - Optimizer Statistics History 68352
Oracle Spatial 48896
Unified Job Scheduler 29888
LogMiner 12544
Server Manageability - Advisor Framework 7808
Server Manageability - Other Components 6720
Oracle Text 6272
Transaction Layer - SCN to TIME mapping 3328
SQL Management Base Schema 1728
PL/SQL Identifier Collection 1664
OLAP API History Tables 1536
Analytical Workspace Object Table 1536
Logical Standby 1408
Oracle Streams 1024
Automated Maintenance Tasks 320
그래서, 그것은 단지 655메가바이트입니다.
내가 이것을 실행하려고 :
SQL Error: ORA-03297: file contains used data beyond requested RESIZE value
03297. 00000 - "file contains used data beyond requested RESIZE value"
*Cause: Some portion of the file in the region to be trimmed is
currently in use by a database object
*Action: Drop or move segments containing extents in this region prior to
resizing the file, or choose a resize value such that only free
space is in the trimmed.
아무도 내가 어떻게 내 SYSAUX.DBF 파일을 줄일 수있는 저를 도와주세요 수 :
alter database datafile 'C:\oraclexe\app\oracle\oradata\XE\SYSAUX.DBF' resize 1000m;
나는이 오류가있어?
서버에 여유 공간이 없기 때문에이 작업을 수행하고 싶습니다. :(나는 다른 것을 삭제할 수 없습니다. 해결책이 없습니까? 전체 파일을 삭제 한 다음 새 파일을 만들면 어떻게됩니까? 데이터베이스를 벽돌로 만들 것인가? – solarenqu
파일 시스템 압축 옵션을 얻었습니까? –
그것은 오래된 Windows 서버 2008입니다. :) 우리는 어떤 압축 옵션도 가지고 있지 않습니다. :(우리는 단지 50GB HDD를 가지고 있습니다. :(그래서 유일한 옵션은이 파일을 줄이는 것입니다.) – solarenqu