forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4e9b159
committed
Change order of operations during XLogFlush so that we try to include
in our write/flush operation any WAL entries that got queued while wewere waiting to get the WALWriteLock. This improves throughput whentransactions are small enough that several can be committed per WALwrite (ie, per disk revolution).1 parent9a2e9c6 commit4e9b159
1 file changed
+23
-18
lines changedLines changed: 23 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
1252 | 1252 |
| |
1253 | 1253 |
| |
1254 | 1254 |
| |
1255 |
| - | |
1256 |
| - | |
1257 |
| - | |
1258 |
| - | |
1259 |
| - | |
1260 |
| - | |
1261 |
| - | |
1262 |
| - | |
1263 |
| - | |
1264 |
| - | |
1265 |
| - | |
1266 |
| - | |
1267 |
| - | |
1268 |
| - | |
1269 |
| - | |
1270 | 1255 |
| |
1271 | 1256 |
| |
1272 | 1257 |
| |
1273 | 1258 |
| |
1274 | 1259 |
| |
1275 |
| - | |
1276 |
| - | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1277 | 1282 |
| |
1278 | 1283 |
| |
1279 | 1284 |
| |
|
0 commit comments
Comments
(0)