Re: 回复:Re: Cache relation sizes?

2021-07-14 Thread Anastasia Lubennikova
On Wed, Jun 16, 2021 at 9:24 AM Thomas Munro wrote: > No change yet, just posting a rebase to keep cfbot happy. > > Hi, Thomas I think that the proposed feature is pretty cool not only because it fixes some old issues with lseek() performance and reliability, but also because it opens the door t

Re: 回复:Re: Cache relation sizes?

2021-06-15 Thread Thomas Munro
No change yet, just posting a rebase to keep cfbot happy. One thing I'm wondering about is whether it'd be possible, and if so, a good idea, to make a kind of tiny reusable cache replacement algorithm, something modern, that can be used to kill several birds with one stone (SLRUs, this object pool

Re: 回复:Re: Cache relation sizes?

2021-03-11 Thread Thomas Munro
On Thu, Mar 4, 2021 at 2:39 AM David Steele wrote: > On 1/18/21 10:42 PM, 陈佳昕(步真) wrote: > > I want to share a patch with you, I change the replacement algorithm > > from fifo to a simple lru. > > What do you think of this change? Ok, if I'm reading this right, it changes the replacement algorith

Re: 回复:Re: Cache relation sizes?

2021-03-03 Thread David Steele
Hi Thomas, On 1/18/21 10:42 PM, 陈佳昕(步真) wrote: I want to share a patch with you, I change the replacement algorithm from fifo to a simple lru. What do you think of this change? Also, your patch set from [1] no longer applies (and of course this latest patch is confusing the tester as well).

回复:Re: Cache relation sizes?

2021-01-18 Thread 陈佳昕(步真)
Hi Thomas I want to share a patch with you, I change the replacement algorithm from fifo to a simple lru. Buzhen 0001-update-fifo-to-lru-to-sweep-a-valid-cache.patch Description: Binary data

回复:Re: Cache relation sizes?

2020-12-22 Thread 陈佳昕(步真)
Hi Thomas: I studied your patch these days and found there might be a problem. When execute 'drop database', the smgr shared pool will not be removed because of no call 'smgr_drop_sr'. Function 'dropdb' in dbcommands.c remove the buffer from bufferpool and unlink the real files by 'rmtree', It d