数据库事务那些事

Transaction 也就是所谓的事务了,通俗理解就是一件事情。从小,父母就教育我们,做事情要有始有终,不能半途而废。 事务也是这样,不能做一般就不做了,要么做完,要么就不做。也就是说,事务必须是一个不可分割的整体,就像我们在化学课里学到的原子,原子是构成物质的最小单位。于是,人们就归纳出事务的第一个特性:原子性(Atomicity)。我靠,一点都不神秘嘛。 特别是在数据库领域,事务是一个非常重

- 阅读全文 -

B tree VS B+ tree

The image below helps show the differences between B+ trees and B trees. Advantages of B+ trees: Because B+ trees don't have data associated with interior nodes, more keys can fit on a page of memory

- 阅读全文 -

最新文章

最近回复

分类

标签

归档