Search Postgresql Archives

Re: Table Design question for gurus (without going to "NoSQL")...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 21, 2011 at 7:26 AM, Gavin Flower
<GavinFlower@xxxxxxxxxxxxxxxxx> wrote:

> How about having 2 indexes: one on each of ip & url_md5? Pg will combine the
> indexes as required, or will just use one if that is best.



Thanks Gavin. Question: what if I have a joined index? If from a
joined index I only use the first column (say, "ip") will a joined
index still be used?

It is cleaner to create two indexes for the two columns. Which is recommended?

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux