网站首页
本站精华
免费下载
游客:
注册
|
登录
|
会员
|
搜索
|
帮助
LoveUnix
»
ORACLE等数据库
» DBA经常遇到的十个比较常见的问题
‹‹ 上一主题
|
下一主题 ››
投票
交易
悬赏
活动
打印
|
推荐
|
订阅
|
收藏
标题: DBA经常遇到的十个比较常见的问题
rwq_
技术专家
笨笨
UID 77742
精华
2
积分 100
帖子 177
活跃指数 29
LU金币 394 个
LU金条 0 个
阅读权限 200
注册 2007-2-10
#1
大
中
小
使用道具
发表于 2007-4-22 16:43
资料
个人空间
短消息
加为好友
DBA经常遇到的十个比较常见的问题
This document contains information about errors frequently encountered by
new DBAs, along with appropriate actions to be taken in each circumstance.
1) ORA-1547
a) on Rollback segment when importing.
Specify commit=y and a large buffer on import. This way the Rollback
will be released after each array, as opposed to each object.
b) when allocating an extent on a tablespace with alot of free space.
Select max(blocks) from DBA_FREE_SPACE. You may have free space but it
might not be contiguous. Make sure it is greater than the extent it
is trying to allocate. You can reduce the storage parameters NEXT and
PCTINCREASE if it isn't.
2) ORA-1556 max extents of 121 exceeded when storage is set for maxextents
of 999.
Most platforms have a max of 121 even though it allows you to specify
999. (see the readme for your platform)
3) ORA-1090 shutdown in progress when starting up even after a shutdown was
issued quite some time ago.
If the background processes aren't running the SGA could have been left
out there... Issue a startup force open (which does a shutdown abort
first).
4) IMP-0003, ORA-942 and IMP-00023 on import.
Run catalog.sql and expvew.sql (renamed catexp.sql in v7) as sys before
the import. Both files are in $ORACLE_HOME/rdbms/admin (UNIX).
5) ORA-904 Invalid column name on import.
Run expvew.sql (catexp.sql) before the import.
6) ORA-1034 Oracle not available.
Startup the DB first...if it is started check your searchpath.
Make sure that ORACLE_SID is set correctly For setuid issues, see
PRE 1006554.6.
7) ORA-1578 Oracle Data Block corrupted (file # num and block # num)
To determine where the corruption is:
select * from sys.dba_extents where file_id = filenum and blocknum
between block_id and (block_id + blocks - 1);
The filenum and blocknum are the numbers in the 1578 error.
This query should give the segment_name and segment_type
(i.e table and its name).
In order to salvage the uncorrupted part of the table you can add
an entry to the init.ora:
event = "10231 trace name context forever"
This will skip the corrupted block on a table scan. Export the table,
drop and recreate it from import.
8) ORA-604 what does it mean?
Usually it comes with another error such as 1547....if it can't be found
in any of the trace files try setting the following event in init.ora and
restarting the DB.
event="604 trace name errorstack forever"
for the output of this look in the trace files in the directory given by
the USER_DUMP_DEST parameter in init.ora.
9) My create database is failing with ORA-1519: error while processing file
Take out the INIT_SQL_FILES param out of init.ora, run the scripts
by hand after the database is created.
10) Out of shared memory (ORA-4031).
Try de-fragmenting the shared pool by running an 'alter system flush
shared_pool' If that is not enough, increase the shared_pool_size
parameter.
[
本帖最后由 rwq_ 于 2007-4-22 16:44 编辑
]
五“宅”一生
LU大天使
UID 57209
精华
1
积分 1613
帖子 2840
活跃指数 20
LU金币 2764 个
LU金条 0 个
阅读权限 70
注册 2006-10-23
#2
大
中
小
使用道具
发表于 2007-4-23 19:07
资料
个人空间
短消息
加为好友
谢谢老大分享
statistics
LU新生
UID 88659
精华 0
积分 8
帖子 14
活跃指数 1
LU金币 15 个
LU金条 0 个
阅读权限 10
注册 2007-4-23
#3
大
中
小
使用道具
发表于 2007-4-23 20:14
资料
个人空间
短消息
加为好友
第10个不是de-fragmentation而是flush out,也就是清空cache了的explained sql statment,那些经常使用的sql遇到再次解析时,需要重新生成查询计划。
rwq_
技术专家
笨笨
UID 77742
精华
2
积分 100
帖子 177
活跃指数 29
LU金币 394 个
LU金条 0 个
阅读权限 200
注册 2007-2-10
#4
大
中
小
使用道具
发表于 2007-4-23 22:52
资料
个人空间
短消息
加为好友
QUOTE:
原帖由
statistics
于 2007-4-23 20:14 发表
第10个不是de-fragmentation而是flush out,也就是清空cache了的explained sql statment,那些经常使用的sql遇到再次解析时,需要重新生成查询计划。
哈哈,好眼力,
这只是基本的处理办法而已。关于ORA-04031问题,在METALINK上可以找到一大堆的资料出来。
chinamail
LU幼天使
UID 88667
精华 0
积分 96
帖子 171
活跃指数 13
LU金币 135 个
LU金条 0 个
阅读权限 20
注册 2007-4-23
#5
大
中
小
使用道具
发表于 2007-4-25 19:58
资料
个人空间
短消息
加为好友
谢谢老大分享
hyj136
LU幼天使
UID 1795
精华
1
积分 112
帖子 219
活跃指数 6
LU金币 2036 个
LU金条 0 个
阅读权限 20
注册 2003-11-6
#6
大
中
小
使用道具
发表于 2007-5-9 16:46
资料
个人空间
短消息
加为好友
我是没有遇到的
我是一个乡巴佬 ,乡巴佬 。。。
[广告]
记录自己的思想火花,留住每日的技术积累,尽在拥有属于自己独立域名的博客。
jechi
LU新生
UID 2597
精华 0
积分 8
帖子 15
活跃指数 0
LU金币 2019 个
LU金条 0 个
阅读权限 10
注册 2003-11-17
#7
大
中
小
使用道具
发表于 2007-10-18 15:56
资料
个人空间
短消息
加为好友
thanks
[广告]
记录自己的思想火花,留住每日的技术积累,尽在拥有属于自己独立域名的博客。
smallflower
LU小天使
UID 31722
精华 0
积分 297
帖子 479
活跃指数 26
LU金币 2505 个
LU金条 0 个
阅读权限 20
注册 2005-5-9
#8
大
中
小
使用道具
发表于 2007-11-23 14:40
资料
个人空间
短消息
加为好友
学习了
只有几个问题碰到过
[广告]
记录自己的思想火花,留住每日的技术积累,尽在拥有属于自己独立域名的博客。
smallflower
LU小天使
UID 31722
精华 0
积分 297
帖子 479
活跃指数 26
LU金币 2505 个
LU金条 0 个
阅读权限 20
注册 2005-5-9
#9
大
中
小
使用道具
发表于 2007-11-23 14:43
资料
个人空间
短消息
加为好友
学习了
只有几个问题碰到过
[广告]
记录自己的思想火花,留住每日的技术积累,尽在拥有属于自己独立域名的博客。
投票
交易
悬赏
活动
LoveUnix
专项技术区
> AIX -IBM UNIX
> 其他UNIX & Linux
> i5 (AS400) & IBM大机
> PC Server & HPC
> 存储设备
> 备份软件
> 网络 & 安全
> 编程开发 & Rational
> DB2 & Informix
> ORACLE等数据库
> 中间件技术
行业综合区
> 职业咨询 前程无忧
> 培训认证 行业入门
> 行业应用 项目实施
> 产品信息 商务交流
> Free download下载
交流灌水区
> 蓝色太平洋
> 墨香雅韵
> 论坛建设
> 博客专区
当前时区 GMT+8, 现在时间是 2008-10-11 15:21
乐悠LoveUnix论坛-京ICP备05005823号
Thanks to
Discuz!
© 2001-2007 Power by
LoveUnix.net
Processed in 0.090645 second(s), 6 queries , Gzip enabled
TOP
清除 Cookies
-
联系我们
-
乐悠LoveUnix
-
Archiver
界面风格
----------
Discuz! 5 Default
新DISCUZ风格
控制面板首页
编辑个人资料
积分交易
公众用户组
好友列表
升级个人空间
基本概况
流量统计
客户软件
发帖量记录
论坛排行
主题排行
发帖排行
积分排行
在线时间
管理团队
管理统计