Skip site navigation (1) Skip section navigation (2)

Re: Dept of ugly hacks: eliminating padding space insystem indexes

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Dept of ugly hacks: eliminating padding space insystem indexes
Date: 2008-06-23 22:20:09
Message-ID: 1214259609.9468.791.camel@ebony.site (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, 2008-06-23 at 15:52 -0400, Tom Lane wrote:
> 						    CVS HEAD	w/patch	savings
> 
> pg_database_size('postgres')			    4439752	4071112	8.3%
> pg_relation_size('pg_class_relname_nsp_index')	    57344	40960	28%
> pg_relation_size('pg_proc_proname_args_nsp_index')  319488	204800	35%
> 
> Cutting a third off the size of a system index has got to be worth
> something, but is it worth a hack as ugly as this one?

Not doing it would be more ugly, unless there is some negative
side-effect?

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


In response to

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2008-06-23 22:38:34
Subject: Re: Lessons from commit fest
Previous:From: Bruce MomjianDate: 2008-06-23 22:19:28
Subject: Re: Lessons from commit fest

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group