简体   繁体   English

SQL Server在哪里存储SSIS包?

[英]Where does SQL Server store the SSIS packages?

SQL Server在哪里存储SSIS包?

Depending on how you choose to deploy them, they are either stored within the MSDB database or on the file system. 根据您选择部署它们的方式,它们可以存储在MSDB数据库中,也可以存储在文件系统中。 Here's how you do both: 以下是您如何做到这两点:

I use SQL Server 2005 in combination with Visual Studio 2005. So all my SSIS projects by default will be at 我将SQL Server 2005与Visual Studio 2005结合使用。因此我默认的所有SSIS项目都将在

C:\\Documents and Settings\\santosh\\My Documents\\Visual Studio 2005\\Projects C:\\ Documents and Settings \\ santosh \\ My Documents \\ Visual Studio 2005 \\ Projects

Let me know if you have your SQL Server set up in a different environment or if you have made changes to your Visual Studio options. 如果您在不同的环境中设置了SQL Server,或者您已对Visual Studio选项进行了更改,请告诉我们。

If you dont find your projects at above mentioned location, look at the defined default projects path in Tools>Options in Visual Studio. 如果您在上述位置找不到项目,请在Visual Studio的工具>选项中查看已定义的默认项目路径。

This should help. 这应该有所帮助。

By default, the physical location of the ssis package is at: C:\\Program files\\Microsoft SQL Server\\90\\Dts\\packages 默认情况下,ssis包的物理位置位于:C:\\ Program files \\ Microsoft SQL Server \\ 90 \\ Dts \\ packages

once you deploy it, you will find them in MSDB database in the sqlserver. 一旦部署它,您将在sqlserver中的MSDB数据库中找到它们。

Starting from SSIS 2012, there is a new place for packages - SSIS Catalog , stored in SSISDB database (default name, can be changed on creation). 从SSIS 2012开始,包装有一个新的位置 - SSIS目录 ,存储在SSISDB数据库中(默认名称,可以在创建时更改)。 It is created by SSMS wizard (not created during installation of SQL Server) and accessible both as User's database and Integration Services branch in SSMS Database connection. 它由SSMS向导创建(不是在安装SQL Server期间创建的),并且可作为SSMS数据库连接中的用户数据库和Integration Services分支访问。

If you have deployed packages in the SQL Server, by default they will be stored under MSDB. 如果已在SQL Server中部署了包,则默认情况下它们将存储在MSDB下。 You can see stored packages by connecting to Integration Services of the SQL Server and looking under "Stored Packages" --> MSDB. 您可以通过连接到SQL Server的Integration Services并查看“Stored Packages” - > MSDB来查看存储的包。

检查您的SQL Server实例,并且有一个名为MSDB的地方(即数据库)默认配置是将SSIS包存储在该数据库中

By Default it will be store at C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Packages in sql server 2012. 默认情况下,它将存储在sql server 2012中的C:\\ Program Files(x86)\\ Microsoft SQL Server \\ 110 \\ DTS \\ Packages中。

In subsequent version such as 2008,2010,2012,2014 it will be at 90\\100\\110\\120 folder in above path. 在后续版本如2008,2010,2012,2014中,它将位于上述路径中的90 \\ 100 \\ 110 \\ 120文件夹中。

But again if you are deploying ssis package location depends on the deployment type. 但是,再次,如果您正在部署ssis包位置取决于部署类型。

In File system-You can set the path. 在文件系统中 - 您可以设置路径。

可以使用2个选项部署SSIS包(例如,使用向导):文件系统部署或SQL Server部署

The package store can include both the msdb database and the folders in the file system, only msdb, or only folders in the file system. 包存储可以包括msdb数据库和文件系统中的文件夹,只包括msdb,或者只包含文件系统中的文件夹。 In msdb, packages are saved to the sysssispackages table. 在msdb中,包将保存到sysssispackages表中。 This table includes a folderid column that identifies the logical folder to which the package belongs. 此表包含folderid列,用于标识程序包所属的逻辑文件夹。 The logical folders provide a useful way to group packages saved to msdb in the same way that folders in the file system provide a way to group packages saved to the file system. 逻辑文件夹提供了一种将保存到msdb的包分组的有用方法,其方式与文件系统中的文件夹提供了一种将保存到文件系统的包分组的方式相同。 Rows in the sysssispackagefolders table in msdb define the folders. msdb中sysssispackage文件夹表中的行定义文件夹。

1-By Default it will be store at C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Packages in sql server 2012. 1 - 默认情况下,它将存储在sql server 2012中的C:\\ Program Files(x86)\\ Microsoft SQL Server \\ 110 \\ DTS \\ Packages中。

2-In subsequent version such as 2008,2010 it will be at 90\\100 folder in above path. 2 - 在2008,2010等后续版本中,它将位于上述路径中的90 \\ 100文件夹中。

3-SSIS Package location depends on the type of deployment. 3-SSIS包位置取决于部署类型。

4-File system-You can set the path. 4文件系统 - 您可以设置路径。

Connect to SQL server Integration services. 连接到SQL Server Integration服务。 Under Stored Packages - > MSDB -> any folder you created and imported the SSIS package 在存储包 - > MSDB - > 您创建的任何文件夹并导入SSIS包

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

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