pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: R D <mrk279@yahoo.com>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Is that a bug?
Date: Thu, 21 Dec 2000 23:46:14 -0800 (PST)
Message-ID: <20001222074614.11866.qmail@web10005.mail.yahoo.com> (raw)

No, plain select also does not work.

--- Stephan Szabo <sszabo@megazone23.bigpanda.com>
wrote:
> 
> Hmm, does a plain select * from gsc_act work?
> Also, what does explain show for the queries?
> 
> Stephan Szabo
> sszabo@bigpanda.com
> 
> On Thu, 21 Dec 2000, R D wrote:
> 
> > Hi, 
> > I have some problems with postgresql 7.0.3 running
> on
> > Slackware linux 7.1.
> > 
> > I have a table with about 25 milion records:
> > 
> > create table gsc_act(reg_id int2,id int2,ra int4,
> de
> > int4,mag int2);
> > 
> > i created 2 indexes:
> > 
> > create index gsc_act_de on gsc_act(de);
> > create index gsc_act_rd on gsc_act(de,ra);
> > 
> > so every thing was ok with queries:
> > 1. select * from gsc_act where de>=-300000 
> >    and de<300000 and ra<=600000 and ra>=0;
> > 2. select * from gsc_act where de>=-300000 
> >    and de<300000 and ra<=600000 and ra>=0 
> >    and mag<300;
> > 
> > except the second one was too slow and I created
> third
> > index:
> > 
> > create index gsc_act_rdm on gsc_act(de,ra,mag);
> > 
> > I executed query 2 and it hang for 5-6 min with
> > permanent disk activity even Ctrl-C could not stop
> it.
> > I killed postmaster and droped the third index.
> Now
> > both queries hang the same way. Is there any way
> to
> > fix it? This are the most used queries with the
> > table(only the values are different).
> > Is this some bug in postgres?
> > Please help!
> 
> 
> .
> me bug in postgres?
> > Please help!
> 
> 
> .
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



view thread (8+ messages)  latest in thread

Message-ID: <20001222074614.11866.qmail@web10005.mail.yahoo.com>
Permalink:  ../20001222074614.11866.qmail@web10005.mail.yahoo.com/
Also on:    postgresql.org/message-id/20001222074614.11866.qmail@web10005.mail.yahoo.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 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-admin@postgresql.org
  Cc: mrk279@yahoo.com, sszabo@megazone23.bigpanda.com
  Subject: Re: Is that a bug?
  In-Reply-To: <20001222074614.11866.qmail@web10005.mail.yahoo.com>
  References: <20001222074614.11866.qmail@web10005.mail.yahoo.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