pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: dpandey@secf.com
Cc: pgsql-general@postgresql.org, 'PostgreSQL' <pgsql-sql@postgresql.org>
Subject: Re: [SQL] index row size 2728 exceeds btree maximum, 2713
Date: Thu, 02 Jun 2005 11:43:45 +0100
Message-ID: <429EE2E1.30904@archonet.com> (raw)
In-Reply-To: <20050602101340.9FCC75280A@svr1.postgresql.org>
References: <20050602101340.9FCC75280A@svr1.postgresql.org>

Dinesh Pandey wrote:
> I am inserting some log messages in the column "data". (Basically I am
> inserting records from reading an xml file)
> 
> In the PRIMARY KEY, btree (scan_id, host_ip, port_num, plugin_id, severity,
> data) data is of type TEXT and can contain long string values.

I'm still not convinced that "data" makes a sensible part of the primary 
key. Can you give an example of "data" and explain why the whole value 
determines unique-ness?

> The question is how to remove this error "index row size 2728 exceeds btree
> maximum, 2713" by increasing the btree size?
> 
> The big problem is "I can not add any additional column in this table."

Why not?

--
   Richard Huxton
   Archonet Ltd



view thread (18+ messages)  latest in thread

Message-ID: <429EE2E1.30904@archonet.com>
Permalink:  ../429EE2E1.30904@archonet.com/
Also on:    postgresql.org/message-id/429EE2E1.30904@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, dpandey@secf.com
  Subject: Re: [SQL] index row size 2728 exceeds btree maximum, 2713
  In-Reply-To: <429EE2E1.30904@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox