Sitecore Master DB 版本存储在哪个字段或 table

Sitecore Master DB version stored in which field or table

版本相关数据存储在 Sitecore 主数据库中的什么位置?

Master 和 Web 具有相同的架构。很好奇 Master DB

中是如何管理版本的

每次您创建一个新项目时,都会在您的 master 数据库中的 dbo.Items table 中添加一个新行。

table 中的每一项总是只有一行。即使您创建了项目的新版本。

创建新版本时,dbo.VersionedFields table 中添加了新行。您可以看到“__Revision,__Created by. Every row in this table is uniquely identified by[ItemId]、[Language]、[Version]、[FieldId] 等字段的行设置。

如果您检查 dbo.VersionedFieldsin yourwebdatabase, you will see only 1 version of the item per language. That means that when you publish a newer version of an item frommastertowebdatabase, the older version is removed from theweb` 数据库,只有新版本在那里。

Web 数据库只包含给定语言的项目的一个版本,优化速度。但是可以有多个版本,因为测试功能 e.t.c。主数据库包含所有版本。

当涉及到数据库存储时 一个项目包含 Fields、VersionedFields、SharedFields 和 UnversionedFields VersionedFields 存储在 table VersionedFields 中,其中有一列用于语言和版本。通过这种方式进行管理。