Re: zabbix on postgresql - very slow delete of events

From: Kenneth Marshall <ktm(at)rice(dot)edu>
To: Kristian Ejvind <Kristian(dot)Ejvind(at)resurs(dot)se>
Cc: "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: zabbix on postgresql - very slow delete of events
Date: 2019-07-23 14:33:00
Message-ID: 20190723143300.GG21184@aart.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Jul 23, 2019 at 01:41:53PM +0000, Kristian Ejvind wrote:
> Thanks Kenneth. In fact we've already partitioned the largest history* and trends* tables
> and that has been running fine for a year. Performance was vastly improved. But since you
> can't have a unique index on a partitioned table in postgres 10, we haven't worked on that.
>
> Regards
> Kristian

Hi Kristian,

Why are you not partitioning the events and alerts tables as well? That
would eliminate this problem and you already have the infrastructure in
place to support the management since you are using it for the history
and trends tables.

Regards,
Ken

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kristian Ejvind 2019-07-24 08:11:59 Re: zabbix on postgresql - very slow delete of events
Previous Message Kristian Ejvind 2019-07-23 13:41:53 Re: zabbix on postgresql - very slow delete of events