[转载]LazyWriter(惰性写入器) 进程的作用

2023-05-16

 

Q:What Does the LazyWriter Process Do?

The LazyWriter process is a periodic process that checks the status of BPool buffers (committed or not committed)in a cycle and evaluates if it needs to increase or decrease the number of committed buffers according to the memory required by SQL Server and memory available to the OS. This process wakes up every 1 second by default and can also be called by other processes to run more frequently.The LazyWriter is also responsible for updating the SQL Server memory counters in the Performance Monitor.

翻译:LazyWriter 进程是用来循环检测BPool buffers(已提交内存或未提交内存)的状态,在轮询中,依照SQL Server需求的内存与系统的可用内存的情况来评估是否BPool buffers需要增加或减少已提交内存。这个进程默认情况下每隔一秒被执行一次。

Number of buffers written per second by the buffer manager's lazy writer. The lazy writer is a system process that flushes out batches of dirty, aged buffers (buffers that contain changes that must be written back to disk before the buffer can be reused for a different page) and makes them available to user processes. The lazy writer eliminates the need to perform frequent checkpoints in order to create available buffers.

翻译:每秒被缓冲区管理器的lazy writer写入的缓冲区数。lazywriter是一个系统进程,其主要任务是成批刷新老化的脏缓冲区(指包含更改的缓冲区,这些更改必须写回磁盘,才能使该缓冲区由其它页重新使用),并使之可由用户进程使用。 惰性写入器消除了为创建可用缓冲区而频繁执行检查点的需要。

当执行 DBCC Memory ,看Buffer Counts项,注意 Target 的值
Target:the target committed count, or how big the buffer pool would like to be. if the target count is greater than
the Committed value, the buffer pool is growing. if the target count is less than the Committed value,the buffer
pool is shrinking. The lazywriter process uses this value to determine whether to grow or to shrink the buffer pool

最后一句很重要,翻译:lazywriter 进程使用target值来决定是否增长或收缩buffer pool(主要指committed中的值)的大小 

转载于:https://www.cnblogs.com/jzb01332/p/3637579.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

[转载]LazyWriter(惰性写入器) 进程的作用 的相关文章

随机推荐

  • linux关机前执行脚本,Linux关机时执行指定脚本

    要实现在Linux关机时执行某个脚本的具体思路 1 在文件夹 etc init d 下创建关机时需要执行的脚本 file name 2 分别在文件夹 etc rc0 d 和 etc rc6 d 下创建该脚本文件的链接文件 K07file n
  • 人脸识别程序流程图

    这是基于bpnn与opencv的人脸识别系统大致程序流程图 整个系统的实现还要依靠FPGA及其他硬件外设 这个系统的优点是将已经训练好的bpnn神经网络模型变换成二进制文件下载在flash中 xff0c 对采集的图片只要做相应的调整 xff
  • 检测SqlServer服务器IO是否瓶颈

    通过性能监视器监视 Avg Disk Queue Length 小于2 Avg Disk sec Read Avg Disk sec Write 小于10ms 可以用数据收集器定时收集 平均物理读次数最多的SQL语句 xff1a selec
  • Ubuntu下提升当前用户权限到root权限的坑与出坑方法

    由于使用gedit过程中很多时候权限不足 xff0c 想到将普通用户的权限提升为root权限的用户 经过问百度 xff0c 有博客说通过修改 34 etc passwd 34 文件 xff0c 提升用户权限 如博客 xff1a https
  • MariaDB 表的基本操作(3)

    MariaDB数据库管理系统是MySQL的一个分支 主要由开源社区在维护 采用GPL授权许可MariaDB的目的是完全兼容MySQL 包括API和命令行 MySQL由于现在闭源了 而能轻松成为MySQL的代替品 在存储引擎方面 使用Xtra
  • 流程审批设计

    这是我的项目中使用的一套关于工作流和审批流的配置 xff0c 算是比较简单的 xff0c 这里只写其中比较核心的思路 xff0c 算是对之前工作的一个技术总结吧 以下是数据库设计 xff1b 后面再跟据实例分析每个表的作用 首先是流程配置表
  • 文件流写到ftp服务器,采用ftpclient.storeFile(String, Inputstream)将流写到服务器,没报错但服务器上没有文件,这是怎么回事...

    满意答案 qingjixiaolan 推荐于 2018 04 27 创建一个FtpClient对象 FTPClient ftpClient 61 new FTPClient 上传文件 读取本地文件 file xff1a 需要上传的文件地址
  • TSA not available (for R version 3.6.3) 解决方法

    安装包 全部安装包路径 xff1a https cran r project org src contrib Archive TSA下载路径 xff1a https cran r project org src contrib Archiv
  • android banner设置图片比例,Banner基本使用 2.1.0

    Step 1 依赖banner Gradle dependencies compile 39 com youth banner banner 2 1 0 39 Step 2 添加权限到你的 AndroidManifest xml Step
  • int,bool,字符串知识总结

    一 xff1a int整数类型 bool类型 一 xff1a int类型 xff0c 整数 1 xff0c bit length 返回一个数的二进制长度 a 61 5 0 1 10 11 100 101 print a bit length
  • postgresql从库搭建

    1 复制类型 PostgreSQL支持物理复制 xff08 流复制 xff09 及逻辑复制2种 通过流复制技术 xff0c 可以从实例级复制出一个与主库一模一样的实例级的从库 流复制同步方式有同步 异步两种 另一种复制方式为逻辑复制 xff
  • NotePad 快捷键

    转载于 https www cnblogs com pxzbky p 11567346 html
  • 网络通信原理和过程

    当时查http协议的时候了解的一些网络底层的知识 xff0c 感觉挺有意思的 xff0c 就把多位博主的资料整料梳理出来整理到一堆 xff0c 就当是一篇科普文吧 一 网络的五层模型 如何分层有不同的模型 xff0c 有的模型分七层 xff
  • Springboot读取本地图片并显示

    在application xml中配置url访问路径和本地图片路径 xff1a 配置 url中访问路径 xff0c 这里为 xff1a localhost 8080 image 配置 本地图片保存的路径 xff0c image会根据D up
  • vue路由跳转到指定页面

    1 this router push name 39 Home 39 2 this router push path 39 view 39 3 this router replace name 39 Home 39 4 this route
  • Post方式提交,通过上下文HttpContext,Request[""]获取

    问题场景如下 xff1a 在项目的一般处理程序中 xff0c 所有方法都是通过 context Request 34 参数名 34 ToString 来获取参数的值 如果我直接将参数追加到URL后面 xff0c 直接Post xff0c 后
  • maven项目添加mysql的链接驱动

    Maven项目中添加JDBC驱动 在pom xml配置文件中添加 lt dependency gt lt groupId gt mysql lt groupId gt lt artifactId gt mysql connector jav
  • 2.5年, 从0到阿里

    从来没有想到自己的求职之路会这么顺利 第一次投阿里就拿到了offer 以前一直都是做好被刷的准备的 3月31号晚上收到了来自阿里的正式offer 签下录取意向书 粗略算了一下 从2012年9月份正式入学进入计算机系到2015年3月签下阿里o
  • 我的2013—弃金融IT,从SAP业务

    我的2013 xff0c 是动荡的一年 xff1b 这一年 xff0c 我跳巢了 xff1b 这一年 xff0c 我换行业了 xff1b 这一年 xff0c 我离开了生活5年的长春 xff0c 来到成都 xff1b 这一年 xff0c 我放
  • [转载]LazyWriter(惰性写入器) 进程的作用

    Q What Does the LazyWriter Process Do The LazyWriter process is a periodic process that checks the status of BPool buffe