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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ciprian Dorin Craciun" <ciprian(dot)craciun(at)gmail(dot)com>
Cc: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Using Postgres to store high volume streams of sensor readings
Date: 2008-11-21 17:12:07
Message-ID: 6791.1227287527@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ciprian Dorin Craciun" <ciprian(dot)craciun(at)gmail(dot)com> writes:
> On Fri, Nov 21, 2008 at 6:06 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Mayer 2008-11-21 17:18:53 Re: Postgres mail list traffic over time
Previous Message Tom Lane 2008-11-21 17:10:45 Re: Postgres mail list traffic over time