strange explain

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: strange explain
Date: 2002-05-13 13:42:10
Message-ID: Pine.GSO.4.44.0205131635330.683-100000@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I've got performance problem and while I'dont ready to describe it
I'd like to ask about strange explain:

tour=# explain analyze select * from tours where
( operator_id in (2,3,4,5,7) and type_id = 2 ) or
( operator_id = 8 and type_id=4 );

NOTICE: QUERY PLAN:

Index Scan using type_idx, type_idx, type_idx, type_idx, type_idx, type_idx on tours (cost=0.00..12.25 rows=1 width=1091) (actual time=0.26..0.26 rows=0 loops=1)
Total runtime: 0.45 msec

EXPLAIN

What does many 'type_idx' means ?

Theare are 2 indices - operator_idx and type_idx.

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jason Tishler 2002-05-13 13:59:04 Re: Native Win32, How about this?
Previous Message Rod Taylor 2002-05-13 12:18:58 Re: TRUNCATE