Re: Large number of open(2) calls with bulk INSERT into empty table - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Large number of open(2) calls with bulk INSERT into empty table
Date
Msg-id 25165.1322678715@sss.pgh.pa.us
Whole thread Raw
In response to Re: Large number of open(2) calls with bulk INSERT into empty table  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Large number of open(2) calls with bulk INSERT into empty table
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Yikes!  A table with 4 bytes of useful data is consuming 40kB on disk
> - 8kB in the main form, 8kB in the VM fork, and 24kB in the FSM fork.
> Ouch!

Yeah, ouch.  Why is the FSM fork eating so much space --- I'd have
expected 8k there, but 24?

Also, if VACUUM is going to cause the FSM to be created anyway, there
may not be a lot of point to refraining from creating the first page
right away.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: review: CHECK FUNCTION statement
Next
From: "Kevin Grittner"
Date:
Subject: Re: autovacuum and default_transaction_isolation