{ "image": "postgres:18.6-bookworm@sha256:afc7e2d441324c0388fa80c3d24f733b4194a4eb7f47dd8ee2b08eb1a24a647c", "limits": { "server_cpus": 2, "server_memory": "2g", "pgbench_client_cpus": 2 }, "pg_settings": "image defaults", "dataset": { "messages_chats_minbytes_maxbytes": "121120|200|10|380", "chat_sizes": [ "60000x1", "15000x2", "2000x8", "80x189" ], "seed_seconds": 3.3 }, "pgbench": { "mode": "prepared", "seconds": 10, "warmup": 3, "repeats": 3, "read_clients": 4, "write_clients": 8, "page": "LIMIT 51 after a random position", "write_repeats": 5, "wal_method": "5000 app transactions, 1 client, autovacuum off, CHECKPOINT before; 3 repeats" }, "host": { "platform": "Windows-10-10.0.19045-SP0", "docker": "29.8.0" }, "variants": { "keyset_index": "(chat_id, created_at, id) — used by the app", "chat_id_index": "(chat_id) only", "no_index": "primary key only", "keyset_plus_sender": "app index + a second index (sender_id, created_at)" }, "sizes": { "keyset_index": { "index_build_s": 0.64, "index_bytes": { "messages_chat_keyset": "15097856", "messages_pkey": "10051584" }, "table_bytes": 64290816 }, "chat_id_index": { "index_build_s": 0.25, "index_bytes": { "messages_chat_only": "876544", "messages_pkey": "4775936" }, "table_bytes": 35037184 }, "no_index": { "index_build_s": 0.0, "index_bytes": { "messages_pkey": "4849664" }, "table_bytes": 35037184 }, "keyset_plus_sender": { "index_build_s": 1.67, "index_bytes": { "messages_chat_keyset": "21102592", "messages_pkey": "15286272", "messages_sender_time": "12468224" }, "table_bytes": 86335488 } } }