From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: sara.pranke@gmail.com
Subject: BUG #15250: ERROR: could not find pathkey item to sort
Date: Wed, 20 Jun 2018 21:01:39 +0000
Message-ID: <152952849928.1252.6596277019511618168@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15250
Logged by: Sara Pranke
Email address: sara.pranke@gmail.com
PostgreSQL version: 9.4.17
Operating system: Debian 8.0
Description:
I have complex queries in large tables that use memory for sorting items, we
upgrate PostgreSQL from 9.1 to 9.4 and in this version we get this error:
'could not find pathkey item to sort'
I increased the work_mem to 1GB and this improved the performance and avoid
the error, but with the pass of the day is like the memory is not liberate
and crash to another queries with sorting itens, causing the error.
I searching about this error and the last report is in version 9.3.5.
In some point (something about of end at the day) the memory is liberate and
is possible execute the same queries that was not possible before.
We have replication and the config is like this;
shared_buffers = 4084037kB
work_mem = 1000MB
checkpoint_segments = 96
checkpoint_completion_target = 0.9
wal_buffers = 16MB
listen_addresses = '*'
wal_level = 'hot_standby'
archive_mode = on
archive_command = 'cd .'
max_wal_senders = 4
hot_standby = on
wal_keep_segments = 32
effective_cache_size = 10GB
maintenance_work_mem = 1GB
default_statistics_target = 100
random_page_cost = 1.1
effective_io_concurrency = 200
max_connections = 500
superuser_reserved_connections = 5
dynamic_shared_memory_type = posix
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, sara.pranke@gmail.com
Subject: Re: BUG #15250: ERROR: could not find pathkey item to sort
In-Reply-To: <152952849928.1252.6596277019511618168@wrigleys.postgresql.org>
References: <152952849928.1252.6596277019511618168@wrigleys.postgresql.org>
* 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