Начало экспериментов : Определение и анализ характерных ожиданий, вызванных использованием индексов при массовых операциях INSERT. INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES ( current_tid , current_bid , current_aid , current_delta , CURRENT_TIMESTAMP ); Table "public.pgbench_history" Column | Type | Collation | Nullable | Default --------+-----------------------------+-----------+----------+--------- tid | integer | | | bid | integer | | | aid | integer | | | delta | integer | | | mtime | timestamp without time zone | | | filler | character(22) | | | Foreign-key constraints: "pgbench_history_aid_fkey" FOREIGN KEY (aid) REFERENCES pgbench_accounts(aid) "pgbench_history_bid_fkey" FOREIGN KEY (bid) REFERENCES pgbench_branches(bid) "pgbench_history_tid_fkey" FOREIGN KEY (tid) REFERENCES pgbench_tellers(tid) Table "public.pgbench_history" Column | Type | Collation | Nullable | Default --------+-----------------------------+-----------+----------+--------- tid | int