pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
What is pg_attribute_relid_attnam_index? 2+ messages / 2 participants [nested] [flat]
* What is pg_attribute_relid_attnam_index? @ 2003-10-09 12:57 Dirk Lutzebäck <lutzeb@aeccom.com> 2003-10-09 20:32 ` Re: What is pg_attribute_relid_attnam_index? Andrew Sullivan <andrew@libertyrms.info> 0 siblings, 1 reply; 2+ messages in thread From: Dirk Lutzebäck @ 2003-10-09 12:57 UTC (permalink / raw) To: pgsql-admin Hi, can somebody please explain what these two system indexes are: pg_attribute_relid_attnam_index pg_attribute_relid_attnum_index the first one is the largest relation in terms of relpages in my database. The latter comes at the third. Why are they so big? Thanks, Dirk ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: What is pg_attribute_relid_attnam_index? 2003-10-09 12:57 What is pg_attribute_relid_attnam_index? Dirk Lutzebäck <lutzeb@aeccom.com> @ 2003-10-09 20:32 ` Andrew Sullivan <andrew@libertyrms.info> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Sullivan @ 2003-10-09 20:32 UTC (permalink / raw) To: pgsql-admin On Thu, Oct 09, 2003 at 02:57:18PM +0200, Dirk Lutzeb?ck wrote: > Hi, > > can somebody please explain what these two system indexes are: > > pg_attribute_relid_attnam_index This is on the attribute ('column' for ease of thinking) name and relation oid on the pg_attribute table. > pg_attribute_relid_attnum_index And this the same, only attribute number. > the first one is the largest relation in terms of relpages in my > database. The latter comes at the third. Why are they so big? Have you done a lot of work (adding tables, or temp tables especially) to your database without doing VACUUM? If you go to single user mode and REINDEX that table you might find it helps. Otherwise, I doubt they should be so large as a percentage, unless you have an empty database with lots of columns with long names. A -- ---- Andrew Sullivan 204-4141 Yonge Street Afilias Canada Toronto, Ontario Canada <andrew@libertyrms.info> M2P 2A8 +1 416 646 3304 x110 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-10-09 20:32 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2003-10-09 12:57 What is pg_attribute_relid_attnam_index? Dirk Lutzebäck <lutzeb@aeccom.com> 2003-10-09 20:32 ` Andrew Sullivan <andrew@libertyrms.info>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox