2012年11月6日

摘要: (Multi-Version Concurrency Control多版本并发控制)介绍Maintain data consistency internally • While querying a database each transaction sees a snapshot of data (a database version) as it was some time ago • Prevent transaction from viewing inconsistent data • Provides transaction isolation in concurrent tr... 阅读全文

posted @ 2012-11-06 17:10 JasmineLiu 阅读(428) 评论(0) 推荐(0) 编辑

摘要: 6 sequence序列highgo=# create sequence t_seq increment by 1 start with 1;CREATE SEQUENCEhighgo=# select nextval('t_seq'); 查看序列中下一个值nextval--------- 1(1 行记录)highgo=#create table t(id int default nextval(‘t_seq’),name varchar); 在定义时使用sequenceCREATE TABLEhighgo=# insert into t(name) values('j 阅读全文

posted @ 2012-11-06 16:42 JasmineLiu 阅读(704) 评论(0) 推荐(0) 编辑


Copyright © 2024 JasmineLiu
Powered by .NET 9.0 on Kubernetes