[英]Incremental load without date or primary key column using azure data factory
I am having a source lets say SQL DB or an oracle database and I wanted to pull the table data to Azure SQL database. I am having a source lets say SQL DB or an oracle database and I wanted to pull the table data to Azure SQL database. But the problem is I don't have any date column on which data is getting inserting or a primary key column.但问题是我没有任何要插入数据的日期列或主键列。 So is there any other way to perform this operation.那么有没有其他方法可以执行此操作。
One way of doing it semi-incremental is to partition the table by a fairly stable column in the source table, then you can use mapping data flow to compare the partitions ( can be done with row counts, aggregations, hashbytes etc ).半增量的一种方法是通过源表中相当稳定的列对表进行分区,然后您可以使用映射数据流来比较分区(可以通过行计数、聚合、哈希字节等来完成)。 Each load you store the compare output in the partitions metadata somewhere to be able to compare it again the next time you load.每次加载时,您都会将比较 output 存储在分区元数据中的某个位置,以便下次加载时再次进行比较。 That way you can reload only the partitions that were changed since your last load.这样,您只能重新加载自上次加载以来更改的分区。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.