Re: Performance issues when the number of records are around 10 Million

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Performance issues when the number of records are around 10 Million
Дата
Msg-id 4BE9FEB5.7080107@agliodbs.com
обсуждение исходный текст
Ответ на Performance issues when the number of records are around 10 Million  (venu madhav <venutaurus539@gmail.com>)
Список pgsql-performance
> * select e.cid, timestamp, s.sig_class, s.sig_priority, s.sig_name,
> e.sniff_ip, e.sniff_channel, s.sig_config, e.wifi_addr_1,
> e.wifi_addr_2, e.view_status, bssid  FROM event e, signature s WHERE
> s.sig_id = e.signature   AND e.timestamp >= '1270449180' AND e.timestamp
> < '1273473180'  ORDER BY e.cid DESC,  e.cid DESC limit 21 offset 10539780;

Anything with an offset that high is going to result in a sequential
scan of most of the table.

--
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: 8K recordsize bad on ZFS?
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Performance issues when the number of records are around 10 Million