Re: index scan
От | Richard Huxton |
---|---|
Тема | Re: index scan |
Дата | |
Msg-id | 423E90BC.80501@archonet.com обсуждение исходный текст |
Ответ на | index scan (Mihail Nasedkin <m.nasedkin.perm@mail.ru>) |
Ответы |
Re: index scan
|
Список | pgsql-sql |
Mihail Nasedkin wrote: > xxxx=# explain select * from sites s join site_screens ss on s.oid = ss.id_site; QUERY PLAN --------------------------------------------------------------------------- > Hash Join (cost=...) > Hash Cond: ("outer".id_site = "inner".oid) > -> Seq Scan on site_screens ss (cost=...) > -> Hash (cost=...) > -> Seq Scan on sites s (cost=...) You've commented out the interesting bits (the costs/rows) > I want to Index Scan. What must I do? Why do you want an index scan? Do you have any evidence it will be faster than a sequential scan? -- Richard Huxton Archonet Ltd
В списке pgsql-sql по дате отправления: