pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve <cheetah@tanabi.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: Strangely Variable Query Performance
Date: Thu, 12 Apr 2007 23:55:00 -0400 (EDT)
Message-ID: <Pine.GSO.4.64.0704122354430.17955@kittyhawk.tanabi.org> (raw)
In-Reply-To: <12360.1176436194@sss.pgh.pa.us>
References: <57271CC2-BCB1-4ACA-A177-4FF64F1BC33F@brandeis.edu>
	<16E9A17C-ADFA-43B2-B7EA-5C7A4D7E96D1@event-s.net>
	<E1Hc0lc-0001iE-La@elasmtp-banded.atl.sa.earthlink.net>
	<0914C05F-BA1B-4A6C-A1B1-52256BC851A4@event-s.net>
	<1176396964.13754.16.camel@state.g2switchworks.com>
	<Pine.LNX.4.64.0704121000570.32187@glacier.frostconsultingllc.com>
	<Pine.GSO.4.64.0704121653030.17955@kittyhawk.tanabi.org>
	<1176414724.13754.23.camel@state.g2switchworks.com>
	<Pine.GSO.4.64.0704121804000.17955@kittyhawk.tanabi.org>
	<1176416077.13754.26.camel@state.g2switchworks.com>
	<9833.1176418809@sss.pgh.pa.us>
	<Pine.GSO.4.64.0704121855300.17955@kittyhawk.tanabi.org>
	<10117.1176420763@sss.pgh.pa.us>
	<Pine.GSO.4.64.0704121928440.17955@kittyhawk.tanabi.org>
	<10355.1176422445@sss.pgh.pa.us>
	<Pine.GSO.4.64.0704122001160.17955@kittyhawk.tanabi.org>
	<10503.1176423606@sss.pgh.pa.us>
	<Pine.GSO.4.64.0704122025450.17955@kittyhawk.tanabi.org>
	<12360.1176436194@sss.pgh.pa.us>

Here you go:

  detail_summary_b_record_status_idx
  detail_summary_batch_id_idx
  detail_summary_batchnum_idx
  detail_summary_carrier_id_idx
  detail_summary_duplicate_id_idx
  detail_summary_e_record_status_idx
  detail_summary_encounter_id_idx
  detail_summary_encounternum_idx
  detail_summary_export_date_idx
  detail_summary_hedis_date_idx
  detail_summary_member_name_idx
  detail_summary_member_num_idx
  detail_summary_p_record_status_idx
  detail_summary_patient_control_idx
  detail_summary_procedurecode_idx
  detail_summary_product_line_idx
  detail_summary_provider_id_idx
  detail_summary_raps_date_idx
  detail_summary_receipt_id_idx
  detail_summary_referrering_prov_id_idx
  detail_summary_rendering_prov_id_idx
  detail_summary_rendering_prov_name_idx
  detail_summary_servicedate_idx
  ds_sort_1
  ds_sort_10
  ed_cbee_norev
  ed_cbee_norev_p
  ed_cbee_rev
  ed_cbee_rev_p
  mcbe
  mcbe_p
  mcbe_rev
  mcbe_rev_p
  mcbee_norev
  mcbee_norev_p
  mcbee_rev
  mcbee_rev_p
  pcbee_norev
  pcbee_norev_p
  pcbee_rev
  pcbee_rev_p
  rcbee_norev
  rcbee_norev_p
  rp_cbee_norev
  rp_cbee_norev_p
  rp_cbee_rev
  rp_cbee_rev_p
  sd_cbee_norev
  sd_cbee_norev_p
  sd_cbee_rev
  sd_cbee_rev_p
  testrev
  testrev_p
  detail_summary_receipt_encounter_idx


On Thu, 12 Apr 2007, Tom Lane wrote:

> Steve <cheetah@tanabi.org> writes:
>> Just dropping that index had no effect, but there's a LOT of indexes that
>> refer to receipt.  So on a hunch I tried dropping all indexes that refer
>> to receipt date and that worked -- so it's the indexes that contain
>> receipt date that are teh problem.
>
> I'm still not having any luck reproducing the failure here.  Grasping at
> straws again, I wonder if it's got something to do with the order in
> which the planner examines the indexes --- which is OID order.  Could
> you send me the results of
>
> select indexrelid::regclass from pg_index where indrelid = 'detail_summary'::regclass order by indexrelid;
>
> 			regards, tom lane
>



view thread (29+ messages)  latest in thread

Message-ID: <Pine.GSO.4.64.0704122354430.17955@kittyhawk.tanabi.org>
Permalink:  ../Pine.GSO.4.64.0704122354430.17955@kittyhawk.tanabi.org/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0704122354430.17955@kittyhawk.tanabi.org

 · 

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 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-performance@postgresql.org
  Cc: cheetah@tanabi.org, tgl@sss.pgh.pa.us, smarlowe@g2switchworks.com
  Subject: Re: Strangely Variable Query Performance
  In-Reply-To: <Pine.GSO.4.64.0704122354430.17955@kittyhawk.tanabi.org>
  References: <57271CC2-BCB1-4ACA-A177-4FF64F1BC33F@brandeis.edu> <E1Hc0lc-0001iE-La@elasmtp-banded.atl.sa.earthlink.net> <0914C05F-BA1B-4A6C-A1B1-52256BC851A4@event-s.net> <1176396964.13754.16.camel@state.g2switchworks.com> <Pine.LNX.4.64.0704121000570.32187@glacier.frostconsultingllc.com> <Pine.GSO.4.64.0704121653030.17955@kittyhawk.tanabi.org> <1176414724.13754.23.camel@state.g2switchworks.com> <Pine.GSO.4.64.0704121804000.17955@kittyhawk.tanabi.org> <1176416077.13754.26.camel@state.g2switchworks.com> <9833.1176418809@sss.pgh.pa.us> <Pine.GSO.4.64.0704121855300.17955@kittyhawk.tanabi.org> <10117.1176420763@sss.pgh.pa.us> <Pine.GSO.4.64.0704121928440.17955@kittyhawk.tanabi.org> <10355.1176422445@sss.pgh.pa.us> <Pine.GSO.4.64.0704122001160.17955@kittyhawk.tanabi.org> <10503.1176423606@sss.pgh.pa.us> <Pine.GSO.4.64.0704122025450.17955@kittyhawk.tanabi.org> <12360.1176436194@sss.pgh.pa.us> <Pine.GSO.4.64.0704122354430.17955@kittyhawk.tanabi.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