是否可以重用共享查找緩存?緩存轉換重用
我已經使用緩存轉換組件到一個foreach循環來通過參數化查詢來初始化查找。
必須爲循環的每次迭代重寫高速緩存。
但在第二次迭代我收到的錯誤:
Error: 0xC0010200 at fill lookup cache, Cache Lookup Events [1]: The component "Cache Lookup Events" (1) cannot write to the cache because component "Cache Lookup Events" (1) has already written to it.
Error: 0xC0010201 at fill lookup cache, Cache Lookup Events [1]: Failed to prepare the cache for new data.
Error: 0xC004701A at fill lookup cache, SSIS.Pipeline: component "Cache Lookup Events" (1) failed the pre-execute phase and returned error code 0xC0010201.
一個想法是,以限制緩存生命的循環範圍。就像變量一樣。但我不知道如何將作用域分配給緩存。
如何清理並重寫緩存或刪除並重新創建緩存?