Re: [PATCHES] pg_freespacemap question
От
Alvaro Herrera
Тема
Re: [PATCHES] pg_freespacemap question
Дата
Msg-id
20060313134412.GD8274@surnet.cl
Ответ на
Re: [PATCHES] pg_freespacemap question (Mark Kirkwood)
Список
Дерево обсуждения
pg_freespacemap question Tatsuo Ishii <ishii@sraoss.co.jp>
Re: pg_freespacemap question Peter Eisentraut <peter_e@gmx.net>
Re: pg_freespacemap question Alvaro Herrera <alvherre@commandprompt.com>
Re: pg_freespacemap question Tatsuo Ishii <ishii@sraoss.co.jp>
Re: pg_freespacemap question Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: pg_freespacemap question Tatsuo Ishii <ishii@sraoss.co.jp>
Re: pg_freespacemap question Alvaro Herrera <alvherre@commandprompt.com>
Re: pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: pg_freespacemap question Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: pg_freespacemap question Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [PATCHES] pg_freespacemap question Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [PATCHES] pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: [PATCHES] pg_freespacemap question Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] pg_freespacemap question Tatsuo Ishii <ishii@sraoss.co.jp>
Re: [PATCHES] pg_freespacemap question Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] pg_freespacemap question Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: [PATCHES] pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: [PATCHES] pg_freespacemap question Alvaro Herrera <alvherre@commandprompt.com>
Re: [PATCHES] pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: [PATCHES] pg_freespacemap question Mark Kirkwood <markir@paradise.net.nz>
Re: [PATCHES] pg_freespacemap question Bruce Momjian <pgman@candle.pha.pa.us>
Re: pg_freespacemap question Bruce Momjian <pgman@candle.pha.pa.us>
Mark Kirkwood wrote: > Christopher Kings-Lynne wrote: > >>The point here is that if tuples require 50 bytes, and there are 20 > >>bytes free on a page, pgstattuple counts 20 free bytes while FSM > >>ignores the page. Recording that space in the FSM will not improve > >>matters, it'll just risk pushing out FSM records for pages that do > >>have useful amounts of free space. > > > >Maybe an overloaded pgstattuple function that allows you to request FSM > >behavior? > > That's a nice idea - could also do equivalently by adding an extra > column "usable_free_space" or some such, and calculating this using FSM > logic. The current pgstattuple function scans the whole table, so I don't think this is a good idea. Re: the overloaded function, I think the behaviors are different enough to merit a separate function, with a different name. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-hackers по дате отправления