SSIS包配置最佳实践 [英] SSIS package configuration best practice

查看:86
本文介绍了SSIS包配置最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

这是一个建议请求而不是技术问题,但我是希望有人可以提供协助。

This is more a request for advice than a technical issue, but I'm hoping someone can assist.

我的环境是SQL Server 2008 R2。我们在开发和生产环境中使用XML包配置文件,主要用于存储连接信息和相对路径信息。我们将包存储在文件系统中,而不是存储在SQL Server中,
相应地从SQL Server代理执行它们。

My environment is SQL Server 2008 R2. We use XML package configuration files in our development and production environments, primarily to store connection info and relative path info. We store our packages in the file system, rather than in SQL Server, and execute them from the SQL Server Agent accordingly.

我目前正在使用a来存储我的包的XML包配置文件设置。我没有使用SQL服务器表选项,但发现它很有趣。有人可以评论使用SQL服务器表
方法而不是使用XML配置文件的一些实际应用吗?对SSIS包使用XML包配置文件是一个好习惯吗?

I'm currently using a to store the XML package configuration file settings for my packages. I haven't worked with the SQL server table option, but find it interesting. Could someone comment on some of the practical applications of using the SQL server table approach instead of using XML configuration file? Is it a good practice to use XML package configuration file for the SSIS Package?

红色

推荐答案

嗨红色,


  1. 迁移到更高版本的SSIS,最好是最新版本,或考虑Azure数据工厂
  2. 在更高版本的SSIS中您可以利用环境和/或项目范围的配置。这更容易,更优雅。

关于"使用SQL服务器表方法的实际应用程序"它会工作,但与XML /平面文件相比没什么好处。一个微妙的事情是你不需要点击服务器文件系统只看到设置或更改
他们。

With respect to "practical applications of using the SQL server table approach" it will work, but no much gain compared to XML/flat file. One subtle thing is that you do not need to hit the server file system to just see the settings or change them.

作为一方请注意,您不应使用文件系统来执行包。

As a side note, you should not use the File System to execute packages.


这篇关于SSIS包配置最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