Commits in week 45 (Oct 31 - Nov 06, 2011)
Commits13 commits
0Author
13Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Move user functions related to WAL into xlogfuncs.c | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 04, 2011 | |
| Committer | Improve docs for timing and skipping of checkpoints | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 03, 2011 | |
| Committer | Update more comments about checkpoints being done by bgwriter | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 02, 2011 | |
| Committer | Reduce checkpoints and WAL traffic on low activity database server Previously, we skipped a checkpoint if no WAL had been written since last checkpoint, though this does not appear in user documentation. As of now, we skip a checkpoint until we have written at least one enough WAL to switch the next WAL file. This greatly reduces the level of activity and number of WAL messages generated by a very low activity server. This is safe because the purpose of a checkpoint is to act as a starting place for a recovery, in case of crash. This patch maintains minimal WAL volume for replay in case of crash, thus maintaining very low crash recovery time. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 02, 2011 | |
| Committer | Refactor xlog.c to create src/backend/postmaster/startup.c Startup process now has its own dedicated file, just like all other special/background processes. Reduces role and size of xlog.c | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 02, 2011 | |
| CommitterBackported | Derive oldestActiveXid at correct time for Hot Standby. There was a timing window between when oldestActiveXid was derived and when it should have been derived that only shows itself under heavy load. Move code around to ensure correct timing of derivation. No change to StartupSUBTRANS() code, which is where this failed. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Nov 02, 2011 | |
| CommitterBackported | Start Hot Standby faster when initial snapshot is incomplete. If the initial snapshot had overflowed then we can start whenever the latest snapshot is empty, not overflowed or as we did already, start when the xmin on primary was higher than xmax of our starting snapshot, which proves we have full snapshot data. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Nov 02, 2011 | |
| Committer | Remove spurious entry from missed catch while patch juggling | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 02, 2011 | |
| CommitterBackported | Fix timing of Startup CLOG and MultiXact during Hot Standby | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+10 more | Nov 02, 2011 | |
| Committer | Comment changes to show bgwriter no longer performs checkpoints. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 01, 2011 | |
| Committer | Have checkpointer send stats once each processing loop. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 01, 2011 | |
| Committer | Add new file for checkpointer.c | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 01, 2011 | |
| Committer | Split work of bgwriter between 2 processes: bgwriter and checkpointer. bgwriter is now a much less important process, responsible for page cleaning duties only. checkpointer is now responsible for checkpoints and so has a key role in shutdown. Later patches will correct doc references to the now old idea that bgwriter performs checkpoints. Has beneficial effect on performance at high write rates, but mainly refactoring to more easily allow changes for power reduction by simplifying previously tortuous code around required to allow page cleaning and checkpointing to time slice in the same process. | master9.2beta1REL_19_STABLE9.2beta1REL_18_STABLE9.2beta1REL_17_STABLE9.2beta1REL_16_STABLE9.2beta1REL_15_STABLE9.2beta1REL_14_STABLE9.2beta1REL_13_STABLE9.2beta1+8 more | Nov 01, 2011 |