ltree gist index errors and fill factor questions

From: Mike Broers <mbroers(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: ltree gist index errors and fill factor questions
Date: 2014-12-31 15:00:35
Message-ID: CAB9893i2CncPO++kEf-PcoFyvipcEqJCC9snhVPHngUD7sp++A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

We have an ltree column (tree_path) that has a gist index
(index_nodes_on_tree_path). This is in a 9.3.5 database. Recently errors
started occurring in the postgres log on some updates to this table:

fixing incomplete split in index "index_nodes_on_tree_path", block 2358

STATEMENT: UPDATE "nodes" SET "parent_id" = $1, "contents_id" =
$2, "contents_type" = $3, "trough_code" = $4, "live_flag" = $5, "ordering"
=$6, "id" = $7, "tree_path" = $8 WHERE "nodes"."id" = 127695

ERROR: failed to add item to index page in "index_nodes_on_tree_path"

Reindexing index_nodes_on_tree_path fixes the problem temporarily, but it
returns.

I'm wondering if this is a bug (googleing the incomplete split error
returns results about a similar bug with b-tree indexes) or a problem with
an inadequate fill factor setting. It doesnt look like there is a
specified fill factor for this index and I'm not sure what the gist default
is.

CREATE INDEX index_nodes_on_tree_path ON nodes USING gist (tree_path)

The table in question has about 94k rows, an example of the widest
tree_path tuple is 69066.69090.69091.69094

Any advice is appreciated, happy new year!

Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2014-12-31 15:15:22 Re: ltree gist index errors and fill factor questions
Previous Message 'Andres Freund' 2014-12-31 10:04:01 Re: bdr_init_copy fails when starting 2nd BDR node