摘要:事务的并发操作可能出现的问题 中文 英文 描述 脏读 Dirty Reads 事务2读到了事务1未提交的事务,事务1随后回滚,但事务2读到了事务1的“中间数据”。 在Read Uncommitted隔离级别下会发生,其它级别不会。 (update&read) 丢失更新 Lost Updates 两个
阅读全文
10 2023 档案
摘要:锁的模式 Shared (S) Update (U) Exclusive (X) Intent Intent Shared (IS) Intent Exclusive (IX) Shared with Intent Exclusive (SIX) Schema Schema Modification
阅读全文
摘要:Locks • Row (RID) • Key (KEY) • Page (PAG) • Extent (EXT) • Heap or B-tree (HoBT) • Table (TAB) • File (FIL) • Application (APP) • MetaData (MDT) • Al
阅读全文
摘要:文件类型 一个数据库有三种类型的文件: Primary File:.mdf,master data file,记录了这个DB其它文件的指针,每个数据库都有 Secondary File:默认情况下,数据存在主文件,如果决定对主文件进行扩展,可以创建二级文件,后缀名为.ndf Transaction
阅读全文
摘要:Windows平台Visual Studio 2022 主要涉及到nmake、makefile文件和windb的使用 配置Windows平台下的环境,Visual Studio, C++, 文档 在SQLite官网文档查看所需参数,然后在makefile中对应查找 比如,-DSQLITE_DEBUG
阅读全文