begin transaction;
create table person_id(person_id integer primary key);
insert into person_id values(1);
... snip ...
insert into person_id values(50000);
commit;
这段代码在我的机器上大约需要 0.9 秒,并创建一个占用 392K 的 db 文件。如果我将第二行更改为,这些数字变为 1.4 秒和 864K
create table person_id(person_id integer nonclustered primary key);
为什么会这样?