Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5de9476

Browse files
committed
Add WAL compression item to TODO.detail.
1 parent a65b1b7 commit 5de9476

File tree

1 file changed

+101
-0
lines changed
  • doc/TODO.detail

1 file changed

+101
-0
lines changed

doc/TODO.detail/wal

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2903,3 +2903,104 @@ I regret I do not currently have time to pursue further.
29032903

29042904
Best Regards, Simon Riggs
29052905

2906+
From pgsql-hackers-owner+M65147=pgman=candle.pha.pa.us@postgresql.org Fri Mar 11 12:35:29 2005
2907+
Return-path: <pgsql-hackers-owner+M65147=pgman=candle.pha.pa.us@postgresql.org>
2908+
Received: from svr1.postgresql.org (svr1.postgresql.org [200.46.204.71])
2909+
by candle.pha.pa.us (8.11.6/8.11.6) with ESMTP id j2BIZSk26269
2910+
for <pgman@candle.pha.pa.us>; Fri, 11 Mar 2005 13:35:29 -0500 (EST)
2911+
Received: from localhost (unknown [200.46.204.144])
2912+
by svr1.postgresql.org (Postfix) with ESMTP id 7C7DD545B4
2913+
for <pgman@candle.pha.pa.us>; Fri, 11 Mar 2005 18:35:25 +0000 (GMT)
2914+
Received: from svr1.postgresql.org ([200.46.204.71])
2915+
by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024)
2916+
with ESMTP id 31351-02 for <pgman@candle.pha.pa.us>;
2917+
Fri, 11 Mar 2005 18:35:25 +0000 (GMT)
2918+
Received: from postgresql.org (svr1.postgresql.org [200.46.204.71])
2919+
by svr1.postgresql.org (Postfix) with ESMTP id D316E545A2
2920+
for <pgman@candle.pha.pa.us>; Fri, 11 Mar 2005 18:35:24 +0000 (GMT)
2921+
X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org
2922+
Received: from localhost (unknown [200.46.204.144])
2923+
by svr1.postgresql.org (Postfix) with ESMTP id E70B65640C
2924+
for <pgsql-hackers-postgresql.org@localhost.postgresql.org>; Fri, 11 Mar 2005 18:33:21 +0000 (GMT)
2925+
Received: from svr1.postgresql.org ([200.46.204.71])
2926+
by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024)
2927+
with ESMTP id 29957-07
2928+
for <pgsql-hackers-postgresql.org@localhost.postgresql.org>;
2929+
Fri, 11 Mar 2005 18:33:19 +0000 (GMT)
2930+
Received: from hal.kabsi.at (bottom.kabsi.at [195.202.128.74])
2931+
by svr1.postgresql.org (Postfix) with ESMTP id 9D9EE545EE
2932+
for <pgsql-hackers@postgresql.org>; Fri, 11 Mar 2005 18:33:17 +0000 (GMT)
2933+
Received: from [192.168.0.5] (h062040243020.plc.cm.kabsi.at [62.40.243.20])
2934+
by hal.kabsi.at (8.11.1/) with ESMTP id j2BIX7a0000748810;
2935+
Fri, 11 Mar 2005 19:33:07 +0100 (CET)
2936+
Message-ID: <4231E416.4030900@cybertec.at>
2937+
Date: Fri, 11 Mar 2005 19:31:50 +0100
2938+
From: =?ISO-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= <postgres@cybertec.at>
2939+
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
2940+
X-Accept-Language: en-us, en
2941+
MIME-Version: 1.0
2942+
To: Simon Riggs <simon@2ndquadrant.com>
2943+
cc: Tom Lane <tgl@sss.pgh.pa.us>,
2944+
Mark Cave-Ayland <m.cave-ayland@webbased.co.uk>,
2945+
pgsql-hackers@postgresql.org
2946+
Subject: Re: [HACKERS] Cost of XLogInsert CRC calculations
2947+
References: <9EB50F1A91413F4FA63019487FCD251D113169@WEBBASEDDC.webbasedltd.local> <23031.1110206390@sss.pgh.pa.us> <1110239639.6117.197.camel@localhost.localdomain>
2948+
In-Reply-To: <1110239639.6117.197.camel@localhost.localdomain>
2949+
Content-Type: text/plain; charset=us-ascii; format=flowed
2950+
Content-Transfer-Encoding: 7bit
2951+
X-Virus-Scanned: by amavisd-new at hub.org
2952+
X-Mailing-List: pgsql-hackers
2953+
Precedence: bulk
2954+
Sender: pgsql-hackers-owner@postgresql.org
2955+
X-Virus-Scanned: by amavisd-new at hub.org
2956+
Status: OR
2957+
2958+
2959+
> One of the things I was thinking about was whether we could use up those
2960+
> cycles more effectively. If we were to include a compression routine
2961+
> before we calculated the CRC that would
2962+
> - reduce the size of the blocks to be written, hence reduce size of xlog
2963+
> - reduce the following CRC calculation
2964+
>
2965+
> I was thinking about using a simple run-length encoding to massively
2966+
> shrink half-empty blocks with lots of zero padding, but we've already
2967+
> got code to LZW the data down also.
2968+
>
2969+
> Best Regards, Simon Riggs
2970+
>
2971+
>
2972+
> ---------------------------(end of broadcast)---------------------------
2973+
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
2974+
2975+
2976+
Simon,
2977+
2978+
I think having a compression routine in there could make real sense.
2979+
We have done some major I/O testing involving compression for a large
2980+
customer some time ago. We have seen that compressing / decompressing on
2981+
the fly is in MOST cases much faster than uncompressed I/O (try a simple
2982+
"cat file | ..." vs." zcat file.gz | ...") - the zcat version will be
2983+
faster on all platforms we have tried (Linux, AIX, Sun on some SAN
2984+
system, etc. ...).
2985+
Also, when building up a large database within one transaction the xlog
2986+
will eat a lot of storage - this can be quite annoying when you have to
2987+
deal with a lot of data).
2988+
Are there any technical reasons which would prevent somebody from
2989+
implementing compression?
2990+
2991+
Best regards,
2992+
2993+
Hans
2994+
2995+
--
2996+
Cybertec Geschwinde u Schoenig
2997+
Schoengrabern 134, A-2020 Hollabrunn, Austria
2998+
Tel: +43/660/816 40 77
2999+
www.cybertec.at, www.postgresql.at
3000+
3001+
3002+
---------------------------(end of broadcast)---------------------------
3003+
TIP 5: Have you checked our extensive FAQ?
3004+
3005+
http://www.postgresql.org/docs/faq
3006+

0 commit comments

Comments
 (0)