zoukankan      html  css  js  c++  java
  • Tempdb--Row version

    Trigger:在SQL SERVER 2005之前,触发器需要使用日志来获取DELETED AND INSERTED的数据,因此会打乱日志顺序写的模式,造成磁盘压力,在SQL Server2005 之后,触发器改用行版本来获取DELETED AND INSERTED,从而减少对磁盘的影响,但增加对TempDB的压力

     

    Online Index: 在创建或重建索引时,可以指定ONLINE选项,当ONLINE=TURE时,只有在Index开始和结束时才申请表锁,其余时间用户可以操作和访问表中数据。SQL server使用row version来保持索引建立期间相同的数据视图,数据版本存储在TempDB中。

     

    MARS: Multiple active result set, SQL server use row versioning to provide statement consistency to the transcation as mars allows multiple statements within the same transcation to be active at the same time.

     

    Snapshot isolation level and read commited snapshot level: use row version to provide a consistent view in a transcation with snapshot isoaltion level.

     

  • 相关阅读:
    服务注册中心之Eureka使用
    微服务之服务注册中心
    Idea热部署功能
    微服务Cloud整体聚合工程创建过程
    微服务架构理论&SpringCloud
    关于母函数
    HDU 1028(母函数)整数划分
    1021 FIBERNACI
    1019
    1014 巧妙的gcd 生成元
  • 原文地址:https://www.cnblogs.com/TeyGao/p/3519610.html
Copyright © 2011-2022 走看看