Re: [NOVICE] Index scan on CIDR field ?
От | D. Duccini |
---|---|
Тема | Re: [NOVICE] Index scan on CIDR field ? |
Дата | |
Msg-id | Pine.GSO.3.96.991229084945.3773A-100000@ra.bpsi.net обсуждение исходный текст |
Ответ на | Index scan on CIDR field ? (Margarit Nickolov <man@digsys.bg>) |
Список | pgsql-sql |
did you create an index? create index_name on tablename (row_name); you would also get one automatically if when you created the table you'd made that row a PRIMARY KEY -duck On Wed, 29 Dec 1999, Margarit Nickolov wrote: > I created index on CIDR field on table with about 1 000 000 rows, made > 'vacuum analyze', but exlain told me that sequental scan is done > on query like that SELECT * FROM table WHERE ipaddr='212.129.92.1' > > I'm using PostgreSQL 6.5.1. I need a index scan. Do I miss something ? > Margarit. > > > ************ > ----------------------------------------------------------------------------- david@backpack.com BackPack Software, Inc. www.backpack.com +1 651.645.7550 voice "Life is an Adventure. +1 651.645.9798 fax Don't forget your BackPack!" -----------------------------------------------------------------------------
В списке pgsql-sql по дате отправления: