Hey!! Sky!

2010-02-04 Thu

21:41 ORA-00600 4000 及 4194 错误小记 (3663 Bytes) » Oracle Life

作者:eygle 发布在 eygle.com

刚刚帮朋友处理一则CURRENT日志损坏的恢复,当然是使用到了:
_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

评论数量(0)|Add Comments

本文网址:

19:59 王小峰的不许联想“被按”住了 (4279 Bytes) » 月光博客

  前天晚上,国内知名博客,《三联生活周刊》杂志主笔王小峰的“不许联想”因为没有备案而“被按”住了,访问其网址,会提示信息“未备案成功或未审核通过网站被拒绝访问,如有疑问请咨询当地通信管理局”。其服务器提供商马日拉给其开设了另一个域名,但数小时后也被终止访问。

  据马日拉透露,王小峰的博客《不许联想》一直托管在他北京某机房的服务器上,两年多来,他申请备案一直没有回音,即不批准,也不拒绝,所以只能在网页下方注明:京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


16:45 说EXPDP无语 (8616 Bytes) » 玉面飞龙的BLOG

说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测试没有假死问题。

14:11 DataReport的Form格式显示 (4823 Bytes) » AnySQL.net

    一直以来, DataReport都是用表格方式显示多行数据, 当我们查询少量字段数很多的记录时, 就不希望以表格方式显示记录, 而希望以Form格式显示, 如下面显示的员工表的信息.

EMPNO7782
ENAMECLARK
JOBMANAGER
MGR7839
HIREDATE1981-06-09 00:00:00.0
SAL2450
COMM 
DEPTNO10

EMPNO7839
ENAMEKING
JOBPRESIDENT
MGR 
HIREDATE1981-11-17 00:00:00.0
SAL5000
COMM 
DEPTNO10

    实现这个功能, 并没有修改任何一行代码, 只是改了一下控制显示格式的XSL文件, 然后在报表定义文件中加入一行.

WEBCHART.XMLATTR=form="yes"
WEBCHART.QUERY_1=SELECT * FROM EMP WHERE DEPTNO=10

    想要更丰富的格式, 只需要再改进一下XSL文件即可, 不需要修改Java代码, 不过这需要你对XML和XSLT比较熟悉.

Relative Posts:

13:00 Klaus-Peter Sabotta Sentenced to Life Imprisonment (2000) (773 Bytes) » This Day in History
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
08:28 郑渊洁:对儿童性侵犯排行榜出炉教师排第二 (4737 Bytes) » 郑渊洁—皮皮鲁之父

             对儿童性侵犯排行榜出炉教师排第二

 

——地球日记·2010年2月3日

 

郑渊洁

    

      菲律宾进入“儿童性侵犯防治月”。菲律宾儿童性侵犯防治中心用一个月的时间向该国民众进行防止对儿童性侵犯教育。防治中心主任罗萨莱斯说,在菲律宾2007年记录的9000宗对儿童的性侵犯案件中,有3000宗是家族的长辈作案。他提醒父母将孩子托付给长辈照看时,不能掉以轻心,要有防范措施。除了家族长辈,对儿童进行性侵犯最多的人依次是:教师,律师,医生,牧师和神父。

    依据菲律宾儿童性侵犯防治中心的数据判断,父母有必要将孩子身边的所有成年人假设为“豺狼虎豹”,这样说似乎危言耸听。但是为什么不是所有孩子都会患乙脑,而我们要给所有孩子注射乙脑疫苗呢?

    据中国《今日早报》2010年1月20日披露,中国最高人民法院副院长黄松有对未成年少女“有特殊兴趣”。

    在地球人类中,披着羊皮的狼比披着狼皮的羊多多了。

 

 

    美国电影奥斯卡奖今天公布了最佳影片提名,《拆弹部队》和《阿凡达》获得提名。奥斯卡奖是目前地球上电影界名望最大的奖项,已经颁发了81届。2010年是第82届。

    奥斯卡奖没有奖金,但有巨大的无形资产,此时无声胜有声,此奖无钱胜有钱。

    《拆弹部队》的导演是毕格罗,《阿凡达》的导演系卡梅隆。两位导演曾经是夫妻,毕格罗是妻子。后来分道扬镳。常见的夫妻分手是在财产上较劲。这对夫妻是在事业上较劲。

     笔者倾向《拆弹部队》获得第82届奥斯卡最佳影片奖。

 

