Re: WIP: Avoid creation of the free space map for small tables
От | Amit Kapila |
---|---|
Тема | Re: WIP: Avoid creation of the free space map for small tables |
Дата | |
Msg-id | CAA4eK1+8isoPJ=Kib4yKHPZ=_hMN0Xvt-nvAyna-doetebUp3A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: WIP: Avoid creation of the free space map for small tables (John Naylor <jcnaylor@gmail.com>) |
Список | pgsql-hackers |
On Thu, Dec 13, 2018 at 3:18 AM John Naylor <jcnaylor@gmail.com> wrote: > > On 11/24/18, Amit Kapila <amit.kapila16@gmail.com> wrote: > > 4. You have mentioned above that "system catalogs created during > > bootstrap still have a FSM if they have any data." and I can also see > > this behavior, have you investigated this point further? > > I found the cause of this. There is some special-case code in md.c to > create any file if it's opened in bootstrap mode. I removed this and a > similar special case (attached), and make check still passes. After > digging through the history, I'm guessing this has been useless code > since about 2001, when certain special catalogs were removed. > Good finding, but I think it is better to discuss this part separately. I have started a new thread for this issue [1]. [1] - https://www.postgresql.org/message-id/CAA4eK1KsET6sotf%2BrzOTQfb83pzVEzVhbQi1nxGFYVstVWXUGw%40mail.gmail.com -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: