Re: new BUG: "postgresql 9.2.3: very long query time"

From: Claude Speed <gta3user(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: new BUG: "postgresql 9.2.3: very long query time"
Date: 2013-02-21 08:55:06
Message-ID: 5125E0EA.2090509@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

20.02.2013 19:45, bricklen пишет:
> On Wed, Feb 20, 2013 at 5:42 AM, Claude Speed<gta3user(at)gmail(dot)com> wrote:
>> Postgresql 9.2.3 is processing my query is much longer than Postgresql
>> 9.1.8:
>> Postgresql 9.1.8 - 2292 ms
>> Postgresql 9.2.3 - 163336 ms
>>
>> I provided my query in attach and the database dump too,
>> this bug is reproducible.
> 1). Can you supply the EXPLAIN ANALYZE plans for both queries?
> 2). Have you ANALYZEd the relevant tables recently?
> 3). Maybe supply the results of this query too:
>
> SELECT name, current_setting(name), source
> FROM pg_settings
> WHERE source NOT IN ('default', 'override')
> UNION ALL
> SELECT 'version' as name, version(), null;
1) Explains in attach
2) tables are does not analyzed yet
3) Here they are
Postgres 9.2.3:
"application_name" "pgAdmin III - Query Tool" "client"
"bytea_output" "escape" "session"
"client_encoding" "UNICODE" "session"
"client_min_messages" "notice" "session"
"DateStyle" "ISO, DMY" "session"
"default_text_search_config" "pg_catalog.russian" "configuration file"
"lc_messages" "ru_RU.utf-8" "configuration file"
"lc_monetary" "ru_RU.utf-8" "configuration file"
"lc_numeric" "ru_RU.utf-8" "configuration file"
"lc_time" "ru_RU.utf-8" "configuration file"
"listen_addresses" "*" "configuration file"
"log_timezone" "W-SU" "configuration file"
"max_connections" "100" "configuration file"
"max_stack_depth" "2MB" "environment variable"
"port" "5432" "environment variable"
"shared_buffers" "24MB" "configuration file"
"TimeZone" "W-SU" "configuration file"
"version" "PostgreSQL 9.2.3 on x86_64-pc-linux-gnu, compiled by
x86_64-pc-linux-gnu-gcc (Gentoo 4.5.4 p1.0, pie-0.4.7) 4.5.4, 64-bit" ""

Postgres 9.1.8:
"application_name" "pgAdmin III - Query Tool" "client"
"bytea_output" "escape" "session"
"client_encoding" "UNICODE" "session"
"client_min_messages" "notice" "session"
"DateStyle" "ISO, DMY" "session"
"default_text_search_config" "pg_catalog.russian" "configuration file"
"lc_messages" "ru_RU.utf-8" "configuration file"
"lc_monetary" "ru_RU.utf-8" "configuration file"
"lc_numeric" "ru_RU.utf-8" "configuration file"
"lc_time" "ru_RU.utf-8" "configuration file"
"listen_addresses" "*" "configuration file"
"log_timezone" "W-SU" "environment variable"
"max_connections" "100" "configuration file"
"max_stack_depth" "2MB" "environment variable"
"port" "5432" "environment variable"
"shared_buffers" "24MB" "configuration file"
"silent_mode" "on" "command line"
"TimeZone" "W-SU" "environment variable"
"version" "PostgreSQL 9.1.8 on x86_64-pc-linux-gnu, compiled by
x86_64-pc-linux-gnu-gcc (Gentoo 4.5.4 p1.0, pie-0.4.7) 4.5.4, 64-bit" ""

Attachment Content-Type Size
psql9.2.3.jpeg image/jpeg 130.0 KB
psql9.1.8.jpeg image/jpeg 127.9 KB

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2013-02-21 12:04:09 Re: BUG #7883: "PANIC: WAL contains references to invalid pages" on replica recovery
Previous Message Josh Kupershmidt 2013-02-21 02:28:42 Re: BUG #7873: pg_restore --clean tries to drop tables that don't exist