2010-02-04 Thu
_allow_resetlogs_corruption= TRUE
在初期恢复时出现了ORA-600 4000号错误,这个错误以前写过几个案例,一般没有好的办法,只能通过bbed修复。
不过4000号错误不一定非要用bbed修改坏块,有时候经过反复几次重新启动数据库,就可以暂时规避,尝试将数据导出。
首先出现的是:
Thu Feb 04 13:36:58 2010
Errors in file D:\oracle\admin\orcl\udump\ORA00592.TRC:
ORA-00600: internal error code, arguments: [4000], [3], [], [], [], [], [], []
SMON: disabling cache recovery
Thu Feb 04 13:36:59 2010
ORA-704 signalled during: alter database open resetlogs
多次重启后,出现4194错误:
Thu Feb 04 21:24:41 2010
SMON: enabling cache recovery
SMON: enabling tx recovery
Thu Feb 04 21:24:42 2010
Completed: alter database open
Thu Feb 04 21:24:43 2010
Errors in file D:\oracle\admin\orcl\bdump\orclSMON.TRC:
ORA-00600: internal error code, arguments: [4194], [14], [4], [], [], [], [], []
Thu Feb 04 21:24:44 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 2 Reading mem 0
Mem# 0 errs 0: D:\ORACLE\ORADATA\ORCL\REDO02.LOG
Thu Feb 04 21:24:44 2010
Errors in file D:\oracle\admin\orcl\bdump\orclSMON.TRC:
ORA-01595: error freeing extent (7) of rollback segment (2))
ORA-00600: internal error code, arguments: [4194], [14], [4], [], [], [], [], []
但是数据此时可以导出,4194错误出现在回滚段2上,当然也可以解决,这个都是大家所熟悉的了。
-The End-
相关文章|Related Articles
- ORA-07445 cold_qerfxArrayMaxSize 的Bug
- ORA-600 17285 错误 与 PL/SQL Developer
- 使用errorstack跟踪ORA-01438错误
- ORA-01157 - Mount状态下的文件存在性校验
- 使用DATAPUMP导致ORA-00600 17020错误
评论数量(0)|Add Comments
本文网址:http://www.eygle.com/archives/2010/02/ora_600_4000_4194.html
前天晚上,国内知名博客,《三联生活周刊》杂志主笔王小峰的“不许联想”因为没有备案而“被按”住了,访问其网址,会提示信息“未备案成功或未审核通过网站被拒绝访问,如有疑问请咨询当地通信管理局”。其服务器提供商马日拉给其开设了另一个域名,但数小时后也被终止访问。
据马日拉透露,王小峰的博客《不许联想》一直托管在他北京某机房的服务器上,两年多来,他申请备案一直没有回音,即不批准,也不拒绝,所以只能在网页下方注明:京ICP正在备。终于到今天,被封锁了域名。
由于备用域名和原域名指向同一个IP,一个无法访问,而另一个访问正常,同时王小峰曾经在2006年搞过一次“狼来了”的玩笑,因此Twitter上有人怀疑王小峰在“故计重演”。不过,最终从机房得到确认的确是备案而引起的问题,IDC(服务器托管商)方面表示,是按照工信部的最新通知,凡是没有通过ICP备案审核的网站,一律要加入黑名单,王小峰的博客因为没有ICP备案,所以IDC通过技术手段拒绝了其对服务器的访问。

想想还是比较悲哀的,在2006年,王小峰尚可充满自信的表演“狼来了”的故事,但到了2010年,“狼”却真的来了,这时候已经没有人能帮助他了。
根据王小峰这次的现象,国内某些机房已经实现了自动备案查询标记系统,访问该机房服务器时会自动记录域名地址,然后每小时自动查询该域名是否备案,如果未备案,则机房将不允许该域名继续访问,从而在技术上实现了必须备案域名才能接入机房。
因此,如果你的博客或网站还在国内,那么“备案”应该是无法避免的事情,如果你不去“备案”,那么下场就是“被按”。
最后,比较有意思的是,现在从Google中搜索“不许联想”或“王小峰”,会出现一个关于“不许联想-王小峰博客”的赞助商广告链接,但广告的地址却是Google博客搜索“不许联想”的结果,不知何故,王小峰的新博客地址参见该搜索结果的第三项。

