bblitz

博客园 首页 新随笔 联系 订阅 管理
  12 随笔 :: 0 文章 :: 7 评论 :: 3432 阅读

10 2023 档案

摘要:事务的并发操作可能出现的问题 中文 英文 描述 脏读 Dirty Reads 事务2读到了事务1未提交的事务,事务1随后回滚,但事务2读到了事务1的“中间数据”。 在Read Uncommitted隔离级别下会发生,其它级别不会。 (update&read) 丢失更新 Lost Updates 两个 阅读全文
posted @ 2023-10-27 14:06 orrest 阅读(424) 评论(5) 推荐(2) 编辑

摘要:锁的模式 Shared (S) Update (U) Exclusive (X) Intent Intent Shared (IS) Intent Exclusive (IX) Shared with Intent Exclusive (SIX) Schema Schema Modification 阅读全文
posted @ 2023-10-26 16:29 orrest 阅读(76) 评论(0) 推荐(0) 编辑

摘要:Locks • Row (RID) • Key (KEY) • Page (PAG) • Extent (EXT) • Heap or B-tree (HoBT) • Table (TAB) • File (FIL) • Application (APP) • MetaData (MDT) • Al 阅读全文
posted @ 2023-10-26 15:55 orrest 阅读(17) 评论(0) 推荐(0) 编辑

摘要:文件类型 一个数据库有三种类型的文件: Primary File:.mdf,master data file,记录了这个DB其它文件的指针,每个数据库都有 Secondary File:默认情况下,数据存在主文件,如果决定对主文件进行扩展,可以创建二级文件,后缀名为.ndf Transaction 阅读全文
posted @ 2023-10-26 15:36 orrest 阅读(25) 评论(0) 推荐(0) 编辑

摘要:Windows平台Visual Studio 2022 主要涉及到nmake、makefile文件和windb的使用 配置Windows平台下的环境,Visual Studio, C++, 文档 在SQLite官网文档查看所需参数,然后在makefile中对应查找 比如,-DSQLITE_DEBUG 阅读全文
posted @ 2023-10-13 14:01 orrest 阅读(546) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示