The Links table
The Links table stores all links between individual items across databases.
Sitecore maintains a database table called
Links table stores all links between individual items across databases (Core, Master, Web) and language versions.
Sitecore updates this table based on events that are triggered when actions on items (
item:versionRemoved) are triggered.
There are two implementations of the database provider for this table:
SqlServerLinkDatabase (the default)
The default provider is configured in the
Sitecore.configfile. You can specify which database the links are saved in. The default is Core. The database name variable is defined in the
The main advantage of the SqlServerBatchLinkDatabase provider is storing new item links in
Linkstable with help of batching. This improves performance considerably.
To use the SqlServerBatchLinkDatabase provider:
App_Config/Include/Examples/SqlServerBatchLinkDatabase.config.examplefile by removing the
.examplefrom the file name.Note
When you enable the new provider, Sitecore removes all data from the
Linkstable and the provider repopulates the table.
Rebuild the Links table
You may occasionally need to rebuild the
Links table, for example, as part of the upgrade process.
To rebuild the
On the Sitecore Launchpad, open the Control Panel and in the Database section, click Rebuild link databases, select the Master and Core databases, and then click Rebuild.