相关文章:
关于我们: 地址 - www.williamlong.info 我的Google Reader - 我的Twitter - 我的Facebook - 月光博客Twitter月光博客投稿信箱:williamlong.info(at)gmail.com
说EXPDP无语,那是因为它完全不customer focus,特别是导出数据量很大表很多的schema的时候,经常”假寐”。
“假寐”就是假死,hang.
今天用expdp作用户级别的逻辑备份,该用户有2200多个表,导出文件共85G,没有使用并行大概花费了3个小时不到。
运行命令后的半个小时内,导出文件大小没有任何变化,察看active session,有个在长时间等待”wait for unread message on broadcast channel”,给人的感觉是hang住,不靠普。
后来准备开窗口使用传统的exp,继续观察expdp。”假寐”后,EXPDP先把最大的一个表给导出来了,后来又导出了几个10g的表。原来我没有碰见真死的bug。观察日志文件,expdp基本按照表从大到小进行数据导出。倒是比exp快,可惜用户体验不行。
详细命令和日志如下
yumianfeilong$> more backup_expdp.log
Export: Release 10.2.0.4.0 - 64bit Production on Wednesday, 03 February, 2010 19:54:02
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
FLASHBACK automatically enabled to preserve database integrity.
Starting “SCOTT”.”SYS_EXPORT_SCHEMA_01″: SCOTT/******** schemas=SCOTT directory=EXPDP dumpfile=backup_expdp.dmp logfile=backup_expdp.log
Estimate in progress using BLOCKS method…
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 122.4 GB
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/VIEW/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
. . exported “SCOTT”.”TABLE725″ 11.39 GB 39455120 rows
. . exported “SCOTT”.”TABLE1085″ 10.87 GB 225445 rows
. . exported “SCOTT”.”adfadsfdsf” 11.07 GB 43002 rows
. . exported “SCOTT”.”adfasdf” 163.2 MB 640381 rows
. . exported “SCOTT”.”adfasdf” 6.170 GB 5758755 rows
. . exported “SCOTT”.”adfasdf” 4.362 GB 3667986 rows
. . exported “SCOTT”.”adfsdf” 1.325 GB 39455120 rows
. . exported “SCOTT”.”werwer” 1.303 GB 4759513 rows
. . exported “SCOTT”.”fadf” 102.9 MB 58882 rows
. . exported “SCOTT”.”zzzzzzzzzzzz” 21.27 MB 77610 rows
…………………………
. . exported “SCOTT”.”xxxxxxxxxxx” 381.5 MB 4443678 rows
. . exported “SCOTT”.”cccccccccc” 314.1 MB 50703 rows
. . exported “SCOTT”.”vvvvvvvv” 360.8 MB 19679 rows
. . exported “SCOTT”.”nnnnnnnnnn” 199.3 MB 79876 rows
…………………………
. . exported “SCOTT”.”mmmmmmmmmmmmm” 55.57 MB 4719 rows
. . exported “SCOTT”.”jjjjjjjjjjjjjj” 50.01 MB 27200 rows
. . exported “SCOTT”.”kkkkkkkkkkkkk” 36.18 MB 14629 rows
. . exported “SCOTT”.”llllllll” 49.89 MB 173582 rows
……………………
. . exported “SCOTT”.”ttttttttttttt” 3.667 MB 5810 rows
. . exported “SCOTT”.”tttttttttttttt” 3.843 MB 20287 rows
. . exported “SCOTT”.”ttttttttttttttt” 2.710 MB 79876 rows
. . exported “SCOTT”.”tttttttttttttttttt” 565.6 KB 16233 rows. . exported “SCOTT”.”ahhhhhhhhhhhhhhh” 1.826 MB 38701 rows
. . exported “SCOTT”.”qqqqqqqqqqqqqqqq” 1.122 MB 65065 rows
. . exported “SCOTT”.”beeeeeeeeeee” 1.122 MB 65065 rows. . exported “SCOTT”.”Tttttttt1119″ 2.600 MB 12544 rows
. . exported “SCOTT”.”T515″ 1.810 MB 15267 rows
. . exported “SCOTT”.”T518″ 2.571 MB 34564 rows
. . exported “SCOTT”.”Tttttttttt668″ 1.937 MB 1339 rows
. . exported “SCOTT”.”Tttttttttttttt994″ 984.5 KB 1502 rows
. . exported “SCOTT”.”Taaaaaaa541″ 1.455 MB 1153 rows
. . exported “SCOTT”.”Taaaaaa593″ 1.189 MB 768 rows
. . exported “SCOTT”.”aaaaaaaaaaaaaaa” 1.512 MB 3475 rows
…………………………………………
. . exported “SCOTT”.”ABC” 28.21 KB 177 rows
. . exported “SCOTT”.”jjjjjjjjjjjjj” 761.1 KB 43002 rows
. . exported “SCOTT”.”yyyyyyyyyy” 904.7 KB 3607 rows
. . exported “SCOTT”.”ffffffffffff” 91.74 KB 797 rows
. . exported “SCOTT”.”wwwwwwwww” 259.1 KB 1 rows
. . exported “SCOTT”.”rrrrrrrrrrrrrr” 7.687 KB 140 rows
. . exported “SCOTT”.”ddddddddddddde” 7.687 KB 140 rows
……………………………….
. . exported “SCOTT”.”T991″ 12.60 KB 3 rows
. . exported “SCOTT”.”T993″ 38.60 KB 429 rows
. . exported “SCOTT”.”TTTTTTTT” 0 KB 0 rows
. . exported “SCOTT”.”bbbbbbbbbb” 0 KB 0 rows
………………………………………
Master table “SCOTT”.”SYS_EXPORT_SCHEMA_01″ successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
/oracle/TRACE/archive/EXPDP/backup_expdp.dmp
Job “SCOTT”.”SYS_EXPORT_SCHEMA_01″ completed with 0 error(s) at 22:46:43
单表expdp测试没有假死问题。
一直以来, DataReport都是用表格方式显示多行数据, 当我们查询少量字段数很多的记录时, 就不希望以表格方式显示记录, 而希望以Form格式显示, 如下面显示的员工表的信息.
EMPNO 7782 ENAME CLARK JOB MANAGER MGR 7839 HIREDATE 1981-06-09 00:00:00.0 SAL 2450 COMM DEPTNO 10
EMPNO 7839 ENAME KING JOB PRESIDENT MGR HIREDATE 1981-11-17 00:00:00.0 SAL 5000 COMM DEPTNO 10
实现这个功能, 并没有修改任何一行代码, 只是改了一下控制显示格式的XSL文件, 然后在报表定义文件中加入一行.
WEBCHART.XMLATTR=form="yes"
WEBCHART.QUERY_1=SELECT * FROM EMP WHERE DEPTNO=10
想要更丰富的格式, 只需要再改进一下XSL文件即可, 不需要修改Java代码, 不过这需要你对XML和XSLT比较熟悉.
Relative Posts:
Klaus-Peter Sabotta was an extortionist who sabotaged German railways in December 1998. Claiming to represent former employees of the German railway operator Deutsche Bahn, he demanded a ransom of DM10 million. As he attempted to collect the ransom at a filling station in Bavaria, he was ambushed by police and arrested. On February 4, 2000, he was convicted of attempted murder and attempted extortion and was sentenced to life imprisonment. What were the results of Sabotta's acts of tampering? Discuss对儿童性侵犯排行榜出炉教师排第二
——地球日记·2010年2月3日
菲律宾进入“儿童性侵犯防治月”。菲律宾儿童性侵犯防治中心用一个月的时间向该国民众进行防止对儿童性侵犯教育。防治中心主任罗萨莱斯说,在菲律宾2007年记录的9000宗对儿童的性侵犯案件中,有3000宗是家族的长辈作案。他提醒父母将孩子托付给长辈照看时,不能掉以轻心,要有防范措施。除了家族长辈,对儿童进行性侵犯最多的人依次是:教师,律师,医生,牧师和神父。
依据菲律宾儿童性侵犯防治中心的数据判断,父母有必要将孩子身边的所有成年人假设为“豺狼虎豹”,这样说似乎危言耸听。但是为什么不是所有孩子都会患乙脑,而我们要给所有孩子注射乙脑疫苗呢?
据中国《今日早报》2010年1月20日披露,中国最高人民法院副院长黄松有对未成年少女“有特殊兴趣”。
在地球人类中,披着羊皮的狼比披着狼皮的羊多多了。
美国电影奥斯卡奖今天公布了最佳影片提名,《拆弹部队》和《阿凡达》获得提名。奥斯卡奖是目前地球上电影界名望最大的奖项,已经颁发了81届。2010年是第82届。
奥斯卡奖没有奖金,但有巨大的无形资产,此时无声胜有声,此奖无钱胜有钱。
《拆弹部队》的导演是毕格罗,《阿凡达》的导演系卡梅隆。两位导演曾经是夫妻,毕格罗是妻子。后来分道扬镳。常见的夫妻分手是在财产上较劲。这对夫妻是在事业上较劲。
笔者倾向《拆弹部队》获得第82届奥斯卡最佳影片奖。
