Re: [HACKERS] Improving vacuum/VM/etc

2015-04-28 Thread Robert Haas
On Fri, Apr 24, 2015 at 4:11 PM, Jim Nasby wrote: > [ lots of discussion of various states ] This is pretty confused, because you are conflating whether a page is hinted and/or frozen with whether there are dead tuples on it. Those two things are entirely unrelated. >> Did you notice the discus

Re: [HACKERS] Improving vacuum/VM/etc

2015-04-24 Thread Jim Nasby
On 4/24/15 6:50 AM, Robert Haas wrote: Thanks for looking at this. On Thu, Apr 23, 2015 at 3:09 PM, Jim Nasby wrote: Unfortunately, the states I came up with using existing semantics don't look hugely useful[4], but if we take Robert's idea and make all-visible mean all-frozen, we can do much

Re: [HACKERS] Improving vacuum/VM/etc

2015-04-24 Thread Robert Haas
On Thu, Apr 23, 2015 at 3:09 PM, Jim Nasby wrote: > Unfortunately, the states I came up with using existing semantics don't look > hugely useful[4], but if we take Robert's idea and make all-visible mean > all-frozen, we can do much better: > > 0: Newly inserted tuples > Tracking this state allows