在 SharePoint Server 中擴充網際網路網站的搜尋Scale search for Internet sites in SharePoint Server

摘要: 判定硬體需求和檢閱考量,以針對效能及可用性擴充 SharePoint Server 的網際網路網站的搜尋拓撲。Summary: Determine hardware requirements and review considerations to scale out SharePoint Server search topologies for Internet sites for performance and availability.

本文針對網際網路網站的搜尋拓撲,列出虛擬機器及實體伺服器的基本硬體需求。This article lists the minimum hardware requirements for virtual machines and physical servers for search topologies for Internet sites.

本文同時提供用來調整搜尋拓撲以增進效能及可用性的基本指導。This article also provides basic guidance on the scaling of search topologies to improve performance and availability.

簡介Introduction

本文針對擴充網際網路網站之搜尋拓撲的作法及時機,列出基本需求並提供指導。This article lists the minimum requirements and gives guidance about how and when to scale out search topologies for Internet sites.

如需拓撲範例,請參閱技術圖<SharePoint Server 2016 的網際網路網站搜尋結構>。For examples of topologies, see the technical diagram Internet sites search architectures for SharePoint Server 2016.

如需搜尋元件及整體搜尋架構的概觀及描述,請參閱<SharePoint Server 的搜尋架構概觀>及技術圖表<SharePoint Server 2016 的搜尋結構>。For an overview and a description of search components and the overall search architecture, see Overview of search architecture in SharePoint Server and the technical diagram Search architectures for SharePoint Server 2016.

網際網路網站搜尋拓撲的硬體需求Hardware requirements for search topologies for Internet sites

下表顯示架設網際網路網站中型搜尋拓撲之伺服器的硬體需求。硬體需求適用於:The following tables show the hardware requirements for servers that host a medium search topology for Internet sites. The hardware requirements apply to:

  • 含有搜尋元件的應用程式伺服器及網頁伺服器。Application servers and Web servers that contain search components.

  • 含有搜尋資料庫的資料庫伺服器。Database servers that contain search databases.

主控搜尋元件之伺服器所列的 RAM 最低需求為該伺服器所需的 RAM 數量的總和。例如,如果您在單一伺服器上主控內容處理元件、搜尋管理元件及編目元件,該伺服器的 RAM 最低需求數量總和為 24 GB。The minimum listed RAM requirements for a server that hosts a search component is the total required amount of RAM for that server. For example, if you are hosting a content processing component, a search administration component and a crawl component on one server, the total amount of minimum required RAM for that server is 24 GB.

每一部伺服器必須具有足夠的磁碟空間可容納 Windows Server 作業系統的基本安裝,也要有足夠的磁碟空間可用於進行診斷 (如記錄、偵錯、建立記憶體傾印等)。實際執行使用時,伺服器還需要有額外的可用磁碟空間,以因應日常作業和供分頁檔使用。請遵循指引來決定您的 Windows Server 安裝所需的可用磁碟空間和分頁檔大小。Each server must have sufficient disk space for the base installation of the Windows Server operating system and sufficient disk space for diagnostics such as logging, debugging, creating memory dumps, and so on. For production use, the server also needs additional free disk space for day-to-day operations and for the page file. Follow the guidance on free disk space and page file size corresponding to your Windows Server installation.

注意

中型搜尋拓撲範例已針對實體硬體進行最佳化,但也可以部署在虛擬機器上。The medium search topology example is optimized for physical hardware, but you can deploy it on virtual machines as well.

主控搜尋元件的應用程式伺服器及網頁伺服器Application servers and Web servers hosting search components

實體伺服器上的搜尋元件Search component on the physical server RAMRAM 硬碟Hard disk 處理器Processor
索引元件Index component 伺服器陣列中每個伺服器有 48 GB 用來主控索引元件、查詢處理元件及 Web 前端。48 GB for each server in the farm that hosts an index component, a query processing component and the Web front end. 500 GB 的額外硬碟空間,最好是不同的磁碟區/分割區。500 GB additional disk space, preferably a separate disk volume/partition. 所有元件: 64 位元,最少使用 4 核心,建議使用 8 核心。64-bit, 4 cores minimum, 8 cores recommended.
分析處理元件Analytics processing component 伺服器陣列中每個伺服器有 24 GB 用來主控分析處理元件、編目元件、內容處理元件及/或搜尋管理元件。24 GB for each server in the farm that hosts an analytics processing component, a crawl component, a content processing component and/or a search administration component. 300 GB 的額外硬碟空間,最好是不同的磁碟區/分割區。300 GB additional disk space, preferably a separate disk volume/partition.
編目元件內容處理元件Crawl component Content processing component 請參閱所列之分析處理元件的需求。See the requirements listed for the analytics processing component. 系統磁碟機需要 80 GB。80 GB for system drive.
查詢處理元件Query processing component 請參閱對於索引元件所列的需求。See the requirements listed for the index component.
搜尋管理元件Search administration component 請參閱所列之分析處理元件的需求。See the requirements listed for the analytics processing component.

