April 2018
Intermediate to advanced
508 pages
15h 22m
English
The main table definition SQL adds these tables:
CREATE TABLE pgbench_branches(bid int not null, bbalance int, filler char(88)); ALTER TABLE pgbench_branches add primary key (bid);
CREATE TABLE pgbench_tellers(tid int not null,bid int, tbalance int,filler char(84)); ALTER TABLE pgbench_tellers add primary key (tid);
CREATE TABLE pgbench_accounts(aid int not null,bid int, abalance int,filler char(84)); ALTER TABLE pgbench_accounts add primary key (aid);
CREATE TABLE pgbench_history(tid int,bid int,aid int,delta int, mtime timestamp,filler char(22));
Read now
Unlock full access