Re: Using Postgres to store high volume streams of sensor readings

Поиск
Список
Период
Сортировка
От Ciprian Dorin Craciun
Тема Re: Using Postgres to store high volume streams of sensor readings
Дата
Msg-id 8e04b5820811210942p76c6402epdae640b7f2e52895@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Using Postgres to store high volume streams of sensor readings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Using Postgres to store high volume streams of sensor readings  ("Ciprian Dorin Craciun" <ciprian.craciun@gmail.com>)
Список pgsql-general
On Fri, Nov 21, 2008 at 7:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Ciprian Dorin Craciun" <ciprian.craciun@gmail.com> writes:
>> On Fri, Nov 21, 2008 at 6:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Not sure if it applies to your real use-case, but if you can try doing
>>> the COPY from a local file instead of across the network link, it
>>> might go faster.  Also, as already noted, drop the redundant index.
>
>>     It won't be that difficult to use a local file (now I'm using the
>> same computer), but will it really make a difference?
>
> Yes.  I'm not sure how much, but there is nontrivial protocol overhead.
>
>                        regards, tom lane
>

    Ok, I have tried it, and no improvements... (There is also the
drawback that I must run the inserts as the superuser...)

    Ciprian Craciun.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Packaging problem: using myspell dictionaries for tsearch2
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Using Postgres to store high volume streams of sensor readings