• Large-file-chunk-size 设置最大文件上传值


    Large-file-chunk-size: Stsadm property (Office SharePoint Server)

    SharePoint 2007
     
    0 out of 1 rated this helpful - Rate this topic
     

    Updated: August 20, 2009

    Applies To: Office SharePoint Server 2007

    Updated: 2009-08-20

    Description

    Specifies the amount of data that can be read from the server running Microsoft SQL Server at one time.

    NoteNote:

    This property is available only from the command line.

    Syntax

    stsadm -o setproperty

       -propertyname large-file-chunk-size

       -propertyvalue <Value in bytes>

       [-url <http://server_name> ]

    The syntax for the getproperty operation is:

    stsadm -o getproperty

       propertyname large-file-chunk-size

       [-url <http://server_name> ]

    NoteNote:

    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,242,880 bytes (5 MB). In certain circumstances, this value can be changed to any value up to 2 GB (2048 MB or 2,147,483,648 bytes).

    url

    Typically, a path to the URL of the Web application, in the form http://server_name.

    Remarks

    To determine the chunk size that is read, you divide the file size by the current chunk size setting. 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. For example, if you have a file that is 73,400,320 bytes in size and your current chunk size is set to 5,242,880 bytes, the file would be read in 14 chunks (73,400,320/5,242,880).

    NoteNote:

    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. If the chunk size is set too low, too many requests might be sent to the SQL Server database and performance could be affected. Balancing between the default of 5 MB and 2 GB is recommended.

    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 1,073,741,824 bytes (1024 MB), use the following syntax:

    stsadm -o setproperty -pn large-file-chunk-size -pv 1073741824

    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

  • 相关阅读:
    linux C/C++编程之库-动态库,静态库创建及使用
    类linux 系统iptables 系统初始化配置
    OS error set
    OpenWrt修改
    OpenWrt backfire trunk源码下载及编译
    OpenWrt compiles
    OpenWrt 学习网址
    nginx编译配置
    cocos2d-x中的坐标系
    SGU 231 Prime Sum 求&lt;=n内有多少对素数(a,b)使得a+b也为素数 规律题
  • 原文地址:https://www.cnblogs.com/dadongzuo/p/3467418.html
Copyright © 2020-2023  润新知