Re: Strange (?) Index behavior?
От
Matt Clark
Тема
Re: Strange (?) Index behavior?
Дата
Msg-id
007a01c4c349$092cdae0$8300a8c0@solent
Ответ на
Strange (?) Index behavior? (Allen Landsidel)
Список
Дерево обсуждения
Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? "Matt Clark" <matt@ymogen.net>
Re: Strange (?) Index behavior? Rod Taylor <pg@rbt.ca>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Bruno Wolff III <bruno@wolff.to>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? "Matt Clark" <matt@ymogen.net>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Matt Clark <matt@ymogen.net>
Re: Strange (?) Index behavior? Tom Lane <tgl@sss.pgh.pa.us>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Josh Berkus <josh@agliodbs.com>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Greg Stark <gsstark@mit.edu>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Tom Lane <tgl@sss.pgh.pa.us>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Tom Lane <tgl@sss.pgh.pa.us>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? "Joshua D. Drake" <jd@commandprompt.com>
Re: Strange (?) Index behavior? Tom Lane <tgl@sss.pgh.pa.us>
Re: Strange (?) Index behavior? Allen Landsidel <alandsidel@gmail.com>
Re: Strange (?) Index behavior? Tom Lane <tgl@sss.pgh.pa.us>
> For some reason it's a requirement that partial wildcard > searches are done on this field, such as "SELECT ... WHERE > field LIKE 'A%'" > > I thought an interesting way to do this would be to simply > create partial indexes for each letter on that field, and it > works when the query matches the WHERE clause in the index > exactly like above. The problem is thus: I thought PG could use an ordinary index for 'like' conditions with just a terminating '%'? My other thought is that like 'A%' should grab about 1/26th of the table anyway (if the initial character distribution is random), and so a sequential scan might be the best plan anyway... M
В списке pgsql-performance по дате отправления