皮皮鲁总动员》由64本书构成。21世纪出版社出版。2006年至今销售出1700万本。荣获中国图书国家级最高奖项“中华优秀出版物奖”。获选新世纪最受读者关注十大少儿图书全国各地书店均有专柜销售进入网上购买点击看如何让孩子面对面跟郑渊洁学习写文章

 

 

 

08:00 Ted Turner (443 Bytes) » Quotes of the Day
"If I only had a little humility, I'd be perfect."


08:00 Carl Sandburg (471 Bytes) » Quotes of the Day
"I won't take my religion from any man who never works except with his mouth."


08:00 Blaise Pascal (509 Bytes) » Quotes of the Day
"Man is equally incapable of seeing the nothingness from which he emerges and the infinity in which he is engulfed."


08:00 Abigail Van Buren (468 Bytes) » Quotes of the Day
"It is true that I was born in Iowa, but I can't speak for my twin sister."


03:59 RAC环境中的SERVICE_NAMES参数(一) (575 Bytes) » yangtingkun
RAC环境中的各个节点的SERVICE_NAMES参数的设置可以不同。由于SERVICE_NAMES是动态参数,修改这个参数可以不关闭实例随时进行,使得这个参数的设置可以在各个实例上个性化的设置。SQL> SELECT INSTANCE_NUMBER, INSTANCE_NAME, HOST_NAME 2 FROM V$INSTANCE;INSTANCE_NUMBER INSTANCE_NAME HOST_NAME--------------- ---------------- ----------------------------------------- 1 testrac1 racnode1SQL> SELECT INSTANCE_NUMBER, INSTANCE_NAME, HOST_NAME 2 FROM GV$INSTANCE;INSTANCE_NUMBER INSTANCE_NAME HOST_NAME--------------- ...

2010-02-03 Wed

17:02 海豚湾 » 韩寒
16:00 Vaguebooking » Urban Word of the Day
13:09 Oracle Online Demos » 玉面飞龙的BLOG
12:31 PostgreSQL备份 » NinGoo.net
08:00 Unknown » Quotes of the Day
08:00 Thomas A. Edison » Quotes of the Day
08:00 Robert Benchley » Quotes of the Day
08:00 Dick Cavett » Quotes of the Day
07:52 郑渊洁:会说老虎话的羊 » 郑渊洁—皮皮鲁之父
05:59 10g PLSQL数值类型的溢出 » yangtingkun
05:59 10g PLSQL数值类型的溢出 » yangtingkun

2010-02-02 Tue

16:00 evasive mumbling » Urban Word of the Day
13:00 Hama Massacre (1982) » This Day in History
12:59 THE RECORD IN THE OCM LIST » OracleDBA Blog---三少个人涂鸦地!
11:59 招聘中级ORACLE DBA ,工作地点杭州 » OracleDBA Blog---三少个人涂鸦地!
08:41 郑渊洁:建议北京人大代表就“车灯”提案 » 郑渊洁—皮皮鲁之父
08:00 Georg Christoph Lichtenberg » Quotes of the Day
08:00 Francois de La Rochefoucauld » Quotes of the Day
08:00 E. Joseph Cossman » Quotes of the Day
08:00 Albert Einstein » Quotes of the Day
06:59 Tuning NAME-VALUE pair architecture application » Ask Tom MOST RECENT ARTICLES

2010-02-01 Mon

16:00 Street Creep » Urban Word of the Day
13:16 郑渊洁:《阿凡达》讴歌叛徒初见成效 » 郑渊洁—皮皮鲁之父
13:14 东拉西扯:Hulu不是那根稻草 » 对牛乱弹琴 | Playin' with IT

2010-01-31 Sun

23:24 Firefox手机版正式发布 » 月光博客
16:05 郑渊洁:从孩子吃饭看中国教育 » 郑渊洁—皮皮鲁之父
16:00 that's a good question » Urban Word of the Day

2010-01-30 Sat

16:00 the time » Urban Word of the Day
09:28 郑渊洁:王志弄了7000万 » 郑渊洁—皮皮鲁之父

2010-01-29 Fri

16:00 Grand Theft Impairment » Urban Word of the Day
10:03 郑渊洁:麦田没有了守望者 » 郑渊洁—皮皮鲁之父

2010-01-28 Thu

20:16 谈谈历史遗留问题 » AnySQL.net