Re: Deceiding which index to use
От
Mezei Zoltán
Тема
Re: Deceiding which index to use
Дата
Msg-id
45F174CF.8010302@telefor.hu
Ответ на
Re: Deceiding which index to use (Richard Huxton)
Список
Дерево обсуждения
Deceiding which index to use Mezei Zoltán <mezei.zoltan@telefor.hu>
Re: Deceiding which index to use Richard Huxton <dev@archonet.com>
Re: Deceiding which index to use Mezei Zoltán <mezei.zoltan@telefor.hu>
Re: Deceiding which index to use Richard Huxton <dev@archonet.com>
Re: Deceiding which index to use Mezei Zoltán <mezei.zoltan@telefor.hu>
Re: Deceiding which index to use Richard Huxton <dev@archonet.com>
Re: Deceiding which index to use Mezei Zoltán <mezei.zoltan@telefor.hu>
Re: Deceiding which index to use Alvaro Herrera <alvherre@commandprompt.com>
Re: Deceiding which index to use Mezei Zoltán <mezei.zoltan@telefor.hu>
Re: Deceiding which index to use Richard Huxton <dev@archonet.com>
Re: Deceiding which index to use Richard Huxton <dev@archonet.com>
Re: Deceiding which index to use Mezei Zoltán <mezei.zoltan@telefor.hu>
Re: Deceiding which index to use Richard Huxton <dev@archonet.com>
Richard Huxton wrote:
> Mezei Zoltán wrote:
> Q1. Why are you storing a numeric in a varchar?
Because it's not always numeric info. :/
> Q2. How many unique values does anumber have? And how many rows in
> subscriber?
About 10k distinct anumbers and 20k rows. Nothing special...
> Q3. What happens if you create the index on plain (anumber) and then
> test against '555555555'?
Nothing, everything is the same - the problem lies on the other table's index usage, using this index is fine.
Zizi
В списке pgsql-performance по дате отправления