Re: Storing large documents - one table or partition by doc?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Storing large documents - one table or partition by doc?
Дата
Msg-id 060e03cb-bd2b-beb9-b2a1-dc1bfd30b0ca@BlueTreble.com
обсуждение исходный текст
Ответ на Re: Storing large documents - one table or partition by doc?  ("Mike Sofen" <msofen@runbox.com>)
Список pgsql-performance
On 9/23/16 7:14 AM, Mike Sofen wrote:
> So with proper indexing, I can’t see where there will be a performance
> issue.

Table bloat could become problematic. If there is a pattern where you
can predict which documents are likely to be active (say, documents that
have been modified in the last 10 days), then you can keep all of those
in a set of tables that is fairly small, and keep the remaining
documents in a set of "archive" tables. That will help reduce bloat in
the large archive tables. Before putting in that extra work though, I'd
just try the simple solution and see how well it works.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461


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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Strange nested loop for an INSERT
Следующее
От: Dev Nop
Дата:
Сообщение: Re: Storing large documents - one table or partition by doc?