From: | Tilo Schwarz <mail(at)tilo-schwarz(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Vacuum explained |
Date: | 2003-01-07 23:13:24 |
Message-ID: | 200301080013.24633.mail@tilo-schwarz.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Tom Lane writes:
> > Unused = # of tuples awaiting being reused
>
> These are not actually tuples, but tuple slots (page item pointers)
> that are open for re-use.
Maybe this is a good place to ask this: How do you actually reuse a tuple (or
the space the tuple needed on disk) if the number of bytes needed to store a
new tuple depends on the number of non null columns, the variable length
columns etc. (If I understood the documentation right, you store the tuples
within a page packed, i.e. variable length tuples are stored one after the
other, sometimes with alignment between the tuple header and the tuple data.)
Do you try to reuse tuples with a similar storage size (or something like
that) to prevent fragmentation or don't you have fragmentation by design (and
I miss something).
Any pointers to documentation or into the source code are welcome!
Regards,
Tilo Schwarz
From | Date | Subject | |
---|---|---|---|
Next Message | Gerhard Häring | 2003-01-07 23:28:53 | Re: [ADMIN] pgdb.py is still wrong in Postgres 7.3.1 rpm |
Previous Message | Bruce Momjian | 2003-01-07 22:51:43 | Re: [BUGS] pgdb.py is still wrong [not just] in Postgres 7.3.1 |