??xml version="1.0" encoding="utf-8" standalone="yes"?>国产日产久久高清欧美一区,欧美一区视频,亚洲免费成人av在线http://www.aygfsteel.com/xichengmylove/SOA、DataStage、Unix、Java EE、Oracle、Data Migration、Data Integrationzh-cnThu, 29 May 2025 01:26:07 GMTThu, 29 May 2025 01:26:07 GMT60Sql_Trace File Identifier和Sample BlockQ抽栯扫描Q?/title><link>http://www.aygfsteel.com/xichengmylove/archive/2009/08/25/292517.html</link><dc:creator>翼渐丰</dc:creator><author>翼渐丰</author><pubDate>Tue, 25 Aug 2009 08:01:00 GMT</pubDate><guid>http://www.aygfsteel.com/xichengmylove/archive/2009/08/25/292517.html</guid><wfw:comment>http://www.aygfsteel.com/xichengmylove/comments/292517.html</wfw:comment><comments>http://www.aygfsteel.com/xichengmylove/archive/2009/08/25/292517.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xichengmylove/comments/commentRss/292517.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xichengmylove/services/trackbacks/292517.html</trackback:ping><description><![CDATA[<p><span style="font-size: 18pt; color: #800080; font-family: Arial"><strong>Sql_Trace File Identifier<br /> </strong></span><br /> 我们讄?jin)sql_trace为true之后Qtrace file?x)dump到udump中,但是该目录下也许已经有很多trace file?jin),或者其他session也设|了(jin)sql_trace为trueQ也在生trace file。如何能q速找C的session产生的trace file呢?我们可以通过如下语句讄Sql_Trace File IdentifierQ?br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">ALTER</span><span style="color: #000000"> SESSION </span><span style="color: #0000ff">SET</span><span style="color: #000000"> TRACEFILE_IDENTIFIER </span><span style="color: #808080">=</span><span style="color: #000000"> </span><span style="color: #ff0000">'</span><span style="color: #ff0000">my_trace_id</span><span style="color: #ff0000">'</span><span style="color: #000000">;</span></div> <p><br /> q样你的session产生的trace file׃(x)以设|的identifier为后~?/p> <p> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">SQL</span><span style="color: #808080">></span><span style="color: #000000"> </span><span style="color: #0000ff">alter</span><span style="color: #000000"> session </span><span style="color: #0000ff">set</span><span style="color: #000000"> tracefile_identifier</span><span style="color: #808080">=</span><span style="color: #ff0000">'</span><span style="color: #ff0000">test_identifier</span><span style="color: #ff0000">'</span><span style="color: #000000">;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />Session altered.<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />SQL</span><span style="color: #808080">></span><span style="color: #000000"> </span><span style="color: #0000ff">alter</span><span style="color: #000000"> session </span><span style="color: #0000ff">set</span><span style="color: #000000"> sql_trace</span><span style="color: #808080">=</span><span style="color: #000000">true;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />Session altered.<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />SQL</span><span style="color: #808080">></span><span style="color: #000000"> </span><span style="color: #0000ff">select</span><span style="color: #000000"> </span><span style="color: #808080">*</span><span style="color: #000000"> </span><span style="color: #0000ff">from</span><span style="color: #000000"> dual;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />D<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="color: #808080">-</span><span style="color: #000000"><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />X<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />SQL</span><span style="color: #808080">></span><span style="color: #000000"> </span><span style="color: #0000ff">alter</span><span style="color: #000000"> session </span><span style="color: #0000ff">set</span><span style="color: #000000"> sql_trace</span><span style="color: #808080">=</span><span style="color: #000000">false;<br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />Session altered.</span></div> <p>然后我们可以看到udump下生成的trace file文g名ؓ(f)Qtest_ora_4168_test_identifier.trc<br /> <br /> <strong style="font-size: 18pt; color: #800080; font-family: Arial">Sample Block<br /> </strong><br /> 抽样表扫描(sample table scanQ只d一个表的部分数据。其实我们只选择表的部分数据的话Q可以用rownum来限制也很方ѝ但是考虑如下情况Q?br /> A表和B表joinQ我只想A表的部分数据去连接B表,此时用sample方便的多。如果用rownum需要用一个subquery?br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #008080">--</span><span style="color: #008080">用SampleQ?/span><span style="color: #008080"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">select</span><span style="color: #000000"> A.id,A.name </span><span style="color: #0000ff">from</span><span style="color: #000000"> A sample block(</span><span style="font-weight: bold; color: #800000">20</span><span style="color: #000000">),B <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">where</span><span style="color: #000000"> A.id</span><span style="color: #808080">=</span><span style="color: #000000">B.id<br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #008080">--</span><span style="color: #008080">用RownumQ?/span><span style="color: #008080"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">select</span><span style="color: #000000"> A.id,A.name </span><span style="color: #0000ff">from</span><span style="color: #000000"> (</span><span style="color: #0000ff">select</span><span style="color: #000000"> a.id,a.name </span><span style="color: #0000ff">from</span><span style="color: #000000"> a </span><span style="color: #0000ff">where</span><span style="color: #000000"> rownum</span><span style="color: #808080"><</span><span style="font-weight: bold; color: #800000">100</span><span style="color: #000000">) A,B <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">where</span><span style="color: #000000"> A.id</span><span style="color: #808080">=</span><span style="color: #000000">B.id</span></div> <p><br /> 抽样表扫描有两种形式Q一U是抽样表中行数的一个百分比Q一个是抽样表中块数的一个百分比。注意都是百分比。语法如下:(x)<br /> </p> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">SELECT</span><span style="color: #000000"> </span><span style="color: #808080">*</span><span style="color: #000000"> </span><span style="color: #0000ff">FROM</span><span style="color: #000000"> employees SAMPLE (</span><span style="font-weight: bold; color: #800000">1</span><span style="color: #000000">);</span><span style="color: #008080">--</span><span style="color: #008080">q回行数乘以1%</span><span style="color: #008080"><br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">SELECT</span><span style="color: #000000"> </span><span style="color: #808080">*</span><span style="color: #000000"> </span><span style="color: #0000ff">FROM</span><span style="color: #000000"> employees SAMPLE BLOCK (</span><span style="font-weight: bold; color: #800000">1</span><span style="color: #000000">);</span><span style="color: #008080">--</span><span style="color: #008080">q回块数乘以1%</span></div> <p><br /> 也可以在视图上用SAMPLE?br /> <br /> <br /> </p> <img src ="http://www.aygfsteel.com/xichengmylove/aggbug/292517.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xichengmylove/" target="_blank">翼渐丰</a> 2009-08-25 16:01 <a href="http://www.aygfsteel.com/xichengmylove/archive/2009/08/25/292517.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ETL时先disable外键U束再load数据http://www.aygfsteel.com/xichengmylove/archive/2008/01/15/175486.html翼渐丰翼渐丰Tue, 15 Jan 2008 08:12:00 GMThttp://www.aygfsteel.com/xichengmylove/archive/2008/01/15/175486.htmlhttp://www.aygfsteel.com/xichengmylove/comments/175486.htmlhttp://www.aygfsteel.com/xichengmylove/archive/2008/01/15/175486.html#Feedback4http://www.aygfsteel.com/xichengmylove/comments/commentRss/175486.htmlhttp://www.aygfsteel.com/xichengmylove/services/trackbacks/175486.html Flexibility for Data Loads and Identification of Integrity Violations
You can disable integrity constraints temporarily so that large amounts of data can be loaded without the overhead of constraint checking. When the data load is complete,you can easily enable the integrity constraints, and you can automatically report any new rows that violate integrity constraints to a separate exceptions table.
看来oracleq点上做的比较完善,q可以将q反完整性约束的数据自动记录C个exception表中?

翼渐丰 2008-01-15 16:12 发表评论
]]>
删除重复数据?U方?/title><link>http://www.aygfsteel.com/xichengmylove/archive/2008/01/08/173544.html</link><dc:creator>翼渐丰</dc:creator><author>翼渐丰</author><pubDate>Tue, 08 Jan 2008 02:04:00 GMT</pubDate><guid>http://www.aygfsteel.com/xichengmylove/archive/2008/01/08/173544.html</guid><wfw:comment>http://www.aygfsteel.com/xichengmylove/comments/173544.html</wfw:comment><comments>http://www.aygfsteel.com/xichengmylove/archive/2008/01/08/173544.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xichengmylove/comments/commentRss/173544.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xichengmylove/services/trackbacks/173544.html</trackback:ping><description><![CDATA[<p>今天google分析函数row_number()的时候发现的Q觉得很好:(x)<br /> <br /> <span style="font-family: Arial; background-color: #ffff99">表demo是重复拷贝自dba_objectsQ有88万左叻I不重复的?7323Q没有烦(ch)?br style="font-family: " /> Ҏ(gu)一Qdelete from demo a where a.rowid <> (select max(rowid) from demo b where<br style="font-family: " /> b.object_id=a.object_id);<br style="font-family: " /> 耗时Q几个小时以?<br style="font-family: " /> Ҏ(gu)二:(x) delete from demo where rowid in <br style="font-family: " /> (select rid from <br style="font-family: " /> (select rowid rid,row_number() over(partition by object_id order by rowid) rn<br style="font-family: " /> from demo)<br style="font-family: " /> where rn <> 1 );<br style="font-family: " /> 耗时Q?0U?br style="font-family: " /> Ҏ(gu)三:(x) create table demo2 as <br style="font-family: " /> select object_id,owner... from<br style="font-family: " /> (select demo.*,row_number() over(partition by object_id order by rowid) rn from demo)<br style="font-family: " /> where rn = 1;<br style="font-family: " /> truncate table demo; insert into demo select * from demo2; drop table demo2;<br style="font-family: " /> p时Q?10U,适合大数据量的情况,产生更少回滚量;</span><br /> <br /> 学到?jin)分析函数row_number(),对于object_id和rowid也有?jin)一些认识。oracle要学的东西太多了(jin)Q什么时候是个头?img alt="" src="/CuteSoft_Client/CuteEditor/images/emteeth.gif" align="absMiddle" border="0" />。上面的Ҏ(gu)不是很难理解Q但也还没有完全理解Q有Z(x)实际试试?/p> <img src ="http://www.aygfsteel.com/xichengmylove/aggbug/173544.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xichengmylove/" target="_blank">翼渐丰</a> 2008-01-08 10:04 <a href="http://www.aygfsteel.com/xichengmylove/archive/2008/01/08/173544.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>在load的时候去掉sequential file的header和footerhttp://www.aygfsteel.com/xichengmylove/archive/2007/08/13/136494.html翼渐丰翼渐丰Mon, 13 Aug 2007 11:37:00 GMThttp://www.aygfsteel.com/xichengmylove/archive/2007/08/13/136494.htmlhttp://www.aygfsteel.com/xichengmylove/comments/136494.htmlhttp://www.aygfsteel.com/xichengmylove/archive/2007/08/13/136494.html#Feedback0http://www.aygfsteel.com/xichengmylove/comments/commentRss/136494.htmlhttp://www.aygfsteel.com/xichengmylove/services/trackbacks/136494.htmlҎ(gu)一Q?/span>
在sequential file stage中有个属性可以ignoreW一行。对于footerQ如果footer使用?jin)与正文不同的格式,可以用用transformer stage?@INROWNUM stage来将footerL?br>Ҏ(gu)二:(x)
在sequential file的filter option中用sed -e '$d' -e '1d'来讲header和footerL?br>Ҏ(gu)三:(x)
写个before job subroutineQ可以先对这个文件做各种处理Q不q我想也是subroutine中调用DSExecute sed -e '$d' -e '1d'。当然Basic中也有专门对sequential file处理的函数?br>

翼渐丰 2007-08-13 19:37 发表评论
]]>
datastage中Orchadmin命o(h)的用(转)(j) http://www.aygfsteel.com/xichengmylove/archive/2007/08/08/135256.html翼渐丰翼渐丰Wed, 08 Aug 2007 07:37:00 GMThttp://www.aygfsteel.com/xichengmylove/archive/2007/08/08/135256.htmlhttp://www.aygfsteel.com/xichengmylove/comments/135256.htmlhttp://www.aygfsteel.com/xichengmylove/archive/2007/08/08/135256.html#Feedback2http://www.aygfsteel.com/xichengmylove/comments/commentRss/135256.htmlhttp://www.aygfsteel.com/xichengmylove/services/trackbacks/135256.htmlOrchadmin is a command line utility provided by datastage to research on data sets.
The general callable format is : $orchadmin [options] [descriptor file]

1. Before using orchadmin, you should make sure that either the working directory or the $APT_ORCHHOME/etc contains the file “config.apt” OR

The environment variable $APT_CONFIG_FILE should be defined for your session.
Orchadmin commands

The various commands available with orchadmin are
1. CHECK: $orchadmin check

Validates the configuration file contents like , accesibility of all nodes defined in the configuration file, scratch disk definitions and accesibility of all the nodes etc. Throws an error when config file is not found or not defined properly

2. COPY : $orchadmin copy
Makes a complete copy of the datasets of source with new destination descriptor file name. Please not that

a. You cannot use UNIX cp command as it justs copies the config file to a new name. The data is not copied.

b. The new datasets will be arranged in the form of the config file that is in use but not according to the old confing file that was in use with the source.

3. DELETE : $orchadmin <> [-f -x] descriptorfiles….
The unix rm utility cannot be used to delete the datasets. The orchadmin delete or rm command should be used to delete one or more persistent data sets.
-f options makes a force delete. If some nodes are not accesible then -f forces to delete the dataset partitions from accessible nodes and leave the other partitions in inaccesible nodes as orphans.
-x forces to use the current config file to be used while deleting than the one stored in data set.

