Re: Using Postgres to store high volume streams of sensor readings - Mailing list pgsql-general

From Tom Lane
Subject Re: Using Postgres to store high volume streams of sensor readings
Date
Msg-id 1581.1227283580@sss.pgh.pa.us
Whole thread Raw
In response to Re: Using Postgres to store high volume streams of sensor readings  ("Ciprian Dorin Craciun" <ciprian.craciun@gmail.com>)
Responses Re: Using Postgres to store high volume streams of sensor readings  ("Ciprian Dorin Craciun" <ciprian.craciun@gmail.com>)
Re: Using Postgres to store high volume streams of sensor readings  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-general
"Ciprian Dorin Craciun" <ciprian.craciun@gmail.com> writes:
>     In short the data is inserted by using COPY sds_benchmark_data
> from STDIN, in batches of 500 thousand data points.

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.

            regards, tom lane

pgsql-general by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: converter pgplsql funcion
Next
From: Alvaro Herrera
Date:
Subject: Re: Postgres mail list traffic over time