From: Andrus <kobruleht2@hot.ee>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Using compression on TCP transfer
Date: Tue, 31 Mar 2020 15:13:24 +0300
Message-ID: <5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2> (raw)
In-Reply-To: <b50c974b0d423dd7e6c500b59a31895d4278efa9.camel@cybertec.at>
References: <45AE45823FB844ED80186DE14DCC5B14@dell2>
<b50c974b0d423dd7e6c500b59a31895d4278efa9.camel@cybertec.at>
Hi!
>It is a simple ALTER TABLE.
Client is Visual FoxPro application. It sends data with trailing spaces
sometimes and sometimes not.
In case of varchar field values will appear in database sometimes with
trailing spaces and sometimes without.
This requires major application re-design which much is more expensive than
continuing using char fields.
>You'd have to use an OpenSSL library with compression support enabled.
Should I change OpenSSL installed from standard repository in Debian server
or can it changed only for PostgreSql.
How ?
>But that will improve speed only if your workload is network bound,
>not CPU bound (in which case performance will suffer).
Server has lot of cores. Top shows that CPU usage is small.
Brausers and web servers use compression widely. Apache and IIS enable
static content compression by default.
Compression should be built in in Postgres.
Andrus.
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-general@postgresql.org
Cc: kobruleht2@hot.ee, laurenz.albe@cybertec.at
Subject: Re: Using compression on TCP transfer
In-Reply-To: <5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2>
References: <45AE45823FB844ED80186DE14DCC5B14@dell2> <b50c974b0d423dd7e6c500b59a31895d4278efa9.camel@cybertec.at> <5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2>
* 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