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

Problem with large tuples.

From: Patrik Kudo <kudo(at)partitur(dot)se>
To: "pgsql-sql(at)postgreSQL(dot)org" <pgsql-sql(at)postgreSQL(dot)org>
Subject: Problem with large tuples.
Date: 2000-01-21 15:05:52
Message-ID: 388875D0.21942465@partitur.se (view raw or flat)
Thread:
Lists: pgsql-sql
I've noticed that some of my tables with large text tuples have
problem when these exceed some certain size. I know about the
8k tuplesize limit, but it seems the problem appears earlier
than that. This is what I've been able to recreate:

CREATE TABLE sizetest (id int, txt text);
INSERT INTO sizetest (id, txt) VALUES (1, '...'); // ... = string of
4000 chars
vacuum analyze; // <-- works nicely
INSERT INTO sizetest (id, txt) VALUES (2, '...'); // ... = string of
4100 chars
vacuum analyze;
ERROR:  Tuple is too big: size 8152, max size 8140

How come the insert works while the vacuum fails?

Setup: Postgres 6.5.2, FreeBSD 3.3

/Patrik Kudo

Responses

pgsql-sql by date

Next:From: Patrik KudoDate: 2000-01-21 15:09:33
Subject: Duplicate tuples with unique index
Previous:From: LaszloDate: 2000-01-21 13:46:34
Subject:

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