Description
Specifies the amount of data that can be read from the server running Microsoft SQL Server at one time.
![]() |
---|
This property is available only from the command line. |
Syntax
stsadm -o setproperty
-propertyname large-file-chunk-size
-propertyvalue
[-url
The syntax for the getproperty operation is:
stsadm -o getproperty
propertyname large-file-chunk-size
[-url
![]() |
---|
You can substitute -pn for -propertyname and -pv for -propertyvalue. |
Property values
The following table shows possible values.
Name | Value |
propertyname | Gets or sets the name of the property. |
propertyvalue | The upload size in bytes. Content consisting of a single file or groups of files cannot be greater than this setting. The default value is 5 megabytes (MB). In certain circumstances, this value can be changed to any value up to 2 GB (2047 MB). |
url | Typically, a path to the URL of the Web application, in the form http://server_name. |
Remarks
If you have a file that is greater than your chunk size (for example, 70 megabytes (MB) when the chunk size is set to 5 MB), the file would be read in 14 chunks (70/5). The chunk size is not related to the maximum upload file size. The chunk size simply specifies the amount of data that can be read from a file at one time.
![]() |
---|
If the chunk size is raised too high, the files might use up too much front-end memory and you may need to lower this setting After making a change to this property, you must restart IIS. You can restart IIS by typing iisreset at a command-line prompt. |
Examples
To set the large file chunk size to 500 MB, use the following syntax:
stsadm -o setproperty -pn large-file-chunk-size -pv 500
To view the current setting of the large file chunk size property, use the following syntax:
stsadm -o getproperty -pn large-file-chunk-size –url http://server_name