From: Anibal David Acosta <aa@devshock.com>
To: pgsql-performance@postgresql.org
Subject: how delete/insert/update affects select performace?
Date: Thu, 8 Sep 2011 08:51:13 -0400
Message-ID: <004301cc6e26$015a75e0$040f61a0$@devshock.com> (raw)
Hi!
I have a table not too big but with aprox. 5 millions of rows, this table
must have 300 to 400 select per second. But also must have 10~20
delete/insert/update per second.
So, I need to know if the insert/delete/update really affect the select
performance and how to deal with it.
The table structure is very simple:
account_id integer (PK)
service_id integer (PK)
enabled char(1)
The index created on this has the same 3 columns.
Most of time the table has more insert or delete than update, when update
occur the column changed is enabled;
Thanks!
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: aa@devshock.com
Subject: Re: how delete/insert/update affects select performace?
In-Reply-To: <004301cc6e26$015a75e0$040f61a0$@devshock.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