partitioning an existing table

Поиск
Список
Период
Сортировка
От Robert Blayzor
Тема partitioning an existing table
Дата
Msg-id D8C4F7BD-FECE-4ABB-9B16-5A764ADBD5DF@inoc.net
обсуждение исходный текст
Ответы Re: partitioning an existing table  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-performance
The docs claim that the master table “should” be empty. It it possible to just create child tables off an existing
mastertable with data, then just inserting data into the new child tables. 

THe plan would be to keep data in the master table and purge it over time until it’s eventually empty, then drop the
indexesas well. 

Fully understanding that data needs to be placed in the right child tables. Data outside of those child ranges would
remainas “old data” in the master table. 


Just trying to grab if that’s an acceptable migration of live data from a single large table and move into
partitioning.Think of it as a very large table of cyclic data that ages out. New data in child tables while removing
datafrom the master table over time. 

--
inoc.net!rblayzor
XMPP: rblayzor.AT.inoc.net
PGP:  https://inoc.net/~rblayzor/
















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

Предыдущее
От: pinker
Дата:
Сообщение: Re: Table performance with millions of rows (partitioning)
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: partitioning an existing table