Re: Load experimentation

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Load experimentation
Дата
Msg-id bddc86150912071039o12ce133fwf12e2c2d71a61785@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Load experimentation  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Load experimentation  (Ben Brehmer <benbrehmer@gmail.com>)
Список pgsql-performance
2009/12/7 Kevin Grittner <Kevin.Grittner@wicourts.gov>
Ben Brehmer <benbrehmer@gmail.com> wrote:

> -7.5 GB memory
> -4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units
>    each)
> -64-bit platform

What OS?

> (PostgreSQL 8.1.3)

Why use such an antiquated, buggy version?  Newer versions are
faster.

-Kevin


I'd agree with trying to use the latest version you can.

How are you loading this data?  I'd make sure you haven't got any indices, primary keys, triggers or constraints on your tables before you begin the initial load, just add them after.  Also use either the COPY command for loading, or prepared transactions.  Individual insert commands will just take way too long.

Regards

Thom

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

Предыдущее
От: Scott Mead
Дата:
Сообщение: Re: Load experimentation
Следующее
От: Ben Brehmer
Дата:
Сообщение: Re: Load experimentation