将知识库导出到 .dqs 文件Export a Knowledge Base to a .dqs File

适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions) 适用于:Applies to: 是SQL ServerSQL Server(所有支持的版本)yesSQL ServerSQL Server (all supported versions)

本主题介绍如何在 “数据库引擎服务”Data Quality Services (DQS) 中将整个知识库导出到 .dqs 数据文件。This topic describes how to export an entire knowledge base to a .dqs data file in “数据库引擎服务”Data Quality Services (DQS). 您可以将域或整个知识库导出到数据文件。You can export a domain or an entire knowledge base to a data file. 有关导出域的信息,请参阅将域导出到 .dqs 文件For information about exporting a domain, see Export a Domain to a .dqs File.

将知识库导出为 .dqs 文件,然后将其作为另一个知识库导入,可以简化知识生成过程、节省时间并提高效率。Exporting a knowledge base to a .dqs file, and then importing it as another knowledge base simplifies the knowledge generation process, saving time and effort. 这样,您就可以与他人共享知识库及其知识。It enables you to share a knowledge base and its knowledge with others. .dqs 文件将包含所有知识库信息,其中包括域和匹配策略,但附加的引用数据信息除外。The .dqs file will contain all knowledge base information, including domains and the matching policy, except for the attached reference data information. 如果需要,则在导入 .dqs 文件之后,您必须再次将所需的域附加到相应的引用数据服务。You must attach the required domains to appropriate reference data services again, if required, after importing the .dqs file. 此时将同时导出知识库中的已发布和未发布的数据。Both published and unpublished data in a knowledge base is exported.

导出过程创建的 .dqs 数据文件已加密,所以无法查看内容。The .dqs data file created by the export process is encrypted, so the contents cannot be viewed.

开始之前Before You Begin

先决条件Prerequisites

若要将知识库导出到 .dqs 数据文件,您必须已创建并打开了知识库。To export a knowledge base to a .dqs data file, you must have created and opened a knowledge base. 您无需具有要导出到的 .dqs 文件,系统将为您创建一个。You do not need to have a .dqs file to export into; one will be created for you.

SecuritySecurity

权限Permissions

您必须对 DQS_MAIN 数据库具有 dqs_kb_editor 或 dqs_administrator 角色,才能将知识库导出到 .dqs 数据文件。You must have the dqs_kb_editor or the dqs_administrator role on the DQS_MAIN database to export a knowledge base to a .dqs data file.

将知识库导出到 dqs 文件Export a knowledge base to a .dqs file

  1. 启动数据质量客户端。Start Data Quality Client. 有关此操作的信息,请参阅For information about doing so, see运行 Data Quality Client 应用程序Run the Data Quality Client Application.

  2. 数据质量客户端Data Quality Client 主屏幕中,在域管理活动中打开知识库。In the 数据质量客户端Data Quality Client home screen, open a knowledge base in the Domain Management activity.

  3. 在“域管理”页(选择了任一选项卡)中,单击域列表上方的 “导出知识库数据” 图标,然后单击 “导出知识库”In the Domain Management page (with any tab selected), click the Export Knowledge Base data icon above the Domain list, and then click Export Knowledge Base. 或者,您还可以在 “域” 列表中右键单击,将鼠标指针悬停在 “导出” 之上,然后单击 “导出知识库”Alternatively, you can also right-click in the Domain list, hover over Export, and then click Export Knowledge Base.

  4. 在“导出到数据文件”对话框中,转到要保存该文件的文件夹,命名该文件或保留知识库名称,将“DQS 数据文件 (*.dqs)”保留为“另存为”类型,然后单击“保存”****************。In the Export to Data File dialog box, move to the folder that you want to save the file in, name the file or keep the knowledge base name, keep DQS Data Files (*.dqs) as the Save as type, and then click Save.

  5. “导出知识库” 对话框中,验证状态行是否指示导出已完成。In the Export Knowledge Base dialog box, verify that the status line indicates that the export completed. 单击“确定”。Click OK.

跟进:在将域导出到 dqs 文件后Follow Up: After Exporting a Domain to a .dqs File

将知识库导出到 .dqs 文件后,您可以将知识库导入到同一个 数据质量服务器Data Quality Server (使用新名称)或导入到另一个 数据质量服务器Data Quality Server中。After you export a knowledge base to a .dqs file, you can import the knowledge base into the same 数据质量服务器Data Quality Server (with a new name) or into a different 数据质量服务器Data Quality Server.