Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id CD11E9FB464 for ; Fri, 3 Aug 2007 10:59:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 00922-03-3 for ; Fri, 3 Aug 2007 10:59:23 -0300 (ADT) X-Greylist: delayed 00:06:42.113707 by SQLgrey-1.7.5 Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by postgresql.org (Postfix) with ESMTP id 982A59FBE91 for ; Fri, 3 Aug 2007 10:59:22 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id d32so1654225pye for ; Fri, 03 Aug 2007 06:59:21 -0700 (PDT) Received: by 10.64.242.5 with SMTP id p5mr5169908qbh.1186149158728; Fri, 03 Aug 2007 06:52:38 -0700 (PDT) Received: by 10.65.185.15 with HTTP; Fri, 3 Aug 2007 06:52:38 -0700 (PDT) Message-ID: <881035ea0708030652r37b25a86g61e88e1f5e95eab2@mail.gmail.com> Date: Fri, 3 Aug 2007 06:52:38 -0700 From: "Sven Clement" To: pgsql-performance@postgresql.org Subject: Performance problems with large telemetric datasets on 7.4.2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_77282_4225123.1186149158700" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/18 X-Sequence-Number: 26148 ------=_Part_77282_4225123.1186149158700 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello everybody, as I'm new to this list I hope that it is the right place to post this and also the right format, so if I'm committing an error, I apologize in advance. First the background of my request: I'm currently employed by an enterprise which has approx. 250 systems distributed worldwide which are sending telemetric data to the main PostgreSQL. The remote systems are generating about 10 events per second per system which accumulates to about 2500/tps. The data is stored for about a month before it is exported and finally deleted from the database. On the PostgreSQL server are running to databases one with little traffic (about 750K per day) and the telemetric database with heavy write operations all around the day (over 20 million per day). We already found that the VACUUM process takes excessively long and as consequence the database is Vacuumed permanently. The hardware is a IBM X306m Server, 3.2 GHz HT (Pentium IV), 1 GB RAM and 2x 250 GB HDD (SATA-II) with ext3 fs, one of the HDD is dedicated to database. OS is Debian 3.1 Sarge with PostgreSQL 7.4.7 (7.4.7-6sarge1) with the libpq frontend library. Now the problem: The problem we are experiencing is that our queries are slowing down continuously even if we are performing queries on the index which is the timestamp of the event, a simple SELECT query with only a simple WHERE clause (< or >) takes very long to complete. So the database becomes unusable for production use as the data has to be retrieved very quickly if we want to act based on the telemetric data. So I'm asking me if it is useful to update to the actual 8.2 version and if we could experience performance improvement only by updating. Thank you for your answers, Sven Clement ------=_Part_77282_4225123.1186149158700 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello everybody,

as I'm new to this list I hope that it is the right place to post this and also the right format, so if I'm committing an error, I apologize in advance.

First the background of my request:

I'm currently employed by an enterprise which has approx. 250 systems distributed worldwide which are sending telemetric data to the main PostgreSQL.
The remote systems are generating about 10 events per second per system which accumulates to about 2500/tps.
The data is stored for about a month before it is exported and finally deleted from the database.
On the PostgreSQL server are running to databases one with little traffic (about 750K per day) and the telemetric database with heavy write operations all around the day (over 20 million per day).
We already found that the VACUUM process takes excessively long and as consequence the database is Vacuumed permanently.

The hardware is a IBM X306m Server, 3.2 GHz HT (Pentium IV), 1 GB RAM and 2x 250 GB HDD (SATA-II) with ext3 fs, one of the HDD is dedicated to database.
OS is Debian 3.1 Sarge with PostgreSQL 7.4.7 (7.4.7-6sarge1) with the libpq frontend library.

Now the problem:

The problem we are experiencing is that our queries are slowing down continuously even if we are performing queries on the index which is the timestamp of the event, a simple SELECT query with only a simple WHERE clause (< or >) takes very long to complete. So the database becomes unusable for production use as the data has to be retrieved very quickly if we want to act based on the telemetric data.

So I'm asking me if it is useful to update to the actual 8.2 version and if we could experience performance improvement only by updating.

Thank you for your answers,
Sven Clement
------=_Part_77282_4225123.1186149158700--