Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

4

主题
1#
发表于 2012-12-20 14:18:55 | 查看: 7455| 回复: 4
环境:windows 2008 64bit+oracle11.2.0.1 RAC
问题描述:
通过sql server的透明网关,在oracle建立了一个名字叫hkdata的dblink,通过dblink访问sqlserver中的数据,用如下语句建立了一个视图(其中称重记录是sqlserver中的一个表名):
create or replace view v_hkdb1 as
select "编号" as bdh,
       "收货单位" as shdw,
       "车牌号" as ch,
       "货名" as wpmc,
       "毛重" / 1000 as mz,
       "皮重" / 1000 as pz,
       "净重" / 1000 as jszl,
       '吨' as dw,
       "单价" as dj,
       "金额" as je,
       "送货单位" as ghdw,
       "操作员" as sby1bh
  from 称重记录@hkdata ;

执行中提示ORA-600错误,以下是alter日志部分:
ORA-00600: 内部错误代码, 参数: [qctchr : bfl], [52], [17], [2], [871], [1], [0], [], [], [], [], []
Thu Dec 20 13:12:33 2012
Errors in file e:\app\administrator\diag\rdbms\power\power1\trace\power1_ora_8224.trc  (incident=26978):
附件中是power1_ora_8224.trc

烦请大师们给点指导意见,谢谢!

power1_ora_8224.txt

3.6 KB, 下载次数: 713

2#
发表于 2012-12-20 14:34:43
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production + Windows NT Version V6.1 Service Pack 1

  1. *** 2012-12-20 13:16:12.272
  2. Incident 28819 created, dump file: e:\app\administrator\diag\rdbms\power\power1\incident\incdir_28819\power1_ora_8224_i28819.trc
  3. ORA-00600: 内部错误代码, 参数: [HO define: Long fetch], [], [], [], [], [], [], [], [], [], [], []

  4. DDE: Problem Key 'ORA 600 [qctchr : bfl]' was flood controlled (0x2) (incident: 28820)

  5. *** 2012-12-20 13:18:36.229
  6. ORA-00600: 内部错误代码, 参数: [qctchr : bfl], [52], [17], [2], [871], [1], [0], [], [], [], [], []
  7. DDE: Problem Key 'ORA 600 [qctchr : bfl]' was flood controlled (0x2) (incident: 28821)
复制代码
提供的TRACE中无明确有用信息

回复 只看该作者 道具 举报

3#
发表于 2012-12-20 14:37:51
可能相关的  BUG:

Bug 8655191  ORA-600 [qctchr : bfl] [32767] from PLSQL in multibyte database

Ora-00600 [Ho Define: Long Fetch] With a Gateway Database Link
  1. Applies to:

  2. Oracle Database Gateway for SQL Server - Version 11.1.0.6 to 11.2.0.2 [Release 11.1 to 11.2]
  3. Information in this document applies to any platform.
  4. Symptoms


  5. Accessing a table from a MS SQL Server DB via Database Gateway for   MS SQL Server, an error occurs:

  6. ORA-00600: internal error code, arguments: [HO define: Long fetch], [], [], [], [], [], [], []

  7. Cause

  8. Your problem occurs because in your SQL SERVER object (table or view), you have more than one column  which is translated to LONG columns (in trace we get LONGVARCHAR).

  9. Unfortunately, in Oracle we have limitations with LONG columns:
  10. A table can contain only one LONG column.
  11. See  Note 463115.1 Restrictions on LONG Datatype
复制代码
请给出 《称重记录》表在SQL SERVRE中的DDL定义

回复 只看该作者 道具 举报

4#
发表于 2012-12-20 14:53:01
附件中为称重记录表的字段类型

称重记录表定义.jpg (45.47 KB, 下载次数: 372)

称重记录表定义.jpg

回复 只看该作者 道具 举报

5#
发表于 2012-12-20 15:09:20
DDL这种东西请给文字, 图示没法看!!!

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 07:53 , Processed in 0.054463 second(s), 23 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569