Re: Improve compression speeds in pg_lzcompress.c

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Takeshi Yamamuro <yamamuro(dot)takeshi(at)lab(dot)ntt(dot)co(dot)jp>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Improve compression speeds in pg_lzcompress.c
Date: 2013-01-08 13:20:42
Message-ID: CA+Tgmoaiw4brYWApZekTPNOrXfzhowG+LNKmyS8R2kp7Y8Gb6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 8, 2013 at 4:04 AM, Takeshi Yamamuro
<yamamuro(dot)takeshi(at)lab(dot)ntt(dot)co(dot)jp> wrote:
> Apart from my patch, what I care is that the current one might
> be much slow against I/O. For example, when compressing
> and writing large values, compressing data (20-40MiB/s) might be
> a dragger against writing data in disks (50-80MiB/s). Moreover,
> IMHO modern (and very fast) I/O subsystems such as SSD make a
> bigger issue in this case.

What about just turning compression off?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-01-08 13:47:27 Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Previous Message Robert Haas 2013-01-08 13:04:39 Re: recent ALTER whatever .. SET SCHEMA refactoring