From: | "Marc Sherman" <msherman(at)projectile(dot)ca> |
---|---|
To: | "Mark Hamby" <mark(at)archer(dot)leavenworth(dot)army(dot)mil>, "pgsql-sql List" <pgsql-sql(at)postgresql(dot)org> |
Subject: | RE: Select most recent record? |
Date: | 2001-06-21 19:27:03 |
Message-ID: | NFBBIHBOMKCAGGHPKDJHAEKCCFAA.msherman@projectile.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
From: Mark Hamby [mailto:mark(at)archer(dot)leavenworth(dot)army(dot)mil]
>
> Marc,
> Did you ever get your problem solved to your satisfaction?
> We have a very simular problem with a historical database
> containing typically 5K id and updates to data every few
> seconds. We tried unsuccessfully to optimize queries
> such as those already suggested to you. We found the best
> means to quickly query the data valid at any given time was
> to:
[snip]
By adding an index, I was able to get the performance of the
query within a reasonable threshold; it's still slow, but
acceptable. I'll bear your suggestion in mind for next time
I run into this kind of problem, though, if my sol'n can't
handle the data. Thanks,
- Marc
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2001-06-21 19:31:44 | Re: Changing PL/pgSQL triggers |
Previous Message | Joseph Shraibman | 2001-06-21 19:04:21 | Re: select by streak |