Re: NAMEDATALEN and performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alessandro Baretta <a(dot)baretta(at)studio(dot)baretta(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: NAMEDATALEN and performance
Date: 2006-12-01 15:16:17
Message-ID: 15880.1164986177@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Alessandro Baretta <a(dot)baretta(at)studio(dot)baretta(dot)com> writes:
> ... I would like to receive some
> insight on the implications of such a choice. Beside the fact that the parser
> has more work to do to decipher queries and whatnot, what other parts of the
> server would be stressed by a verbose naming scheme? Where should I expect the
> bottlenecks to be?

I suppose the thing that would be notable is bloat in the size of the
system catalogs and particularly their indexes; hence extra I/O.

> Also, I could imagine a solution where I split the names in a schema part and a
> local name, thereby refactoring my namespace. I'd get the approximate effect of
> doubling namedatalen, but at the expense of having a much wider searchpath.

This might be worth thinking about, simply because it'd avoid the need
for custom executables.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message David Boreham 2006-12-01 15:32:03 Re: RES: Bad iostat numbers
Previous Message Carlos H. Reimer 2006-12-01 14:47:28 RES: Bad iostat numbers