What is the difference between Sitecore's core, master, and web databases?

后端 未结 3 1972
感情败类
感情败类 2021-02-07 01:34

What is the difference between Sitecore\'s core, master, and web databases?

相关标签:
3条回答
  • 2021-02-07 01:49
    • Master: Contains all versions of all items. This is the database that content authors interact with, and is the default database used by the Sitecore Content Ediitor.
    • Web: This contains only the current versions of items. This is the database that supports the live website.
    • Core: This database has two purposes:
      1. It contains definitions for the Sitecore user interface (Content Editor, Page Editor, etc.). This is where you would go to add, for example, a new Right-click option to the Content Editor or a new ribbon button to the Page Editor.
      2. It contains the ASP.NET membership tables that drive authentication and security.
    0 讨论(0)
  • 2021-02-07 01:52

    Some great answers here but it's worth a clear note that the Web database is the default publishing target and is not set in stone. You can rename it to whatever you wish as well as have multiple publishing targets similar to 'Web'.

    e.g. We have a Sitecore instance with two websites (website and intranet), thusly the Master database contains all the items for both sites. For publishing we have two targets 'Website' and 'Intranet' that are hosted by different SQL servers.

    Ultimately our connections include: Core; Master; Website; Intranet (the latter two being copies of the original 'Web' database of course)

    0 讨论(0)
  • 2021-02-07 02:02

    I recommend you look at the Launch Sitecore site to understand more about the CMS.

    From the page on Sitecore Architecture:

    Master

    The Master database is the authoring database - it contains all versions of any content or assets.

    Core

    The Core database is all Sitecore settings, as well as the tables containing the .Net membership provider (i.e. users/roles contained in the Sitecore repository)

    Web

    The Web database is only the latest published version, and the content that is driving the live web site. Therefore it is a subset of the master database, optimised for size and speed. When content is published, or goes through the publishing task of a workflow, the latest content version is copied from the master to web database.

    Of course, in an Enterprise deployment, you may have multiple Sitecore instances, which may share DBs (or not)

    0 讨论(0)
提交回复
热议问题