4. DESCRIBE: $orchadmin describe [options] descriptorfile.ds
This is the single most important command.
1. Without any option lists the no.of.partitions, no.of.segments, valid segments, and preserve partitioning flag details of the persistent dataset.
-c : Print the configuration file that is written in the dataset if any
-p: Lists down the partition level information.
-f: Lists down the file level information in each partition
-e: List down the segment level information .
-s: List down the meta-data schema of the information.
-v: Lists all segemnts , valid or otherwise
-l : Long listing. Equivalent to -f -p -s -v -e

5. DUMP: $orchadmin dump [options] descriptorfile.ds
The dump command is used to dump(extract) the records from the dataset.
Without any options the dump command lists down all the records starting from first record from first partition till last record in last partition.
-delim ‘’ : Uses the given string as delimtor for fields instead of space.
-field : Lists only the given field instead of all fields.
-name : List all the values preceded by field name and a colon
-n numrecs : List only the given number of records per partition.
-p period(N) : Lists every Nth record from each partition starting from first record.
-skip N: Skip the first N records from each partition.
-x : Use the current system configuration file rather than the one stored in dataset.

6. TRUNCATE: $orchadmin truncate [options] descriptorfile.ds
Without options deletes all the data(ie Segments) from the dataset.
-f: Uses force truncate. Truncate accessible segments and leave the inaccesible ones.
-x: Uses current system config file rather than the default one stored in the dataset.
-n N: Leaves the first N segments in each partition and truncates the remaining.

7. HELP: $orchadmin -help OR $orchadmin -help
Help manual about the usage of orchadmin or orchadmin commands



翼渐丰 2007-08-08 15:37 发表评论
]]>
trim?x)drop掉记?/title><link>http://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134104.html</link><dc:creator>翼渐丰</dc:creator><author>翼渐丰</author><pubDate>Thu, 02 Aug 2007 13:01:00 GMT</pubDate><guid>http://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134104.html</guid><wfw:comment>http://www.aygfsteel.com/xichengmylove/comments/134104.html</wfw:comment><comments>http://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134104.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xichengmylove/comments/commentRss/134104.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xichengmylove/services/trackbacks/134104.html</trackback:ping><description><![CDATA[当一条记录过来,某个字段为空Q而在transformer中又对该字段trim?jin),׃该字Dؓ(f)I,不能trimQ所以DataStage?x)认是个错误Q从而把q个记录drop?jin),q与实际业务不符合,非主键字Dؓ(f)Iƈ不能把q条记录drop?jin)。我们可以通过写一个判断来解决该问题:(x)if LK_1.EMAIL <> '' then trim(LK_1.EMAIL) else LK_1.EMAIL <img src ="http://www.aygfsteel.com/xichengmylove/aggbug/134104.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xichengmylove/" target="_blank">翼渐丰</a> 2007-08-02 21:01 <a href="http://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134104.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DataStage中可以执行routineQ命令行以控制的地方http://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134095.html翼渐丰翼渐丰Thu, 02 Aug 2007 11:29:00 GMThttp://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134095.htmlhttp://www.aygfsteel.com/xichengmylove/comments/134095.htmlhttp://www.aygfsteel.com/xichengmylove/archive/2007/08/02/134095.html#Feedback0http://www.aygfsteel.com/xichengmylove/comments/commentRss/134095.htmlhttp://www.aygfsteel.com/xichengmylove/services/trackbacks/134095.html2 job sequence中有个stageQ可以在里面写控制job调度的地?br>3 每个job的properties中有个job control tab
4 命o(h)行可以执行、导入job{,它通过dsjob实现Q在DS Manager的文档中q讲?jin)有专门的命令行来导入job
5 可以~写shell来控制jobQ对dsjob命o(h)做封装,可以传入参数{?br>对于上面q些概念q是很模p,先记录在此?

翼渐丰 2007-08-02 19:29 发表评论
]]>
trim全ؓ(f)null的某个字D之后,输出?http://www.aygfsteel.com/xichengmylove/archive/2007/08/02/133997.html翼渐丰翼渐丰Thu, 02 Aug 2007 07:21:00 GMThttp://www.aygfsteel.com/xichengmylove/archive/2007/08/02/133997.htmlhttp://www.aygfsteel.com/xichengmylove/comments/133997.htmlhttp://www.aygfsteel.com/xichengmylove/archive/2007/08/02/133997.html#Feedback0http://www.aygfsteel.com/xichengmylove/comments/commentRss/133997.htmlhttp://www.aygfsteel.com/xichengmylove/services/trackbacks/133997.html

翼渐丰 2007-08-02 15:21 发表评论
]]>
job一直运行,数据不能插入数据?/title><link>http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133839.html</link><dc:creator>翼渐丰</dc:creator><author>翼渐丰</author><pubDate>Wed, 01 Aug 2007 09:33:00 GMT</pubDate><guid>http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133839.html</guid><wfw:comment>http://www.aygfsteel.com/xichengmylove/comments/133839.html</wfw:comment><comments>http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133839.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xichengmylove/comments/commentRss/133839.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xichengmylove/services/trackbacks/133839.html</trackback:ping><description><![CDATA[今天遇到一个问题,job不停的在那里q行Q然后link上的数据昄各个环节都是正确的,包括最后插入数据库的link上也昄?jin)数据,但是最后数据库里ƈ没有数据。在Director的log中,日志在从两个源文件把所有数据load出来完之后,日志死在那里了(jin)?br>以前q个job是正的Q昨天由于重新l(f)oad其中一个源文g的元数据Q所以出C(jin)上述问题。所以先前以为是׃load的新的源数据有问题,׃此处来找问题的原因,q且认ؓ(f)可能是改?jin)元数据Q在其他地方映射的时候有位置不对的地方,所以整?jin)很久。因Z前是好好的,然后又以为是服务器的问题?br><br><span style="FONT-SIZE: 18pt; COLOR: #800080">q都是定势思维的错误,然后又一急,所以浪费了(jin)很多旉Q其实很多时候都是这PZ(jin)问题我们不能理性的好好思考?/span><br><br>其实问题很简单:(x)<br>如果我们按照正常逻辑来分析的话,既然不能d数据库,肯定是数据不W合数据库对数据的约束,包括主键啊,非空啊,本问题就是由于在stage的不断流转中产生?jin)很多空|使得最后待插入的数据长度远q大于数据库中定义的字段长度。由于在那里不断rejectQ所以媄(jing)响了(jin)速度Qjob一直在那里q行。最后用APT_STRING_PADDER,其设ؓ(f)0x0Q用null代替I格Q搞定?br>psQ在插入数据库时使用一个reject文gҎ(gu)错有好处Q这栯看到reject是些什么数据,然后p知道Z么被reject?jin)?br><span style="FONT-SIZE: 18pt; COLOR: #800080">同时我们可以得出如果最后插入数据库时很多数据被rejectQ但是你q没有用一个reject文g来接收这些reject掉的数据Q将使得job基本处于停滞状态?/span> <img src ="http://www.aygfsteel.com/xichengmylove/aggbug/133839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xichengmylove/" target="_blank">翼渐丰</a> 2007-08-01 17:33 <a href="http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133839.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DataStage Job重置的三U方?/title><link>http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133747.html</link><dc:creator>翼渐丰</dc:creator><author>翼渐丰</author><pubDate>Wed, 01 Aug 2007 02:17:00 GMT</pubDate><guid>http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133747.html</guid><wfw:comment>http://www.aygfsteel.com/xichengmylove/comments/133747.html</wfw:comment><comments>http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133747.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/xichengmylove/comments/commentRss/133747.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/xichengmylove/services/trackbacks/133747.html</trackback:ping><description><![CDATA[<p>当一个Job跑到一半终止了(jin)要还原,在DS Director中主要有三种Ҏ(gu)来还原:(x)<br>1 Job-----Reset<br>2 Job-----Clear Status File<br>3 Job-----Cleanup Resource<br>具体l节也不懂,有时间慢慢研I?/p> <img src ="http://www.aygfsteel.com/xichengmylove/aggbug/133747.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/xichengmylove/" target="_blank">翼渐丰</a> 2007-08-01 10:17 <a href="http://www.aygfsteel.com/xichengmylove/archive/2007/08/01/133747.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">¡</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">˳</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">°</a>| <a href="http://" target="_blank">Ƹ</a>| <a href="http://" target="_blank">ͤ</a>| <a href="http://" target="_blank">޵</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">°Ͷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ʩ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank">פ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank">Ҧ</a>| <a href="http://" target="_blank">ɽʡ</a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank">ͷ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">³ľ</a>| <a href="http://" target="_blank">ﶫ</a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank">ɳ</a>| <a href="http://" target="_blank">ҵ</a>| <a href="http://" target="_blank">ɾ</a>| <a href="http://" target="_blank">Į</a>| <a href="http://" target="_blank">μ</a>| <a href="http://" target="_blank">ʲ</a>| <a href="http://" target="_blank">Ĭ</a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>