Skip to content

Commit 47bfca0

Browse files
author
PRMerger7
authored
Merge pull request #4073 from pmasl/patch-43
Update configure-the-index-create-memory-server-configuration-option.md
2 parents daac809 + 7adf502 commit 47bfca0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/database-engine/configure-windows/configure-the-index-create-memory-server-configuration-option.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Configure the index create memory Server Configuration Option | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/02/2017"
4+
ms.date: "11/24/2017"
55
ms.prod: "sql-non-specified"
66
ms.prod_service: "database-engine"
77
ms.service: ""
@@ -24,7 +24,7 @@ ms.workload: "Inactive"
2424
# Configure the index create memory Server Configuration Option
2525
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)]
2626

27-
This topic describes how to configure the **index create memory** server configuration option in [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)]. The **index create memory** option controls the maximum amount of memory initially allocated for creating indexes. The default value for this option is 0 (self-configuring). If more memory is later needed for index creation and the memory is available, the server will use it; thereby, exceeding the setting of this option. If additional memory is not available, the index creation will continue using the memory already allocated.
27+
This topic describes how to configure the **index create memory** server configuration option in [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)] by using [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)] or [!INCLUDE[tsql](../../includes/tsql-md.md)]. The **index create memory** option controls the maximum amount of memory initially allocated for sort operations when creating indexes. The default value for this option is 0 (self-configuring). If more memory is later needed for index creation and the memory is available, the server will use it; thereby, exceeding the setting of this option. If additional memory is not available, the index creation will continue using the memory already allocated.
2828

2929
**In This Topic**
3030

@@ -48,7 +48,7 @@ ms.workload: "Inactive"
4848

4949
### <a name="Restrictions"></a> Limitations and Restrictions
5050

51-
- The setting of the **min memory per query** option has precedence over the **index create memory** option. If you change both options and the **index create memory** is less than **min memory per query**, you receive a warning message, but the value is set. During query execution, you receive a similar warning.
51+
- The setting of the **[min memory per query](../../database-engine/configure-windows/configure-the-min-memory-per-query-server-configuration-option.md)** option has precedence over the **index create memory** option. If you change both options and the **index create memory** is less than **min memory per query**, you receive a warning message, but the value is set. During query execution, you receive a similar warning.
5252

5353
- When using partitioned tables and indexes, the minimum memory requirements for index creation may increase significantly if there are non-aligned partitioned indexes and a high degree of parallelism. This option controls the total initial amount of memory allocated for all index partitions in a single index creation operation. The query will terminate with an error message if the amount set by this option is less than the minimum required to run the query.
5454

@@ -59,6 +59,8 @@ ms.workload: "Inactive"
5959
- This option is an advanced option and should be changed only by an experienced database administrator or certified [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] technician.
6060

6161
- The **index create memory** option is self-configuring and usually works without requiring adjustment. However, if you experience difficulties creating indexes, consider increasing the value of this option from its run value.
62+
63+
- Creating an index on a production system is usually an infrequently performed task, often scheduled as a job to execute during off-peak time. Therefore, when creating indexes infrequently and during off-peak time, increasing the **index create memory** can improve the performance of index creation. Keep the **[min memory per query](../../database-engine/configure-windows/configure-the-min-memory-per-query-server-configuration-option.md)** configuration option at a lower number, however, so the index creation job still starts even if all the requested memory is not available.
6264

6365
### <a name="Security"></a> Security
6466

0 commit comments

Comments
 (0)