Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5Unb-0003WE-JA for pgsql-performance@arkaria.postgresql.org; Tue, 21 Jan 2014 06:27:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W5Una-0004fi-9g for pgsql-performance@arkaria.postgresql.org; Tue, 21 Jan 2014 06:26:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5UnY-0004fb-Tz for pgsql-performance@postgresql.org; Tue, 21 Jan 2014 06:26:57 +0000 Received: from pyrimidin.rz.uni-konstanz.de ([134.34.240.46]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5UnS-0007jX-MO for pgsql-performance@postgresql.org; Tue, 21 Jan 2014 06:26:55 +0000 Received: from vw002379.verwaltung.uni-konstanz.de (HELO PCKKoobs) ([134.34.168.208]) by mailhub.uni-konstanz.de with ESMTP/TLS/AES128-SHA; 21 Jan 2014 06:26:49 +0000 From: "Katharina Koobs" To: Cc: "'Sebastian Vogt'" Subject: Increasing query time after updates Date: Tue, 21 Jan 2014 07:26:52 +0100 Message-ID: <000001cf1671$c5e023b0$51a06b10$@uni-konstanz.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CF167A.27A798F0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac8WcYqA/nlH8QD+SJy7vGtSmjfwnQ== Content-Language: de X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org This is a multipart message in MIME format. ------=_NextPart_000_0001_01CF167A.27A798F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, We have a PostgreSQL DB, version 8.4 on a Suse Linux system. Every night a script runs with several updates and inserts. The query time at day increases after approximately 3 weeks from a few minutes to about an hour. After export, drop and import the DB the query time is again at a few minutes. We have tested vacuum full, vacuum analyze and reindex and get no improvement. Has anyone an idea why the queries are getting slower and slower? Thank you so much for your help! The DB configuration: Virtual server, 7GB RAM, DB size = 16GB shared_buffers = 1024MB temp_buffers = 32MB work_mem = 8MB checkpoint_segments = 20 effective_cache_size = 512MB max_locks_per_transaction = 256 ------=_NextPart_000_0001_01CF167A.27A798F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

We have a PostgreSQL DB, version 8.4 on a Suse Linux system.

Every night a script = runs with several updates and inserts. The query time at day increases = after

approximately 3 weeks = from a few minutes to about an hour.

After export, drop = and import the DB the query time is again at a few = minutes.

 

We have = tested vacuum full, vacuum analyze and reindex and get no = improvement.

 

Has = anyone an idea why the queries are getting slower and = slower?

 

Thank = you so much for your help!

 

 

The DB = configuration:

 

Virtual = server, 7GB RAM, DB size =3D 16GB

 

shared_buffers<= /font> =3D = 1024MB

temp_buffers =3D = 32MB

work_mem= =3D = 8MB

checkpoint_segments = =3D 20

effective_cache_size = =3D 512MB

max_locks_per_transact= ion =3D 256

 

 

------=_NextPart_000_0001_01CF167A.27A798F0--