Re: Speed & Memory Management - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: Speed & Memory Management
Date
Msg-id Pine.LNX.4.44.0304012112490.2216-100000@peter.localdomain
Whole thread Raw
In response to Speed & Memory Management  ("Kris" <kkiger@depauw.edu>)
List pgsql-admin
Kris writes:

> My thought is that because I will likely have many
> updates/inserts/deletes occurring I should set each column that requires
> text to a static ammount (ie using char(30) instead of text).

That would buy you absolutely nothing.  char() is not faster than text.
Instead you would make everything slower because the system would
constantly have to pad and trim your values and it would bloat the storage
with the extra spaces.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-admin by date:

Previous
From: "Chris White"
Date:
Subject: Documentation for the \lo_export and \lo_import commands
Next
From: Hugo Escobar
Date:
Subject: Invalid UNICODE character sequence found (0xd14f)