- Notifications
You must be signed in to change notification settings - Fork5
Commit867e2c9
committed
Implement "distributed" checkpoints in which the checkpoint I/O is spread
over a fairly long period of time, rather than being spat out in a burst.This happens only for background checkpoints carried out by the bgwriter;other cases, such as a shutdown checkpoint, are still done at full speed.Remove the "all buffers" scan in the bgwriter, and associated statsinfrastructure, since this seems no longer very useful when the checkpointitself is properly throttled.Original patch by Itagaki Takahiro, reworked by Heikki Linnakangas,and some minor API editorialization by me.1 parentb09c248 commit867e2c9
File tree
22 files changed
+748
-451
lines changed- doc/src/sgml
- src
- backend
- access/transam
- bootstrap
- catalog
- commands
- postmaster
- storage/buffer
- tcop
- utils
- adt
- misc
- include
- access
- catalog
- postmaster
- storage
- test/regress/expected
22 files changed
+748
-451
lines changedLines changed: 23 additions & 59 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
1168 | 1168 |
| |
1169 | 1169 |
| |
1170 | 1170 |
| |
1171 |
| - | |
| 1171 | + | |
1172 | 1172 |
| |
1173 | 1173 |
| |
1174 | 1174 |
| |
1175 |
| - | |
1176 |
| - | |
1177 |
| - | |
1178 |
| - | |
1179 |
| - | |
| 1175 | + | |
1180 | 1176 |
| |
1181 | 1177 |
| |
1182 | 1178 |
| |
1183 | 1179 |
| |
1184 |
| - | |
1185 |
| - | |
| 1180 | + | |
| 1181 | + | |
1186 | 1182 |
| |
1187 | 1183 |
| |
1188 | 1184 |
| |
| |||
1242 | 1238 |
| |
1243 | 1239 |
| |
1244 | 1240 |
| |
1245 |
| - | |
1246 |
| - | |
1247 |
| - | |
1248 |
| - | |
1249 |
| - | |
1250 |
| - | |
1251 |
| - | |
1252 |
| - | |
1253 |
| - | |
1254 |
| - | |
1255 |
| - | |
1256 |
| - | |
1257 |
| - | |
1258 |
| - | |
1259 |
| - | |
1260 |
| - | |
1261 |
| - | |
1262 |
| - | |
1263 |
| - | |
1264 |
| - | |
1265 |
| - | |
1266 |
| - | |
1267 |
| - | |
1268 |
| - | |
1269 |
| - | |
1270 |
| - | |
1271 |
| - | |
1272 |
| - | |
1273 |
| - | |
1274 |
| - | |
1275 |
| - | |
1276 |
| - | |
1277 |
| - | |
1278 |
| - | |
1279 |
| - | |
1280 |
| - | |
1281 |
| - | |
1282 |
| - | |
1283 |
| - | |
1284 |
| - | |
1285 | 1241 |
| |
1286 | 1242 |
| |
1287 | 1243 |
| |
1288 |
| - | |
1289 |
| - | |
1290 |
| - | |
1291 |
| - | |
1292 |
| - | |
1293 |
| - | |
| 1244 | + | |
1294 | 1245 |
| |
1295 | 1246 |
| |
1296 | 1247 |
| |
1297 | 1248 |
| |
1298 |
| - | |
1299 |
| - | |
1300 |
| - | |
1301 | 1249 |
| |
1302 | 1250 |
| |
1303 | 1251 |
| |
| |||
1307 | 1255 |
| |
1308 | 1256 |
| |
1309 | 1257 |
| |
1310 |
| - | |
| 1258 | + | |
1311 | 1259 |
| |
1312 | 1260 |
| |
1313 | 1261 |
| |
| |||
1565 | 1513 |
| |
1566 | 1514 |
| |
1567 | 1515 |
| |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1568 | 1532 |
| |
1569 | 1533 |
| |
1570 | 1534 |
| |
|
Lines changed: 9 additions & 28 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
251 | 251 |
| |
252 | 252 |
| |
253 | 253 |
| |
254 |
| - | |
255 |
| - | |
256 |
| - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
| |||
777 | 777 |
| |
778 | 778 |
| |
779 | 779 |
| |
780 |
| - | |
| 780 | + | |
781 | 781 |
| |
782 | 782 |
| |
783 |
| - | |
784 |
| - | |
| 783 | + | |
| 784 | + | |
785 | 785 |
| |
786 | 786 |
| |
787 | 787 |
| |
788 | 788 |
| |
789 |
| - | |
| 789 | + | |
790 | 790 |
| |
791 | 791 |
| |
792 |
| - | |
793 |
| - | |
794 |
| - | |
795 |
| - | |
796 |
| - | |
797 |
| - | |
798 |
| - | |
799 |
| - | |
800 |
| - | |
801 |
| - | |
| 792 | + | |
802 | 793 |
| |
803 | 794 |
| |
804 | 795 |
| |
805 | 796 |
| |
806 | 797 |
| |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 |
| - | |
812 |
| - | |
813 |
| - | |
814 |
| - | |
815 |
| - | |
816 |
| - | |
817 | 798 |
| |
818 | 799 |
| |
819 | 800 |
| |
|
Lines changed: 30 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
220 |
| - | |
221 |
| - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
222 | 248 |
| |
223 | 249 |
| |
224 | 250 |
| |
225 | 251 |
| |
226 | 252 |
| |
227 | 253 |
| |
228 |
| - | |
| 254 | + | |
229 | 255 |
| |
230 | 256 |
| |
231 | 257 |
| |
|
0 commit comments
Comments
(0)