From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za> |
Cc: | Bill Moran <wmoran(at)collaborativefusion(dot)com>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: db size |
Date: | 2008-04-17 08:15:04 |
Message-ID: | 48070708.4060605@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Adrian Moisey wrote:
> Hi
>
>> Running VACUUM VERBOSE will give you a detailed view of space usage of
>> each individual table.
>
> I did that.
>
> Not too sure what I'm looking for, can someone tell me what this means:
>
> INFO: "blahxxx": scanned 27 of 27 pages, containing 1272 live rows and
> 0 dead rows; 1272 rows in sample, 1272 estimated total rows
This is a small table that takes up 27 pages and it scanned all of them.
You have 1272 rows in it and none of them are dead (i.e. deleted/updated
but still taking up space).
> INFO: free space map contains 4667977 pages in 1199 relations
> DETAIL: A total of 4505344 page slots are in use (including overhead).
> 4505344 page slots are required to track all free space.
> Current limits are: 15537488 page slots, 1200 relations, using 91172 kB.
You are tracking ~ 4.6 million pages and have space to track ~ 15.5
million, so that's fine. You are right up against your limit of
relations (tables, indexes etc) being tracked though - 1200. You'll
probably want to increase max_fsm_relations - see manual for details
(server configuration / free space map).
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Moisey | 2008-04-17 08:37:25 | Re: db size |
Previous Message | Greg Smith | 2008-04-17 07:58:43 | Strange behavior: pgbench and new Linux kernels |