当前位置: 首页 > news >正文

检查点(Checkpoint)速度控制参数

引用自《SQL Server 2012 Internals》:

In some cases, checkpoints might issue a substantial amount of I/O, causing the I/O subsystem to get inundated with write requests, which can severely affect read performance. On the other hand, 
relatively low I/O activity can be utilized during some periods. SQL Server 2012 includes a commandline option that allows throttling of checkpoint I/Os. Use the SQL Server Confguration Manager 
and add the –k parameter, followed by a decimal number, to the list of startup parameters for the SQL Server service. The value specifed indicates the number of megabytes per second that the checkpoint process can write. By using this –k option, the I/O overhead of checkpoints can be spread out 
and have a more measured effect. Remember that by default, the checkpoint process makes sure that SQL Server can recover databases within the recovery interval that you specify. If you enable this option, the default behavior changes, resulting in a long recovery time if you specify a very low value for
the parameter. Backups might require slightly more time to fnish because a checkpoint process that a backup initiates is also delayed. Before enabling this option on a production system, make sure that 
you have enough hardware to sustain the I/O requests posted by SQL Server and that you have thoroughly tested your applications on the system. The –k option doesn’t apply to indirect checkpoints.


C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Binn>sqlservr.exe /?
usage: sqlservr
        [-a<L2 buffer pool directory>,<size in GB>]                    (adding a
n L2 buffer pool file)
        [-c] (not as a service)
        [-d file] (alternative master data file)
        [-l file] (alternative master log file)
        [-e file] (alternate errorlog file)
        [-f] (minimal configuration mode)
        [-m] (single user admin mode)
        [-g number] (stack MB to reserve)
        [-k <decimal number>] (checkpoint speed in MB/sec)
        [-n] (do not use event logging)
        [-s name] (alternate registry key name)
        [-T <number>] (trace flag turned on at startup)
        [-x] (no statistics tracking)
        [-y number] (stack dump on this error)
        [-B] (breakpoint on error (used with -y))
        [-K] (force regeneration of service master key (if exists))
        [-v] (list version information)

See documentation for details.













本文转自UltraSQL51CTO博客,原文链接: http://blog.51cto.com/ultrasql/1855094,如需转载请自行联系原作者




相关文章:

  • grep
  • CentOS6.6+Puppet3.7.4分布式部署Nagios监控系统
  • SCVMM2012SP1异构虚拟化ID 22723问题解决
  • 时空日期审核错误修正
  • 一个java写的弹球小游戏
  • python 之浅谈接口的定义和抽象类以及抽象方法
  • Kickstart无人值守安装
  • mysql 备份脚本
  • vsftp安装与下载
  • Walle代码发布练习
  • Nagios Cacti
  • TCP的TIME_WAIT快速回收与重用
  • 学习笔记 八: web服务
  • 告警系统
  • 改造了房屋布线
  • 【402天】跃迁之路——程序员高效学习方法论探索系列(实验阶段159-2018.03.14)...
  • ➹使用webpack配置多页面应用(MPA)
  • 2018以太坊智能合约编程语言solidity的最佳IDEs
  • C++回声服务器_9-epoll边缘触发模式版本服务器
  • Django 博客开发教程 8 - 博客文章详情页
  • electron原来这么简单----打包你的react、VUE桌面应用程序
  • Laravel 中的一个后期静态绑定
  • React组件设计模式(一)
  • vue.js框架原理浅析
  • 前端设计模式
  • 探索 JS 中的模块化
  • 微服务框架lagom
  • 云大使推广中的常见热门问题
  • 你对linux中grep命令知道多少?
  • 7行Python代码的人脸识别
  • ​Base64转换成图片,android studio build乱码,找不到okio.ByteString接腾讯人脸识别
  • # 手柄编程_北通阿修罗3动手评:一款兼具功能、操控性的电竞手柄
  • (1)(1.11) SiK Radio v2(一)
  • (3)选择元素——(17)练习(Exercises)
  • (笔试题)分解质因式
  • (多级缓存)缓存同步
  • (论文阅读11/100)Fast R-CNN
  • (转)大型网站的系统架构
  • .NET : 在VS2008中计算代码度量值
  • .NET Core 中的路径问题
  • .NET Core日志内容详解,详解不同日志级别的区别和有关日志记录的实用工具和第三方库详解与示例
  • .net 使用ajax控件后如何调用前端脚本
  • @zabbix数据库历史与趋势数据占用优化(mysql存储查询)
  • @我的前任是个极品 微博分析
  • [ 数据结构 - C++] AVL树原理及实现
  • [Android 13]Input系列--获取触摸窗口
  • [Angular] 笔记 16:模板驱动表单 - 选择框与选项
  • [Design Pattern] 工厂方法模式
  • [ERROR]-Error: failure: repodata/filelists.xml.gz from addons: [Errno 256] No more mirrors to try.
  • [FZSZOJ 1223] 上海红茶馆
  • [HITCON 2017]SSRFme perl语言的 GET open file 造成rce
  • [Leetcode] Permutations II
  • [Linux] Boot分区满了的处理方法 The volume boot has only 0 bytes disk space remaining
  • [MAT]使用MAT比較多个heap dump文件
  • [No000016]为什么假期计划总是做不到?