简体   繁体   English

在存储库中导入映射(XML 文件)时,informatica 中保留持久映射变量值意味着什么

[英]What does retain persistent mapping variable value mean in informatica when importing a mapping(XML file) in the repository

I'm trying to import a mapping from a folder to my DEV environment.我正在尝试将一个映射从一个文件夹导入到我的 DEV 环境。 I already have the same named mapping in DEV environment so I did replace in conflicts window that popped up.我在 DEV 环境中已经有了相同的命名映射,所以我确实替换了弹出的冲突 window。 After that it is asking me to check a box that says retain persistent mapping variable value.之后它要求我选中一个框,上面写着保留持久映射变量值。 Does it mean:是否意味着:

1: It will retain persistent variable values from the import file XML that I'm trying to import in DEV.or 2: It will retain persistent variable values from the earlier same named mapping that I have already in the DEV env repository. 1:它将保留我试图在 DEV 中导入的导入文件 XML 中的持久变量值。或者 2:它将保留来自我在 DEV env 存储库中已有的早期相同命名映射的持久变量值。

which is it?是哪一个? Please help请帮忙

I tried the above that I am mentioning我试过上面提到的

If you check it Infa will retain persistent variable values in target repository/folder.如果您选中它,Infa 将在目标存储库/文件夹中保留持久变量值。

For example, if you are migrating a mapping which has a sequence generator with initial value as 5000 in production and 10 in dev, while migrating if you check the option retain persistent mapping variable , after migration from Prod to Dev, value of seq gen initial value will be 10. Because it retained the value in Dev.例如,如果您正在迁移一个映射,该映射的序列生成器在生产中的初始值为 5000,在开发中为 10,同时如果您选中retain persistent mapping variable选项进行迁移,则在从 Prod 迁移到 Dev 之后,seq gen initial 的值值将为 10。因为它保留了 Dev 中的值。

This is mostly used in case of lower environment to higher environment migration.这主要用于较低环境向较高环境迁移的情况。 In prod, if value is higher, its always a good idea to retain that higher and correct value and we check this option.在产品中,如果值更高,保留更高且正确的值总是一个好主意,我们选中此选项。

In your scenario i would say not to retain dev values because it will not be consistent with prod.在您的情况下,我会说不要保留开发值,因为它与产品不一致。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM