forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitafe1c51
committed
Add pgbench option to add foreign key constraints to the standard scenario.
The option --foreign-keys, used at initialization time, will create foreignkey constraints for the columns that represent references to other tables'primary keys. This can help in benchmarking FK performance.Jeff Janes1 parent11b335a commitafe1c51
2 files changed
+43
-7
lines changedLines changed: 34 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
119 | 119 |
| |
120 | 120 |
| |
121 | 121 |
| |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
122 | 127 |
| |
123 | 128 |
| |
124 | 129 |
| |
| |||
343 | 348 |
| |
344 | 349 |
| |
345 | 350 |
| |
| 351 | + | |
| 352 | + | |
346 | 353 |
| |
347 | 354 |
| |
348 | 355 |
| |
| |||
1275 | 1282 |
| |
1276 | 1283 |
| |
1277 | 1284 |
| |
1278 |
| - | |
1279 |
| - | |
1280 |
| - | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1281 | 1288 |
| |
1282 | 1289 |
| |
1283 | 1290 |
| |
| |||
1290 | 1297 |
| |
1291 | 1298 |
| |
1292 | 1299 |
| |
1293 |
| - | |
1294 |
| - | |
1295 |
| - | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
1296 | 1303 |
| |
1297 | 1304 |
| |
1298 | 1305 |
| |
1299 | 1306 |
| |
1300 | 1307 |
| |
1301 | 1308 |
| |
1302 | 1309 |
| |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
1303 | 1317 |
| |
1304 | 1318 |
| |
1305 | 1319 |
| |
| |||
1403 | 1417 |
| |
1404 | 1418 |
| |
1405 | 1419 |
| |
1406 |
| - | |
| 1420 | + | |
1407 | 1421 |
| |
1408 | 1422 |
| |
1409 | 1423 |
| |
| |||
1424 | 1438 |
| |
1425 | 1439 |
| |
1426 | 1440 |
| |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
1427 | 1453 |
| |
1428 | 1454 |
| |
1429 | 1455 |
| |
| |||
1864 | 1890 |
| |
1865 | 1891 |
| |
1866 | 1892 |
| |
| 1893 | + | |
1867 | 1894 |
| |
1868 | 1895 |
| |
1869 | 1896 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
183 | 192 |
| |
184 | 193 |
| |
185 | 194 |
| |
|
0 commit comments
Comments
(0)