Re: Testing 9.2 in ~production environment

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "James Cloos" <cloos(at)jhcloos(dot)com>,<pgsql-hackers(at)postgresql(dot)org>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Testing 9.2 in ~production environment
Date: 2012-06-20 22:11:44
Message-ID: 4FE204500200002500048844@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

James Cloos <cloos(at)jhcloos(dot)com> wrote:

> create index mb_name_own_idx on mb ( lower(name), ownerid );

> WHERE lower(name) = lower('foo(at)bar') AND ownerid=7;

If you expect to be using an equality test on ownerid, you should
put that first in the index.

BTW, this is starting to sound more like something for the
pgsql-performance list than the pgsql-hackers list.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2012-06-20 23:25:09 Re: libpq compression
Previous Message James Cloos 2012-06-20 21:52:27 Re: Testing 9.2 in ~production environment