Quote "Sitecore CMS 6.6 or later - Scaling Guide"The IDTableYou can store persistent mappings of arbitrary keys to Sitecore IDs in the Sitecore IDTable.
By default, this is only used by the Sitecore CMS WebDAV functionality to keep locks on media items in the CM environment and does not need to be synchronized with the CD environmentYou configure the location of the IDTable in the web.config file in the IDTable section in the connectionStringName parameter:<IDTable type="Sitecore.Data.$(database).$(database)IDTable, Sitecore.Kernel" singleInstance="true"> <param connectionStringName="master" /><param desc="cacheSize">500KB</param></IDTable>To synchronize the contents of the IDTable between the CM and CD environments, change the connectionStringName parameter in the IDTable configuration section to point to a Core database that is shared or replicated between the environments. Alternatively, it can point to a shared Web database
http://sdn.sitecore.net/upload/sitecore6/66/scaling_guide_sc66-a4.pdf
IDTable can be used for tasks like keeping track of duplicate items when doing a custom import from another third-party application to sitecore.
Sitecore.Data.IDTables.IDTable.Add(string prefix, string key, ID id);
By keeping IDs of items that has already imported to sitecore, if you run the import more than once, you have the option of skipping the IDs that already had imported to the system by keeping/monitoring the IDTable entries.
You can find an old blog entry about IDTable from following url :
http://sitecoredev.blogspot.com/2005/11/idtable.html
Updated:
http://sitecorejunkie.com/2014/03/01/synchronize-idtable-entries-across-multiple-sitecore-databases-using-a-composite-idtableprovider/
You can also synchronize IDTable entries across your CM and CD environments by using a custom publishItem pipeline processor:
ReplyDeletehttp://sitecorejunkie.com/2014/03/02/synchronize-idtable-entries-across-multiple-sitecore-databases-using-a-custom-publishitem-pipeline-processor/
-Mike
Good to know. Thanks for the post. :-)
DeleteThis comment has been removed by a blog administrator.
ReplyDelete