Re: very slow query - Mailing list pgsql-general

From A. Kretschmer
Subject Re: very slow query
Date
Msg-id 20071212123748.GC4656@a-kretschmer.de
Whole thread Raw
In response to Re: very slow query  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: very slow query
List pgsql-general
am  Wed, dem 12.12.2007, um 12:25:20 +0000 mailte Ashish Karalkar folgendes:
>     > here is the output from planner:
>     > Nested Loop IN Join (cost=0.00..5030217.97 rows=2 width=106)
>     > -> Seq Scan on sms_new (cost=0.00..5027902.00 rows=384 width=106)
>     > Filter: (mobile = 919820920858::bigint)
>
>     Do you have an index on "mobile"? Can you show us the table definition
>     and the output from EXPLAIN ANALYSE?
>
>     no index on mobile

Seq Scan on sms_new ... Filter: (mobile = 919820920858::bigint)
(cost=0.00..5027902.00


Can you see the problem?


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: "Abraham, Danny"
Date:
Subject: LIBPQ Exception
Next
From: Alvaro Herrera
Date:
Subject: Re: Hijack!