Re: Strategies/Best Practises Handling Large Tables
| От | John R Pierce |
|---|---|
| Тема | Re: Strategies/Best Practises Handling Large Tables |
| Дата | |
| Msg-id | 507849E4.8060508@hogranch.com обсуждение исходный текст |
| Ответ на | Strategies/Best Practises Handling Large Tables (Chitra Creta <chitracreta@gmail.com>) |
| Ответы |
Re: Strategies/Best Practises Handling Large Tables
|
| Список | pgsql-general |
On 10/12/12 7:44 AM, Chitra Creta wrote: > > 1. Purge old data > 2. Reindex > 3. Partition > 4. Creation of daily, monthly, yearly summary tables that contains > aggregated data specific to the statistics required > if most of your queries read the majority of the tables, indexing will be of little help parittioning will aid in purging old data, as you can partitions by date (for instance, by week) and drop whole partitions rather than deleting individual records. aggregate tables likely will be the biggest win for your statistics if they reduce the mount of data you need to query. -- john r pierce N 37, W 122 santa cruz ca mid-left coast
В списке pgsql-general по дате отправления: