【oracle案例】ORA-01658

ORA-01658: unable to create INITIAL extent for segment in tablespace string
Cause: Failed to find sufficient contiguous space to allocate INITIAL extent for segment being created.
Action: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with a smaller value for INITIAL

问题原因:
a) 表空间不足,没有设置为自动增长  
:表空间是自增长的,a)被排除
b) 磁盘空间不足,oracle无法分配空间
:查看物理磁盘空间,发现使用率为100%.
解决方法:
a) 尝试连接数据库,报错ORA-01658、ORA-09817 和操作系统错误28,操作系统没有足够的空间
b) 尝试删除归档日志,oracle没有开启archive
c) 尝试删除备份文件,没有备份
d) 查看flash_recovery_area空间大小,占用空间很小,没有删除的必要
e) 查看alert.log日志文件,无有用的报错信息
f) 咨询测试的同事,他们是否可以连接数据库,测试的同事可以连接数据库,并且可以在其它实例上创建表,现在的问题是只有sid01创建表的时候报ORA-01658
g) 尝试让测试的同事解决,我给他提供操作方法
1) 修改表空间大小
查看表空间适应情况,发现有一个表空间分配了5G多,使用率不到1G;
alter database datafile ... resize 这个表空间的数据文件。
h) 可以使用sqlplus连接数据库


删除udump、bdump、
In this Document
  Symptoms
  Cause
  Solution
  References
________________________________________
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
2. Applies to:
Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 11.1
This problem can occur on any platform.
3. Symptoms
When Startin the database, below Errors occurred

ERROR:
ORA-09817: Write to audit file failed.
HP-UX Error: 28: No space left on device
ORA-09945: Unable to initialize the audit trail file

4. Cause
Running df -k found that the Mount point where Oracle is installed is full causing the Startup to throw errors
5. Solution
To implement the solution, please execute the following steps::

Free some space from the Mountpoint

Files that can be deleted are tracefiles in the UDUMP / BDUMP / CDUMP

Note: its advisable to backup the files before they are dropped since they might be useful in future
6. References
NOTE:387200.1 - Ora-2002 Ora-9817 Error While Writing To Audit Trail

参考链接:
 oracle 压缩  http://www.oracle-base.com/articles/11g/table-compression-enhancements-11gr1.php
 空间限额:
  http://www.qqread.com/oracle/2010/03/b491150.html
http://database.ctocio.com.cn/142/12241642.shtml

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值