Re: Partitioning an existing table

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Partitioning an existing table
Дата
Msg-id BANLkTi=h1DG9XCCreO_3pCjACjW4zVpCXQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Partitioning an existing table  (Raghavendra <raghavendra.rao@enterprisedb.com>)
Ответы Re: Partitioning an existing table  (Raghavendra <raghavendra.rao@enterprisedb.com>)
Список pgsql-general


On Mon, Apr 25, 2011 at 10:53 AM, Raghavendra <raghavendra.rao@enterprisedb.com> wrote:
1. Send all the data to .csv file with COPY TO command of the base table(which will undergo for partition).
2. Create the partition setup with TRIGGER's
3. Use COPY FROM command for inserting data into partition table. 

so now when your running application goes to query the table, it gets doubles?  if you do it in transactions, then how long are you going to cause the master table to be locked when doing such a bulk delete?

my point is to minimize service interruption, and that means moving small hunks at a time to minimize the locks needed.

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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: 10 missing features
Следующее
От: Bosco Rama
Дата:
Сообщение: Re: Cross-schema view issue/question