Re: How to run this in reasonable time:

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: How to run this in reasonable time:
Дата
Msg-id 407d949e0908130725j8fe0eb2l5bbc0fc84c5603fa@mail.gmail.com
обсуждение исходный текст
Ответ на How to run this in reasonable time:  (Matthew Wakeling <matthew@flymine.org>)
Ответы Re: How to run this in reasonable time:  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-performance
On Thu, Aug 13, 2009 at 3:16 PM, Matthew Wakeling<matthew@flymine.org> wrote:
> Now, I'd like to get this done this side of Christmas, so I was wondering if
> there's a neat trick I can use to get it to only consider the rows from s to
> e, instead of having to iterate through them all. I tried this, but got an
> error message:
>
> SELECT id, objectid, bin
> FROM locationbintemp, generate_series(s, e) AS bin;


something like:

select id, objectid, generate_series(s,e) as bin
  from locationbintemp


--
greg
http://mit.edu/~gsstark/resume.pdf

В списке pgsql-performance по дате отправления:

Предыдущее
От: Matthew Wakeling
Дата:
Сообщение: How to run this in reasonable time:
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Why is vacuum_freeze_min_age 100m?