架設搜尋資料庫的資料庫伺服器Database servers hosting search databases

元件Component 基本需求Minimum requirements
處理器Processor 小型拓撲需要 64 位元 4 核心。64-bit, 4 cores for small topologies.
中型拓撲需要 64 位元 8 核心。64-bit, 8 cores for medium topologies.
RAMRAM 小型拓撲需要 8 GB。8 GB for small topologies.
中型拓撲需要 16 GB。16 GB for medium topologies.
硬碟Hard disk 系統磁碟機需要 80 GB。80 GB for system drive.
硬碟空間取決於內容量。Hard disk space depends on the amount of content.

中型網際網路網站拓撲的效能考量Performance considerations for a medium Internet sites topology

中型網際網路網站 (FIS) 拓撲會針對 3,400,000 個項目的主體大小進行最佳化,每秒處理大約 100-200 份文件 (取決於語言),使用模式為每秒 85 次網頁檢視 (等於每秒 100 個查詢)。A medium Internet sites (FIS) topology is optimized for a corpus size of 3,400,000 items, processing approximately 100-200 documents per second, depending on language, and a usage pattern of 85 page views per second, which corresponds to 100 queries per second.

效能考量Performance considerations

考量重點What to consider 重要性Why this is important
快取Cache 查詢及其結果會以 Windows Server AppFabric 快取為機碼值組:查詢就是機碼,結果就是值。每個查詢的快取比率大約是 50%。這表示,如果您的使用模式是每秒 200 個查詢,則會將大約 100 個查詢傳送到搜尋索引,並快取另 100 個查詢。快取結果的查詢延遲會比您從搜尋索引擷取的查詢延遲更低。例如,通常會快取經常執行的頭版查詢的結果。The query and its results are cached with Windows Server AppFabric, in key-value pairs: the query being the key and the results being the value. For each query, there is an approximate 50% cache ratio. This means that if you have a usage pattern of 200 queries per second, about 100 queries are sent to the search index and the other 100 queries are cached. The results from the cache have lower query latency than those that you retrieve from the search index. For example, results for front-page queries that are often run are likely to be cached.
連續編目Continuous crawl 建議您啟用連續編目,並將間隔設為 1 分鐘而非預設的 15 分鐘。您只能針對 SharePoint 內容來源啟用連續編目。We recommend that you enable continuous crawl with an interval of one minute, instead of the default interval of 15 minutes. You can only enable continuous crawl on SharePoint content sources.
匿名存取Anonymous access 使用者利用匿名存取,就不需要使用憑證登入 SharePoint 網際網路網站。匿名查詢的查詢延遲較低,快取時的成本也較低。您必須在兩個位置啟用匿名存取:網路頭版及網站。With anonymous access, users do not have to use credentials to log on to a SharePoint Internet site. Anonymous queries are cached, so they are cheaper because of lower query latency. You must enable anonymous access in two locations: on the web front-end and on the site.
查詢延遲Query latency 查詢延遲受到快取、匿名存取及其他因素 (例如套用和觸發的查詢規則的數目及複雜度) 所影響。同時也要考慮儲存搜尋索引的磁碟;有多個磁針的磁碟可增進磁碟存取速度並降低查詢延遲。Query latency is influenced by caching, anonymous access and by other factors such as the number and complexity of query rules that are applied and triggered. Also, consider the disks on which the search index is stored; a disk that has multiple spindles can improve the access speed of the disk and reduce query latency.

另請參閱See also

在 SharePoint Server 中管理搜尋拓撲Manage the search topology in SharePoint Server

變更 SharePoint Server 中的預設搜尋拓撲Change the default search topology in SharePoint Server

在 SharePoint Server 中管理搜尋元件Manage search components in SharePoint Server

在 SharePoint Server 中管理索引元件Manage the index component in SharePoint Server