Re: Deceiding which index to use - Mailing list pgsql-performance

From Mezei Zoltán
Subject Re: Deceiding which index to use
Date
Msg-id 45F174CF.8010302@telefor.hu
Whole thread Raw
In response to Re: Deceiding which index to use  (Richard Huxton <dev@archonet.com>)
Responses Re: Deceiding which index to use  (Richard Huxton <dev@archonet.com>)
List pgsql-performance
<small><font face="Tahoma">Richard Huxton wrote:<br /> > Mezei Zoltán wrote:<br /> > Q1. Why are you storing a
numericin a varchar?<br /><br /> Because it's not always numeric info. :/<br /><br /> > Q2. How many unique values
doesanumber have? And how many rows in<br /> > subscriber?<br /><br /> About 10k distinct anumbers and 20k rows.
Nothingspecial...<br /><br /> > Q3. What happens if you create the index on plain (anumber) and then<br /> > test
against'555555555'?<br /><br /> Nothing, everything is the same - the problem lies on the other table's index usage,
usingthis index is fine.<br /><br /> Zizi</font><font face="Tahoma"></font><br /></small> 

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Deceiding which index to use
Next
From: Richard Huxton
Date:
Subject: Re: Deceiding which index to use