外表加载数据的时候会生成bad和log文件...我想知道log文件最后那4个数据分别是什么意思?
max size
entries
hits
misses还有discards掉的数据是不是就是在外表的DDL里不符合LOAD WHEN后面条件的数据?
或者还有其它的?

解决方案 »

  1.   

    除了bad,log,还有dsc文件。
    discards掉的,除了不满足when条件外,还有一种可能,就是所有的字段都是null的时候,
      

  2.   

        * Max Size is the maximum number of entries in the cache. By default, the date cache size is 1,000 elements, but it can be changed with the SQL*Loader DATE_CACHE command-line parameter.
        * Entries is the number of unique dates encountered in the load.
        * Hits is a count of the number of conversions that didn't need to occur because the same value has already been converted.
        * Misses is a count of date strings that did not match an entry in the date cache. 
      

  3.   

    中文的:
        * Max Size 为缓存中条目的最大数量。默认情况下,日期缓存大小为 1,000 个元素,但是这个大小可以使用 SQL*Loader DATE_CACHE 命令行参数更改。
        * Entries 是加载中遇到的不同日期的数量。
        * Hits 是由于已经转换了相同的值而不需发生的转换次数。
        * Misses 是与日期缓存中的条目未匹配的日期字符串的数量。 http://www.oracle.com/technology/global/cn/pub/notes/technote_datecache.html
      

  4.   

    英文的:
    http://www.oracle.com/technology/pub/notes/technote_datecache.html
      

  5.   

    赫赫,不用客气。
    要好好利用Oracle的文档,很有用的。赫赫。