Re: Using compression on TCP transfer - Mailing list pgsql-general

From Andrus
Subject Re: Using compression on TCP transfer
Date
Msg-id 5DB1E9D2ADDB4BA0ABDF602235234BCC@dell2
Whole thread Raw
In response to Re: Using compression on TCP transfer  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Using compression on TCP transfer
List pgsql-general
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. 




pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Using compression on TCP transfer
Next
From: Ben Madin
Date:
Subject: Re: Is PostgreSQL SQL Database Command Syntax Similar to MySQL/MariaDB?