Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 39C069FA492 for ; Sun, 26 Nov 2006 12:35:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 86614-06 for ; Sun, 26 Nov 2006 12:35:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [65.19.161.25]) by postgresql.org (Postfix) with ESMTP id 868FA9FA48A for ; Sun, 26 Nov 2006 12:35:53 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [65.19.161.25]) by wwwmaster.postgresql.org (8.13.3/8.13.3) with ESMTP id kAQGZq34025406 for ; Sun, 26 Nov 2006 16:35:52 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.13.3/8.13.3/Submit) id kAQGZqKE025405; Sun, 26 Nov 2006 16:35:52 GMT (envelope-from www) Date: Sun, 26 Nov 2006 16:35:52 GMT Message-Id: <200611261635.kAQGZqKE025405@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #2784: Performance serious degrades over a period of a month From: "Michael Simms" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/207 X-Sequence-Number: 16342 The following bug has been logged online: Bug reference: 2784 Logged by: Michael Simms Email address: michael@tuxgames.com PostgreSQL version: 8.1.4 Operating system: Linux kernel 2.6.12 Description: Performance serious degrades over a period of a month Details: OK, we have a database that runs perfectly well after a dump and restore, but over a period of a month or two, it just degrades to the point of uselessness. vacuumdb -a is run every 24 hours. We have also run for months at a time using -a -z but the effect doesnt change. The database is for a counter, not the most critical part of the system, but a part of the system nonetheless. Other tables we have also degrade over time, but the counter is the most pronounced. There seems to be no common feature of the tables that degrade. All I know is that a series of queries that are run on the database every 24 hours, after a dump/restore takes 2 hours. Now, 2 months after, it is taking over 12. We are seriously considering switching to mysql to avoid this issue. But I wanted to let you guys have a chance to resolve the issue, we dont have the manpower or expertise to fix it ourselves. I am willing to let someone from the postgres development team have access to our server for a period of time to have a look at the issue. This would need to be someone extremely trustworthy as the database contains confidential client information. I am willing to wait 2 days for a response and for someone to take a look at the problem. The performance degridation isnt something we can leave as it is for long, and in 2 days time I will have to dump and restore the database, which will reset it to a good state, and will mean I will have to resort to the mysql switch instead. Sorry this sounds a bit rushed, but it cant be helped, this is causing *problems* and we need a solution, either a fix or a switch to another database. Id rather a fix cos I like postgres, but Im willing to bite the mysql bullet if I have to...