From: Robert Haas <robertmhaas@gmail.com>
To: Andrey Vorobiev <andrey.o.vorobiev@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance degradation of inserts when database size grows
Date: Mon, 23 May 2011 15:08:16 -0400
Message-ID: <BANLkTimtRW-FCxkcO5OqjWmro66FwVo9YQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=VKBmRLVLDjy8qxpWx_6-rmbUaXg@mail.gmail.com>
References: <BANLkTi=VKBmRLVLDjy8qxpWx_6-rmbUaXg@mail.gmail.com>
On Tue, May 17, 2011 at 8:45 AM, Andrey Vorobiev
<andrey.o.vorobiev@gmail.com> wrote:
> 1. How does database size affect insert performance?
Well, if your database gets bigger, then your indexes will become
deeper, requiring more time to update. But I'm not sure that's your
problem here.
> 2. Why does number of written buffers increase when database size grows?
It normally doesn't.
> 3. How can I further analyze this problem?
Are you actually inserting more user data into these tables, so that
they have more and more rows as time goes by, or are the data files
getting larger out of proportion to the amount of useful data in them?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: robertmhaas@gmail.com, andrey.o.vorobiev@gmail.com
Subject: Re: Performance degradation of inserts when database size grows
In-Reply-To: <BANLkTimtRW-FCxkcO5OqjWmro66FwVo9YQ@mail.gmail.com>
References: <BANLkTi=VKBmRLVLDjy8qxpWx_6-rmbUaXg@mail.gmail.com> <BANLkTimtRW-FCxkcO5OqjWmro66FwVo9YQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox