| From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | "David Wilson" <david(dot)t(dot)wilson(at)gmail(dot)com> |
| Cc: | "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org> |
| Subject: | Re: slow query |
| Date: | 2009-01-13 00:54:37 |
| Message-ID: | dcc563d10901121654l17b034b6m8c70118d2cdc45f2@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On Mon, Jan 12, 2009 at 4:55 PM, David Wilson <david(dot)t(dot)wilson(at)gmail(dot)com> wrote:
> On Mon, Jan 12, 2009 at 5:59 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>> I can't figure out where my time's going to.
>
> Looks like it's going to:
>
> -> Index Scan using users_orgid_idx on users u (cost=0.00..129.52
> rows=5 width=271) (actual time=843.825..860.638 rows=0 loops=35)
>
> I'd guess the index/pages for users isn't in memory the first time around.
Exactly. I keep forgetting to look at loops... sigh. Thanks!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-01-13 01:38:38 | Re: Slow insert performace, 8.3 Wal related? |
| Previous Message | David Wilson | 2009-01-12 23:55:13 | Re: slow query |