在使用informatica powercenter 8.5.1的时候,powercenter、目标数据库、源数据库都是装在同一台服务器上,而且所有的数据库版本都是oracle 9201,操作系统是win server 2003,目标表定义方式如果采用的是import from databases的时候,在执行Etl任务都会出现以下奇怪的错误:
Severity Timestamp Node Thread Message Code Message
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6228 Writing session output to log file [C:\Informatica\PowerCenter8.5.1\server\infa_shared\SessLogs\s_view2target.log].
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6014 Initializing session [s_view2target] at [Tue Jul 07 11:32:29 2009].
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6683 Repository Name: [yibaoRep]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6684 Server Name: [yibaoInt]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6686 Folder: [yibaoEtl]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6685 Workflow: [wf_view2target] Run Instance Name: [] Run Id: [43]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6101 Mapping name: m_region
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6964 Date format for the Session is [MM/DD/YYYY HH24:MI:SS.US]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR TM_6703 Session [s_view2target] is run by 32-bit Integration Service [node01_yibao-0c65bdbb3], version [8.5.1], build [1207].
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MANAGER PETL_24058 Running Partition Group [1].
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MANAGER PETL_24000 Parallel Pipeline Engine initializing.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MANAGER PETL_24001 Parallel Pipeline Engine running.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MANAGER PETL_24003 Initializing session run.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING CMN_1569 Server Mode: [UNICODE]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING CMN_1570 Server Code page: [MS Windows Simplified Chinese, superset of GB 2312-80, EUC encoding]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TM_6151 Session Sort Order: [Binary]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TM_6156 Using LOW precision decimal arithmetic
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TM_6180 Deadlock retry logic will not be implemented.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TM_6307 DTM Error Log Disabled.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TE_7022 TShmWriter: Initialized
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TM_6007 DTM initialized successfully for session [s_view2target]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR PETL_24033 All DTM Connection Info: [].
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MANAGER PETL_24004 PETL_24004 Starting pre-session tasks. : (Tue Jul 07 11:32:29 2009)
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MANAGER PETL_24027 PETL_24027 Pre-session task completed successfully. : (Tue Jul 07 11:32:29 2009)
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 DIRECTOR PETL_24006 Starting data movement.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 MAPPING TM_6660 Total Buffer Pool size is 609824 bytes and Block size is 65536 bytes.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 DBG_21438 Reader: Source is [ybjj], user [ybjj]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 BLKR_16051 Source database connection [TargetDB] code page: [MS Windows Simplified Chinese, superset of GB 2312-80, EUC encoding]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 BLKR_16003 Initialization completed successfully.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8147 Writer: Target is database [ybjj], user [ybjj], bulk mode [OFF]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8221 Target database connection [TargetDB] code page: [MS Windows Simplified Chinese, superset of GB 2312-80, EUC encoding]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8124 Target Table T_SUM_TB_DIC_QX :SQL INSERT statement:
INSERT INTO T_SUM_TB_DIC_QX(QXDM,QXBM,QXMC) VALUES ( ?, ?, ?)
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8020 No column marked as primary key for table [T_SUM_TB_DIC_QX]. UPDATEs Not Supported.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8270 Target connection group #1 consists of target(s) [T_SUM_TB_DIC_QX]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8003 Writer initialization complete.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 BLKR_16007 Reader run started.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8005 Writer run started.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8158
*****START LOAD SESSION*****
Load Start Time: Tue Jul 07 11:32:29 2009
Target tables:
T_SUM_TB_DIC_QX
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 RR_4010 SQ instance [SQ_VIEW_SUM_TB_DIC_QX] SQL Query [SELECT VIEW_SUM_TB_DIC_QX.QXDM, VIEW_SUM_TB_DIC_QX.QXBM, VIEW_SUM_TB_DIC_QX.QXMC FROM VIEW_SUM_TB_DIC_QX]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 RR_4049 RR_4049 SQL Query issued to database : (Tue Jul 07 11:32:29 2009)
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 RR_4050 RR_4050 First row returned from database to reader : (Tue Jul 07 11:32:29 2009)
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 BLKR_16019 Read [23] rows, read [0] error rows for source table [VIEW_SUM_TB_DIC_QX] instance name [VIEW_SUM_TB_DIC_QX]
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 READER_1_1_1 BLKR_16008 Reader run completed.
INFO 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 WRITER_1_*_1 WRT_8167 Start loading table [T_SUM_TB_DIC_QX] at: Tue Jul 07 11:32:29 2009
FATAL 2009-7-7 11:32:29 node01_yibao-0c65bdbb3 *********** FATAL ERROR : Unexpected Condition in file [\85sp1_build\build\powrmart\common\odl\oracle8\oradriver.cpp] line [259]. Contact Informatica Technical Support for assistance. Aborting this DTM process due to an unexpected condition. ***********
简单分析一下错误日志可以发现错误出现数据加载的时候,而数据读取已经成功。而我在执行的时候源定义采用的数据库连接和目标数据库连接全是在odbc中配置好的,使用的驱动程序为”oracle in Orahome92”,即oracle自带的驱动。
实在不知道是什么原因,作了几个其它的简单的测试,只要是目标表import from database都会出现这个错误。
唉,看来只有找informatica售后支持帮忙啦。