Re: table size

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: table size
Дата
Msg-id 20030923145541.GA12673@wolff.to
обсуждение исходный текст
Ответ на table size  (David McLoughlin <dmcloughlin@sherkin.com>)
Список pgsql-general
On Tue, Sep 23, 2003 at 10:35:57 +0100,
  David McLoughlin <dmcloughlin@sherkin.com> wrote:
> I have a table in my database which can grow very quickly. Is
> there some way to partition the table so that when it reaches a certain
> size the information in it is copied to a temporary table and the
> original table is free again.
>
> Or is this possible at all. If not is there any sort of perfomance
> update I can add to speed up the queries on such a large table.

You can use partial indexes to only index a subset of the data. This
may be good enough for your needs. You will need to create new
partial indexes periodicly (and maybe remove old ones to save space).

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

Предыдущее
От: "Egor Shipovalov"
Дата:
Сообщение: How to get the total number of rows returned by query when using a cursor?
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: How to get the total number of rows returned by query