Text field performance

From: Glen Parker <glenebob(at)nwlink(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Text field performance
Date: 2006-01-17 22:17:46
Message-ID: 43CD6D0A.10106@nwlink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We are having some performance issues we think may be related to large
text field values, and many records. So, a couple questions...

1) Are text values always stored in the companion text file, or only if
they exceed a certain size? What size?

2) When the query executer reads tuples during a query, does it always
read the text companion file too? For example, the executer finds an
index match and then goes after the heap tuple to continue field
matching. Now, assuming the query does not contain any conditions
involving a text field, does the executer read the text field in even if
the tuple does not match and won't be included in the result set?

3) Is there any eqivelent to the CLUSTER functionality for text
companion files? Is there any such thing planned? What's the best way
to reduce fragmentation in a text companion file?

TIA

-Glen

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-01-17 22:36:54 Re: Text field performance
Previous Message Rob Brenart 2006-01-17 21:35:56 Windows re-installation problem