Re: [PERFORM] Poor query performance

2009-07-19 Thread Scott Marlowe
On Thu, Jul 9, 2009 at 3:34 PM, Alex wrote: > Below is a query that takes 16 seconds on the first run.  I am having > generally poor performance for queries in uncached areas of the data > and often mediocre (500ms-2s+) performance generallly, although > sometimes it's very fast.  All the queries a

Re: [PERFORM] Poor query performance

2009-07-16 Thread Alex
Thanks. That's very helpful. I'll take your suggestions and see if things improve. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance

Re: [PERFORM] Poor query performance

2009-07-16 Thread Alex
> > How is the index  sl_city_etc defined? > Index "public.sl_city_etc" Column|Type --+- city | text listing_type | text post_time| timestamp without time zone bedrooms | integer region | text geo_lat |

Re: [PERFORM] Poor query performance

2009-07-15 Thread Greg Stark
On Wed, Jul 15, 2009 at 8:51 AM, Alex wrote: > Also posted this to the list.  Thanks for your answer - still > struggling. Staying on-list is always preferred. >> How is the index  sl_city_etc defined? > >         Index "public.sl_city_etc" >    Column    |            Type > --+--

Re: [PERFORM] Poor query performance

2009-07-14 Thread Greg Stark
On Thu, Jul 9, 2009 at 10:35 PM, Alex wrote: > Forgot to add: > > postg...@ec2-75-101-128-4:~$ psql --version > psql (PostgreSQL) 8.3.5 How is the index sl_city_etc defined? -- greg http://mit.edu/~gsstark/resume.pdf -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.or

[PERFORM] Poor query performance

2009-07-14 Thread Alex
Below is a query that takes 16 seconds on the first run. I am having generally poor performance for queries in uncached areas of the data and often mediocre (500ms-2s+) performance generallly, although sometimes it's very fast. All the queries are pretty similar and use the indexes this way. I'v

Re: [PERFORM] Poor query performance

2009-07-14 Thread Alex
Forgot to add: postg...@ec2-75-101-128-4:~$ psql --version psql (PostgreSQL) 8.3.5 -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance