Skip to content

Commit fdf4e67

Browse files
authored
Update dbcc-traceon-trace-flags-transact-sql.md
1 parent f726e7e commit fdf4e67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/t-sql/database-console-commands/dbcc-traceon-trace-flags-transact-sql.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The following table lists and describes the trace flags that are available in [!
5151
|**661**|Disables the ghost record removal process. For more information, see this [Microsoft Support article](https://support.microsoft.com/kb/920093).<br /><br />**Scope**: global only|
5252
|**692**|Disables fast inserts while bulk loading data into heap or clustered index. Starting [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)], fast inserts is enabled by default leveraging minimal logging when database is in simple or bulk logged recovery model to optimize insert performance for records inserted into new pages. With fast inserts, each bulk load batch acquires new extent(s) bypassing the allocation lookup for existing extent with available free space to optimize insert performance.<br /><br /> With fast inserts, bulk loads with small batch sizes can lead to increased unused space consumed by objects hence it is recommended to use large batchsize for each batch to fill the extent completely. If increasing batchsize is not feasible, this traceflag can help reduce unused space reserved at the expense of performance. <br /><br />**Note:** This trace flag applies to [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] RTM and higher builds.<br /><br />**Scope**: global or session|
5353
|**715**|Enables table lock for bulk load operations into a heap with no non-clustered indexes. When this trace flag is enabled, bulk load operations acquire bulk update (BU) locks when bulk copying data into a table. Bulk update (BU) locks allow multiple threads to bulk load data concurrently into the same table, while preventing other processes that are not bulk loading data from accessing the table.<br /><br />The behavior is similar to when the user explicitly specifies TABLOCK hint while performing bulk load, or when the sp_tableoption table lock on bulk load is enabled for a given table. However, when this trace flag is enabled, this behavior becomes default without any query or database changes.<br /><br />**Scope:** global or session|
54-
|**834**|Uses Microsoft Windows large-page allocations for the buffer pool. For more information, see this [Microsoft Support article](https://support.microsoft.com/kb/3210239).<br /><br />**Note:** If you are using the Columnstore Index feature of [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] to [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)], we do not recommend turning on trace flag 834.<br /><br />**Scope**: global only|
54+
|**834**|Uses large-page allocations for the buffer pool, columnstore, and in-memory tables. For more information, see this [Microsoft Support article](https://support.microsoft.com/kb/3210239).<br /><br />**Note:** When enabled, the large-page memory model pre-allocates all SQLOS memory at instance startup and does not return that memory to the OS.<br /><br />**Note:** If you are using the Columnstore Index feature of [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] to [!INCLUDE[ssCurrent](../../includes/sscurrent-md.md)], we do not recommend turning on trace flag 834.<br /><br />**Scope**: global only|
5555
|**845**|Enables locked pages on Standard SKUs of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], when the service account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] has the Lock Pages in Memory privilege enabled. For more information, see this [Microsoft Support article](https://support.microsoft.com/kb/970070) and the documentation page on [Server Memory Server Configuration Options](../../database-engine/configure-windows/server-memory-server-configuration-options.md#lock-pages-in-memory-lpim).<br /><br />**Note:** Starting with [!INCLUDE[ssSQL11](../../includes/sssql11-md.md)] this behavior is enabled by default for Standard SKUs, and trace flag 845 must not be used.<br /><br />**Scope**: global only|
5656
|**902**|Bypasses execution of database upgrade script when installing a Cumulative Update or Service Pack. If you encounter an error during script upgrade mode, it is recommended to contact Microsoft SQL Customer Service and Support (CSS) for further guidance. For more information, see this [Microsoft Support article](https://support.microsoft.com/kb/2163980).<br /><br />**WARNING:** This trace flag is meant for troubleshooting of failed updates during script upgrade mode, and it is not supported to run it continuously in a production environment. Database upgrade scripts needs to execute successfully for a complete install of Cumulative Updates and Service Packs. Not doing so can cause unexpected issues with your [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance.<br /><br />**Scope**: global only|
5757
|**1117**|When a file in the filegroup meets the autogrow threshold, all files in the filegroup grow.<br /><br />**Note:** Starting with [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)] this behavior is controlled by the AUTOGROW_SINGLE_FILE and AUTOGROW_ALL_FILES option of ALTER DATABASE, and trace flag 1117 has no effect. For more information, see [ALTER DATABASE File and Filegroup Options &#40;Transact-SQL&#41;](../../t-sql/statements/alter-database-transact-sql-file-and-filegroup-options.md).<br /><br />**Scope:** global only|

0 commit comments

Comments
 (0)