Re: index / sequential scan problem
От
Shridhar Daithankar
Тема
Re: index / sequential scan problem
Дата
Msg-id
3F16B712.19311.58D7530@localhost
Ответ на
index / sequential scan problem (Fabian Kreitner)
Список
Дерево обсуждения
index / sequential scan problem Fabian Kreitner <fabian.kreitner@ainea-ag.de>
Re: index / sequential scan problem Paul Thomas <paul@tmsl.demon.co.uk>
Re: index / sequential scan problem Fabian Kreitner <fabian.kreitner@ainea-ag.de>
Re: index / sequential scan problem Paul Thomas <paul@tmsl.demon.co.uk>
Re: index / sequential scan problem Fabian Kreitner <fabian.kreitner@ainea-ag.de>
Re: index / sequential scan problem Jord Tanner <jord@indygecko.com>
Re: index / sequential scan problem Paul Thomas <paul@tmsl.demon.co.uk>
Re: index / sequential scan problem Tom Lane <tgl@sss.pgh.pa.us>
Re: index / sequential scan problem "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>
Re: index / sequential scan problem Tom Lane <tgl@sss.pgh.pa.us>
Re: index / sequential scan problem Fabian Kreitner <fabian.kreitner@ainea-ag.de>
Re: index / sequential scan problem Fabian Kreitner <fabian.kreitner@ainea-ag.de>
Re: index / sequential scan problem Dennis Björklund <db@zigo.dhs.org>
Re: index / sequential scan problem Tom Lane <tgl@sss.pgh.pa.us>
Re: index / sequential scan problem "scott.marlowe" <scott.marlowe@ihs.com>
Re: index / sequential scan problem Dennis Björklund <db@zigo.dhs.org>
Re: index / sequential scan problem "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>
Re: index / sequential scan problem Fabian Kreitner <fabian.kreitner@ainea-ag.de>
Re: index / sequential scan problem "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>
On 17 Jul 2003 at 11:01, Fabian Kreitner wrote: > psql (PostgreSQL) 7.2.2 > > perg_1097=# VACUUM ANALYZE ; > VACUUM > perg_1097=# EXPLAIN ANALYZE select notiz_id, obj_id, obj_typ > perg_1097-# from notiz_objekt a > perg_1097-# where not exists > perg_1097-# ( > perg_1097(# select 1 > perg_1097(# from notiz_gelesen b > perg_1097(# where ma_id = 2001 > perg_1097(# and ma_pid = 1097 > perg_1097(# and a.notiz_id = b.notiz_id > perg_1097(# ) > perg_1097-# ; For 31K records, seq. scan does not sound like a bad plan to me but anyway.. How about where ma_id = 2001::integer and ma_pid = 1097::integer in above query? Bye Shridhar -- No one can guarantee the actions of another. -- Spock, "Day of the Dove", stardate unknown
В списке pgsql-performance по дате отправления