pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6528: pglesslog still referenced in docs, but no 9.1 support
21+ messages / 11 participants
[nested] [flat]

* BUG #6528: pglesslog still referenced in docs, but no 9.1 support
@ 2012-03-13 09:00 stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 21+ messages in thread

From: stuart.bishop@canonical.com @ 2012-03-13 09:00 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6528
Logged by:          Stuart Bishop
Email address:      stuart.bishop@canonical.com
PostgreSQL version: 9.1.3
Operating system:   Ubuntu
Description:        

In section 24.3.5.1 of the docs on setting up continuous archiving, there
are a few paragraphs and examples for using pglesslog (pg_compresslog and
pg_decompresslog). This tool did not get out of beta for 9.0 and the only
reports I find for 9.1 are for not being able to compile it. Suggest
removing it from the docs unless someone wants to pull this tool into the
core.




^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
@ 2012-04-09 14:10 ` Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Robert Haas @ 2012-04-09 14:10 UTC (permalink / raw)
  To: stuart.bishop@canonical.com; +Cc: pgsql-bugs

On Tue, Mar 13, 2012 at 5:00 AM,  <stuart.bishop@canonical.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6528
> Logged by:          Stuart Bishop
> Email address:      stuart.bishop@canonical.com
> PostgreSQL version: 9.1.3
> Operating system:   Ubuntu
> Description:
>
> In section 24.3.5.1 of the docs on setting up continuous archiving, there
> are a few paragraphs and examples for using pglesslog (pg_compresslog and
> pg_decompresslog). This tool did not get out of beta for 9.0 and the only
> reports I find for 9.1 are for not being able to compile it. Suggest
> removing it from the docs unless someone wants to pull this tool into the
> core.

This complaint appears to be accurate.  I think we should go ahead and
remove that mention.

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



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
@ 2012-04-09 18:13   ` Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:32     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  0 siblings, 2 replies; 21+ messages in thread

From: Bruce Momjian @ 2012-04-09 18:13 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: stuart.bishop@canonical.com; pgsql-bugs

On Mon, Apr 09, 2012 at 10:10:34AM -0400, Robert Haas wrote:
> On Tue, Mar 13, 2012 at 5:00 AM,  <stuart.bishop@canonical.com> wrote:
> > The following bug has been logged on the website:
> >
> > Bug reference:      6528
> > Logged by:          Stuart Bishop
> > Email address:      stuart.bishop@canonical.com
> > PostgreSQL version: 9.1.3
> > Operating system:   Ubuntu
> > Description:
> >
> > In section 24.3.5.1 of the docs on setting up continuous archiving, there
> > are a few paragraphs and examples for using pglesslog (pg_compresslog and
> > pg_decompresslog). This tool did not get out of beta for 9.0 and the only
> > reports I find for 9.1 are for not being able to compile it. Suggest
> > removing it from the docs unless someone wants to pull this tool into the
> > core.
> 
> This complaint appears to be accurate.  I think we should go ahead and
> remove that mention.

Agreed;  removed with the attached patch.  I didn't bother keeping the
gzip mention because I assume there is little value to using without
pglesslog.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachments:

pglesslog (text/plain, 1.2K) download diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml new file mode 100644 index 4227b66..bd7e42d *** a/doc/src/sgml/backup.sgml --- b/doc/src/sgml/backup.sgml *************** tar -rf /var/lib/pgsql/backup.tar /var/l *** 1246,1267 **** Please remember to add error handling to your backup scripts. </para> - <para> - If archive storage size is a concern, use <application>pg_compresslog</>, - <ulink url="http://pglesslog.projects.postgresql.org"></ulink>, to - remove unnecessary <xref linkend="guc-full-page-writes"> and trailing - space from the WAL files. You can then use - <application>gzip</application> to further compress the output of - <application>pg_compresslog</>: - <programlisting> - archive_command = 'pg_compresslog %p - | gzip &gt; /var/lib/pgsql/archive/%f' - </programlisting> - You will then need to use <application>gunzip</> and - <application>pg_decompresslog</> during recovery: - <programlisting> - restore_command = 'gunzip &lt; /mnt/server/archivedir/%f | pg_decompresslog - %p' - </programlisting> - </para> </sect3> <sect3 id="backup-scripts"> --- 1246,1251 ----
^ permalink raw reply [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2012-04-09 18:32     ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  1 sibling, 0 replies; 21+ messages in thread

From: Kevin Grittner @ 2012-04-09 18:32 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; Bruce Momjian <bruce@momjian.us>; +Cc: stuart.bishop@canonical.com; pgsql-bugs

Bruce Momjian <bruce@momjian.us> wrote:
> Robert Haas wrote:
>> <stuart.bishop@canonical.com> wrote:
 
>>> In section 24.3.5.1 of the docs on setting up continuous
>>> archiving, there are a few paragraphs and examples for using
>>> pglesslog (pg_compresslog and pg_decompresslog). This tool did
>>> not get out of beta for 9.0 and the only reports I find for 9.1
>>> are for not being able to compile it. Suggest removing it from
>>> the docs unless someone wants to pull this tool into the core.
>> 
>> This complaint appears to be accurate.  I think we should go
>> ahead and remove that mention.
> 
> Agreed;  removed with the attached patch.  I didn't bother keeping
> the gzip mention because I assume there is little value to using
> without pglesslog.
 
We found that gzip without doing something about the unused portion
of the WAL file generally reduced file size by about 50%, so it
still might be worth mentioning that.
 
-Kevin



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2012-04-09 18:37     ` Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2013-01-25 00:01       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Andres Freund <andres@2ndquadrant.com>
  1 sibling, 2 replies; 21+ messages in thread

From: Alvaro Herrera @ 2012-04-09 18:37 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: Robert Haas <robertmhaas@gmail.com>; stuart.bishop <stuart.bishop@canonical.com>; pgsql-bugs; koichi.szk@gmail.com


Excerpts from Bruce Momjian's message of lun abr 09 15:13:10 -0300 2012:
> On Mon, Apr 09, 2012 at 10:10:34AM -0400, Robert Haas wrote:

> > This complaint appears to be accurate.  I think we should go ahead and
> > remove that mention.
> 
> Agreed;  removed with the attached patch.  I didn't bother keeping the
> gzip mention because I assume there is little value to using without
> pglesslog.

I'm not sure that assumption holds.  I think you're thinking of the hack
that zeroes out the "empty" holes in the middle of data pages; those
didn't compress well unless zeroed out before compression.  This tool is
not about that, but rather about removing redundant info from WAL files.
It seems to me that WAL files would be as gzip-compressible regardless
of pglesslog being applied.  (Another related tool is clearxlogtail
which zeroes areas from WAL files when they are empty because of an
early switch due to archive timeout).

The funny thing is, apparently pg_lesslog was intentionally broken by
changing XLR_BKP_REMOVABLE to XLP_BKP_REMOVABLE (different semantics?)
and the fixes to make it compile again look simple.  It's a bit strange
that NTT stopped maintaining the tool .. Maybe it wasn't useful anymore?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
@ 2012-04-09 18:51       ` Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  1 sibling, 1 reply; 21+ messages in thread

From: Bruce Momjian @ 2012-04-09 18:51 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@commandprompt.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; stuart.bishop <stuart.bishop@canonical.com>; pgsql-bugs; koichi.szk@gmail.com

 On Mon, Apr 09, 2012 at 03:37:09PM -0300, Alvaro Herrera wrote:
> 
> Excerpts from Bruce Momjian's message of lun abr 09 15:13:10 -0300 2012:
> > On Mon, Apr 09, 2012 at 10:10:34AM -0400, Robert Haas wrote:
> 
> > > This complaint appears to be accurate.  I think we should go ahead and
> > > remove that mention.
> > 
> > Agreed;  removed with the attached patch.  I didn't bother keeping the
> > gzip mention because I assume there is little value to using without
> > pglesslog.
> 
> I'm not sure that assumption holds.  I think you're thinking of the hack
> that zeroes out the "empty" holes in the middle of data pages; those
> didn't compress well unless zeroed out before compression.  This tool is
> not about that, but rather about removing redundant info from WAL files.
> It seems to me that WAL files would be as gzip-compressible regardless
> of pglesslog being applied.  (Another related tool is clearxlogtail

OK, docs updated with the attached patch.

> which zeroes areas from WAL files when they are empty because of an
> early switch due to archive timeout).

Should we document that?

> The funny thing is, apparently pg_lesslog was intentionally broken by
> changing XLR_BKP_REMOVABLE to XLP_BKP_REMOVABLE (different semantics?)
> and the fixes to make it compile again look simple.  It's a bit strange
> that NTT stopped maintaining the tool .. Maybe it wasn't useful anymore?

No idea.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachments:

gunzip (text/plain, 849B) download diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml new file mode 100644 index bd7e42d..0180df5 *** a/doc/src/sgml/backup.sgml --- b/doc/src/sgml/backup.sgml *************** tar -rf /var/lib/pgsql/backup.tar /var/l *** 1246,1251 **** --- 1246,1262 ---- Please remember to add error handling to your backup scripts. </para> + <para> + If archive storage size is a concern, you can use + <application>gzip</application> to compress the archive files: + <programlisting> + archive_command = 'gzip &lt; %p &gt; /var/lib/pgsql/archive/%f' + </programlisting> + You will then need to use <application>gunzip</> during recovery: + <programlisting> + restore_command = 'gunzip &lt; /mnt/server/archivedir/%f &gt; %p' + </programlisting> + </para> </sect3> <sect3 id="backup-scripts">
^ permalink raw reply [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2012-04-09 19:07         ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Kevin Grittner @ 2012-04-09 19:07 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@commandprompt.com>; Bruce Momjian <bruce@momjian.us>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

Bruce Momjian <bruce@momjian.us> wrote:
> On Mon, Apr 09, 2012 at 03:37:09PM -0300, Alvaro Herrera wrote:
 
>> (Another related tool is clearxlogtail which zeroes areas from
>> WAL files when they are empty because of an early switch due to
>> archive timeout).
> 
> Should we document that?
 
Our shop has been using that since before pglesslog existed, and it
has continued to work across many major releases with no change to
source code because it doesn't get down to the level of looking at
the xlog records themselves, just the segment and page-level
structures.  I should probably put packaging that up as a proper
extension and posting it to PGXN as another thing on the list of
things I'll do when I stumble over that pot of round tuits at the
end of the rainbow.  Right now the source is on pgfoundry.  If
anybody wants to do anything with it before I find time, feel free.
 
-Kevin



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
@ 2012-08-29 21:04           ` Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 1 reply; 21+ messages in thread

From: Bruce Momjian @ 2012-08-29 21:04 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: Alvaro Herrera <alvherre@commandprompt.com>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Mon, Apr  9, 2012 at 02:07:43PM -0500, Kevin Grittner wrote:
> Bruce Momjian <bruce@momjian.us> wrote:
> > On Mon, Apr 09, 2012 at 03:37:09PM -0300, Alvaro Herrera wrote:
>  
> >> (Another related tool is clearxlogtail which zeroes areas from
> >> WAL files when they are empty because of an early switch due to
> >> archive timeout).
> > 
> > Should we document that?
>  
> Our shop has been using that since before pglesslog existed, and it
> has continued to work across many major releases with no change to
> source code because it doesn't get down to the level of looking at
> the xlog records themselves, just the segment and page-level
> structures.  I should probably put packaging that up as a proper
> extension and posting it to PGXN as another thing on the list of
> things I'll do when I stumble over that pot of round tuits at the
> end of the rainbow.  Right now the source is on pgfoundry.  If
> anybody wants to do anything with it before I find time, feel free.

I was going to add a mention of this to our docs, but it seems there are
no released files for the project:

	http://pgfoundry.org/frs/?group_id=1000308

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +




^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2012-09-04 17:11             ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Kevin Grittner @ 2012-09-04 17:11 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; Alvaro Herrera <alvherre@commandprompt.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

Bruce Momjian <bruce@momjian.us> wrote:
> On Mon, Apr  9, 2012 at 02:07:43PM -0500, Kevin Grittner wrote:
>> Bruce Momjian <bruce@momjian.us> wrote:
>>> On Mon, Apr 09, 2012 at 03:37:09PM -0300, Alvaro Herrera wrote:
>>> 
>>>> (Another related tool is clearxlogtail which zeroes areas from
>>>> WAL files when they are empty because of an early switch due to
>>>> archive timeout).
>>> 
>>> Should we document that?
>>  
>> Our shop has been using that since before pglesslog existed, and
>> it has continued to work across many major releases with no
>> change to source code because it doesn't get down to the level of
>> looking at the xlog records themselves, just the segment and
>> page-level structures.  I should probably put packaging that up
>> as a proper extension and posting it to PGXN as another thing on
>> the list of things I'll do when I stumble over that pot of round
>> tuits at the end of the rainbow.  Right now the source is on
>> pgfoundry.  If anybody wants to do anything with it before I find
>> time, feel free.
> 
> I was going to add a mention of this to our docs, but it seems
> there are no released files for the project:
 
There is a single 175 line C source file to generate a stand-alone
executable filter.  The source has not needed any changes since it
was finished over 4 years ago.  Besides that C file, there is only a
make file.  I wasn't sure what form of packaging would be easier
than just checking out the source from the SCM.
 
What do you think would be the right thing to do with it at this
point?
 
-Kevin




^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
@ 2012-09-04 17:38               ` Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:49                 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 1 reply; 21+ messages in thread

From: Bruce Momjian @ 2012-09-04 17:38 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; Alvaro Herrera <alvherre@commandprompt.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
> Bruce Momjian <bruce@momjian.us> wrote:
> > On Mon, Apr  9, 2012 at 02:07:43PM -0500, Kevin Grittner wrote:
> >> Bruce Momjian <bruce@momjian.us> wrote:
> >>> On Mon, Apr 09, 2012 at 03:37:09PM -0300, Alvaro Herrera wrote:
> >>> 
> >>>> (Another related tool is clearxlogtail which zeroes areas from
> >>>> WAL files when they are empty because of an early switch due to
> >>>> archive timeout).
> >>> 
> >>> Should we document that?
> >>  
> >> Our shop has been using that since before pglesslog existed, and
> >> it has continued to work across many major releases with no
> >> change to source code because it doesn't get down to the level of
> >> looking at the xlog records themselves, just the segment and
> >> page-level structures.  I should probably put packaging that up
> >> as a proper extension and posting it to PGXN as another thing on
> >> the list of things I'll do when I stumble over that pot of round
> >> tuits at the end of the rainbow.  Right now the source is on
> >> pgfoundry.  If anybody wants to do anything with it before I find
> >> time, feel free.
> > 
> > I was going to add a mention of this to our docs, but it seems
> > there are no released files for the project:
>  
> There is a single 175 line C source file to generate a stand-alone
> executable filter.  The source has not needed any changes since it
> was finished over 4 years ago.  Besides that C file, there is only a
> make file.  I wasn't sure what form of packaging would be easier
> than just checking out the source from the SCM.
>  
> What do you think would be the right thing to do with it at this
> point?

Well, there should probably be a tar files with a README.  What about
adding this to /contrib?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +




^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2012-09-04 17:49                 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 18:01                   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Kevin Grittner @ 2012-09-04 17:49 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; Alvaro Herrera <alvherre@commandprompt.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

Bruce Momjian <bruce@momjian.us> wrote:
> On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
 
>> What do you think would be the right thing to do with it at this
>> point?
> 
> Well, there should probably be a tar files with a README.  What
> about adding this to /contrib?
 
I would be happy to add it to contrib if people want it there. 
There was some discussion of that when I wrote it, but then there
was a feeling that it would be uninteresting once people had
streaming replication.  I'm skeptical that people will ever lose
interest in archiving WAL files, because of the not-uncommon need to
keep archival backups or restore to a "point in time" to recover
from a mangled table.  As long as those needs are there, I suspect
that people will want to compress WAL files, including making
partially-filled files smaller.
 
-Kevin




^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:49                 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
@ 2012-09-04 18:01                   ` Bruce Momjian <bruce@momjian.us>
  2013-01-24 22:21                     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Bruce Momjian @ 2012-09-04 18:01 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; Alvaro Herrera <alvherre@commandprompt.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Tue, Sep  4, 2012 at 12:49:40PM -0500, Kevin Grittner wrote:
> Bruce Momjian <bruce@momjian.us> wrote:
> > On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
>  
> >> What do you think would be the right thing to do with it at this
> >> point?
> > 
> > Well, there should probably be a tar files with a README.  What
> > about adding this to /contrib?
>  
> I would be happy to add it to contrib if people want it there. 
> There was some discussion of that when I wrote it, but then there
> was a feeling that it would be uninteresting once people had
> streaming replication.  I'm skeptical that people will ever lose
> interest in archiving WAL files, because of the not-uncommon need to
> keep archival backups or restore to a "point in time" to recover
> from a mangled table.  As long as those needs are there, I suspect
> that people will want to compress WAL files, including making
> partially-filled files smaller.

Agreed.  Please move forward on the contrib idea.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +




^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:49                 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 18:01                   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2013-01-24 22:21                     ` Bruce Momjian <bruce@momjian.us>
  2013-01-24 23:43                       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 21+ messages in thread

From: Bruce Momjian @ 2013-01-24 22:21 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; Alvaro Herrera <alvherre@commandprompt.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Tue, Sep  4, 2012 at 02:01:54PM -0400, Bruce Momjian wrote:
> On Tue, Sep  4, 2012 at 12:49:40PM -0500, Kevin Grittner wrote:
> > Bruce Momjian <bruce@momjian.us> wrote:
> > > On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
> >  
> > >> What do you think would be the right thing to do with it at this
> > >> point?
> > > 
> > > Well, there should probably be a tar files with a README.  What
> > > about adding this to /contrib?
> >  
> > I would be happy to add it to contrib if people want it there. 
> > There was some discussion of that when I wrote it, but then there
> > was a feeling that it would be uninteresting once people had
> > streaming replication.  I'm skeptical that people will ever lose
> > interest in archiving WAL files, because of the not-uncommon need to
> > keep archival backups or restore to a "point in time" to recover
> > from a mangled table.  As long as those needs are there, I suspect
> > that people will want to compress WAL files, including making
> > partially-filled files smaller.
> 
> Agreed.  Please move forward on the contrib idea.

Kevin, did this get accomplished?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:49                 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 18:01                   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2013-01-24 22:21                     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2013-01-24 23:43                       ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2013-01-24 23:45                         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Alvaro Herrera @ 2013-01-24 23:43 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

Bruce Momjian escribió:
> 
> On Tue, Sep  4, 2012 at 02:01:54PM -0400, Bruce Momjian wrote:
> > On Tue, Sep  4, 2012 at 12:49:40PM -0500, Kevin Grittner wrote:
> > > Bruce Momjian <bruce@momjian.us> wrote:
> > > > On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
> > >  
> > > >> What do you think would be the right thing to do with it at this
> > > >> point?
> > > > 
> > > > Well, there should probably be a tar files with a README.  What
> > > > about adding this to /contrib?
> > >  
> > > I would be happy to add it to contrib if people want it there. 
> > > There was some discussion of that when I wrote it, but then there
> > > was a feeling that it would be uninteresting once people had
> > > streaming replication.  I'm skeptical that people will ever lose
> > > interest in archiving WAL files, because of the not-uncommon need to
> > > keep archival backups or restore to a "point in time" to recover
> > > from a mangled table.  As long as those needs are there, I suspect
> > > that people will want to compress WAL files, including making
> > > partially-filled files smaller.
> > 
> > Agreed.  Please move forward on the contrib idea.
> 
> Kevin, did this get accomplished?

Just to be clear, what we're proposing adding to contrib is
clearxlogtail, not pglesslog, right?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:49                 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 18:01                   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2013-01-24 22:21                     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2013-01-24 23:43                       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2013-01-24 23:45                         ` Bruce Momjian <bruce@momjian.us>
  2013-06-28 23:22                           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 21+ messages in thread

From: Bruce Momjian @ 2013-01-24 23:45 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Thu, Jan 24, 2013 at 08:43:37PM -0300, Alvaro Herrera wrote:
> Bruce Momjian escribió:
> > 
> > On Tue, Sep  4, 2012 at 02:01:54PM -0400, Bruce Momjian wrote:
> > > On Tue, Sep  4, 2012 at 12:49:40PM -0500, Kevin Grittner wrote:
> > > > Bruce Momjian <bruce@momjian.us> wrote:
> > > > > On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
> > > >  
> > > > >> What do you think would be the right thing to do with it at this
> > > > >> point?
> > > > > 
> > > > > Well, there should probably be a tar files with a README.  What
> > > > > about adding this to /contrib?
> > > >  
> > > > I would be happy to add it to contrib if people want it there. 
> > > > There was some discussion of that when I wrote it, but then there
> > > > was a feeling that it would be uninteresting once people had
> > > > streaming replication.  I'm skeptical that people will ever lose
> > > > interest in archiving WAL files, because of the not-uncommon need to
> > > > keep archival backups or restore to a "point in time" to recover
> > > > from a mangled table.  As long as those needs are there, I suspect
> > > > that people will want to compress WAL files, including making
> > > > partially-filled files smaller.
> > > 
> > > Agreed.  Please move forward on the contrib idea.
> > 
> > Kevin, did this get accomplished?
> 
> Just to be clear, what we're proposing adding to contrib is
> clearxlogtail, not pglesslog, right?

I was not clear on exactly what Kevin was going to add.  Kevin?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
  2012-04-09 18:51       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 19:07         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-08-29 21:04           ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:11             ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 17:38               ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-09-04 17:49                 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-04 18:01                   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2013-01-24 22:21                     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2013-01-24 23:43                       ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@2ndquadrant.com>
  2013-01-24 23:45                         ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
@ 2013-06-28 23:22                           ` Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 21+ messages in thread

From: Bruce Momjian @ 2013-06-28 23:22 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Thu, Jan 24, 2013 at 06:45:02PM -0500, Bruce Momjian wrote:
> On Thu, Jan 24, 2013 at 08:43:37PM -0300, Alvaro Herrera wrote:
> > Bruce Momjian escribió:
> > > 
> > > On Tue, Sep  4, 2012 at 02:01:54PM -0400, Bruce Momjian wrote:
> > > > On Tue, Sep  4, 2012 at 12:49:40PM -0500, Kevin Grittner wrote:
> > > > > Bruce Momjian <bruce@momjian.us> wrote:
> > > > > > On Tue, Sep  4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
> > > > >  
> > > > > >> What do you think would be the right thing to do with it at this
> > > > > >> point?
> > > > > > 
> > > > > > Well, there should probably be a tar files with a README.  What
> > > > > > about adding this to /contrib?
> > > > >  
> > > > > I would be happy to add it to contrib if people want it there. 
> > > > > There was some discussion of that when I wrote it, but then there
> > > > > was a feeling that it would be uninteresting once people had
> > > > > streaming replication.  I'm skeptical that people will ever lose
> > > > > interest in archiving WAL files, because of the not-uncommon need to
> > > > > keep archival backups or restore to a "point in time" to recover
> > > > > from a mangled table.  As long as those needs are there, I suspect
> > > > > that people will want to compress WAL files, including making
> > > > > partially-filled files smaller.
> > > > 
> > > > Agreed.  Please move forward on the contrib idea.
> > > 
> > > Kevin, did this get accomplished?
> > 
> > Just to be clear, what we're proposing adding to contrib is
> > clearxlogtail, not pglesslog, right?
> 
> I was not clear on exactly what Kevin was going to add.  Kevin?

Any news on this?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
  2012-04-09 14:10 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Robert Haas <robertmhaas@gmail.com>
  2012-04-09 18:13   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Bruce Momjian <bruce@momjian.us>
  2012-04-09 18:37     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Alvaro Herrera <alvherre@commandprompt.com>
@ 2013-01-25 00:01       ` Andres Freund <andres@2ndquadrant.com>
  1 sibling, 0 replies; 21+ messages in thread

From: Andres Freund @ 2013-01-25 00:01 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@commandprompt.com>; +Cc: Bruce Momjian <bruce@momjian.us>; Robert Haas <robertmhaas@gmail.com>; stuart.bishop <stuart.bishop@canonical.com>; pgsql-bugs; koichi.szk@gmail.com

On 2012-04-09 15:37:09 -0300, Alvaro Herrera wrote:
> 
> Excerpts from Bruce Momjian's message of lun abr 09 15:13:10 -0300 2012:
> > On Mon, Apr 09, 2012 at 10:10:34AM -0400, Robert Haas wrote:
> 
> > > This complaint appears to be accurate.  I think we should go ahead and
> > > remove that mention.
> > 
> > Agreed;  removed with the attached patch.  I didn't bother keeping the
> > gzip mention because I assume there is little value to using without
> > pglesslog.
> 
> I'm not sure that assumption holds.  I think you're thinking of the hack
> that zeroes out the "empty" holes in the middle of data pages; those
> didn't compress well unless zeroed out before compression.  This tool is
> not about that, but rather about removing redundant info from WAL files.
> It seems to me that WAL files would be as gzip-compressible regardless
> of pglesslog being applied.  (Another related tool is clearxlogtail
> which zeroes areas from WAL files when they are empty because of an
> early switch due to archive timeout).
> 
> The funny thing is, apparently pg_lesslog was intentionally broken by
> changing XLR_BKP_REMOVABLE to XLP_BKP_REMOVABLE (different semantics?)
> and the fixes to make it compile again look simple.  It's a bit strange
> that NTT stopped maintaining the tool .. Maybe it wasn't useful anymore?

One problem is that it was hard to trust the tool, it had relatively bad
bugs several times and it wasn't maintained by pgdg...

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
@ 2013-01-25 06:35 Kevin Grittner <kgrittn@mail.com>
  2013-01-25 22:01 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Peter Eisentraut <peter_e@gmx.net>
  0 siblings, 1 reply; 21+ messages in thread

From: Kevin Grittner @ 2013-01-25 06:35 UTC (permalink / raw)
  To: Bruce Momjian <bruce@momjian.us>; Alvaro Herrera <alvherre@2ndquadrant.com>; Peter Eisentraut <peter_e@gmx.net>; +Cc: stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

Bruce Momjian wrote:
> On Thu, Jan 24, 2013 at 08:43:37PM -0300, Alvaro Herrera wrote:
>> Bruce Momjian escribió:
>>> On Tue, Sep 4, 2012 at 02:01:54PM -0400, Bruce Momjian wrote:
>>>> On Tue, Sep 4, 2012 at 12:49:40PM -0500, Kevin Grittner wrote:
>>>>> Bruce Momjian <bruce@momjian.us> wrote:
>>>>>> On Tue, Sep 4, 2012 at 12:11:53PM -0500, Kevin Grittner wrote:
>>>>> 
>>>>>>> What do you think would be the right thing to do with it at this
>>>>>>> point?
>>>>>> 
>>>>>> Well, there should probably be a tar files with a README. What
>>>>>> about adding this to /contrib?
>>>>> 
>>>>> I would be happy to add it to contrib if people want it there. 
>>>>> There was some discussion of that when I wrote it, but then there
>>>>> was a feeling that it would be uninteresting once people had
>>>>> streaming replication. I'm skeptical that people will ever lose
>>>>> interest in archiving WAL files, because of the not-uncommon need to
>>>>> keep archival backups or restore to a "point in time" to recover
>>>>> from a mangled table. As long as those needs are there, I suspect
>>>>> that people will want to compress WAL files, including making
>>>>> partially-filled files smaller.
>>>> 
>>>> Agreed. Please move forward on the contrib idea.
>>> 
>>> Kevin, did this get accomplished?
>> 
>> Just to be clear, what we're proposing adding to contrib is
>> clearxlogtail, not pglesslog, right?
> 
> I was not clear on exactly what Kevin was going to add. Kevin?

I was talking about pg_clearxlogtail. It is less fragile than
pglesslog because it doesn't look below the level of the page
structure -- it doesn't care about WAL record types at all. It
never needed one line of source code change until 9.3. Peter
Eisentraut was recently asking me questions about it and pointed
out that "It fails to build with 9.3devel, because of the change to
uint64 for WAL addressing."

Peter, do you have a version that works with 9.3?

Given that we're past the start of the last CF, do we still want to
consider including it? If you tilt your head at just the right
angle, I guess it could look like a bug fix -- but it is a stretch.

-Kevin


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2013-01-25 06:35 Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <kgrittn@mail.com>
@ 2013-01-25 22:01 ` Peter Eisentraut <peter_e@gmx.net>
  2013-01-25 22:23   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Jeff Janes <jeff.janes@gmail.com>
  0 siblings, 1 reply; 21+ messages in thread

From: Peter Eisentraut @ 2013-01-25 22:01 UTC (permalink / raw)
  To: Kevin Grittner <kgrittn@mail.com>; +Cc: Bruce Momjian <bruce@momjian.us>; Alvaro Herrera <alvherre@2ndquadrant.com>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On 1/25/13 1:35 AM, Kevin Grittner wrote:
> Peter, do you have a version that works with 9.3?

I don't, but it shouldn't be hard for someone more up to date with the
internal WAL addressing changes.

> Given that we're past the start of the last CF, do we still want to
> consider including it? If you tilt your head at just the right
> angle, I guess it could look like a bug fix -- but it is a stretch.

Given that clearxlog doesn't actually work in 9.3 right now (see above)
and doesn't have any documentation, I think the stretch is a bit too big.

I do like the idea behind it, but the first step would be to address
these two points and let people try it out.  Note also that in our
discussion we had some questions about how exactly to write the archive
command to use it.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2013-01-25 06:35 Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <kgrittn@mail.com>
  2013-01-25 22:01 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Peter Eisentraut <peter_e@gmx.net>
@ 2013-01-25 22:23   ` Jeff Janes <jeff.janes@gmail.com>
  2013-01-26 13:18     ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Euler Taveira <euler@timbira.com>
  0 siblings, 1 reply; 21+ messages in thread

From: Jeff Janes @ 2013-01-25 22:23 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: Kevin Grittner <kgrittn@mail.com>; Bruce Momjian <bruce@momjian.us>; Alvaro Herrera <alvherre@2ndquadrant.com>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On Fri, Jan 25, 2013 at 2:01 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On 1/25/13 1:35 AM, Kevin Grittner wrote:
>> Peter, do you have a version that works with 9.3?
>
> I don't, but it shouldn't be hard for someone more up to date with the
> internal WAL addressing changes.

I've been thinking about that.  Should pg_clearxlogtail for 9.3 only
work for logs from 9.3, or should it be arranged to work on logs from
older versions as well (which probably means parts of the 9.2 headers
would need to be copied into the body of pg_clearxlogtail)?


>> Given that we're past the start of the last CF, do we still want to
>> consider including it? If you tilt your head at just the right
>> angle, I guess it could look like a bug fix -- but it is a stretch.
>
> Given that clearxlog doesn't actually work in 9.3 right now (see above)
> and doesn't have any documentation, I think the stretch is a bit too big.
>
> I do like the idea behind it, but the first step would be to address
> these two points and let people try it out.  Note also that in our
> discussion we had some questions about how exactly to write the archive
> command to use it.

This is what I use:

archive_command = 'set -C -o pipefail;
(/usr/local/pgsql9_2/bin/pg_clearxlogtail < %p || cat %p)  | gzip >
/mnt/foo/archivelog9_2/%f.gz'

The "|| cat %p" business is because pg_clearxlogtail will fail on
.history files and so needs an alternative path.

I think it would be better to have pg_clearxlogtail instead just
silently pass any unrecognized files through without manipulation,
rather than erroring out.

Most people would probably want to use a more explicit shell script
with notifications and such, like one Kevin posted to general a few
months ago under "checkpoint_timeout and archive_timeout".


Cheers,

Jeff


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread

* Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support
  2013-01-25 06:35 Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <kgrittn@mail.com>
  2013-01-25 22:01 ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Peter Eisentraut <peter_e@gmx.net>
  2013-01-25 22:23   ` Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Jeff Janes <jeff.janes@gmail.com>
@ 2013-01-26 13:18     ` Euler Taveira <euler@timbira.com>
  0 siblings, 0 replies; 21+ messages in thread

From: Euler Taveira @ 2013-01-26 13:18 UTC (permalink / raw)
  To: Jeff Janes <jeff.janes@gmail.com>; +Cc: Peter Eisentraut <peter_e@gmx.net>; Kevin Grittner <kgrittn@mail.com>; Bruce Momjian <bruce@momjian.us>; Alvaro Herrera <alvherre@2ndquadrant.com>; stuart.bishop <stuart.bishop@canonical.com>; koichi.szk@gmail.com; Robert Haas <robertmhaas@gmail.com>; pgsql-bugs

On 25-01-2013 20:23, Jeff Janes wrote:
> I've been thinking about that.  Should pg_clearxlogtail for 9.3 only
> work for logs from 9.3, or should it be arranged to work on logs from
> older versions as well (which probably means parts of the 9.2 headers
> would need to be copied into the body of pg_clearxlogtail)?
> 
As it is a new tool for contrib, I don't see the obligation to maintain
compatibility with prior versions unless someone want to do that legwork. If
the compatibility won't be included, the docs could point out the source for
prior versions.

> This is what I use:
> 
> archive_command = 'set -C -o pipefail;
> (/usr/local/pgsql9_2/bin/pg_clearxlogtail < %p || cat %p)  | gzip >
> /mnt/foo/archivelog9_2/%f.gz'
> 
> The "|| cat %p" business is because pg_clearxlogtail will fail on
> .history files and so needs an alternative path.
> 
That's something that should be addressed, no?

> I think it would be better to have pg_clearxlogtail instead just
> silently pass any unrecognized files through without manipulation,
> rather than erroring out.
> 
... or let people choose one or another.


-- 
   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 21+ messages in thread


end of thread, other threads:[~2013-06-28 23:22 UTC | newest]

Thread overview: 21+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-03-13 09:00 BUG #6528: pglesslog still referenced in docs, but no 9.1 support stuart.bishop@canonical.com
2012-04-09 14:10 ` Robert Haas <robertmhaas@gmail.com>
2012-04-09 18:13   ` Bruce Momjian <bruce@momjian.us>
2012-04-09 18:32     ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-09 18:37     ` Alvaro Herrera <alvherre@commandprompt.com>
2012-04-09 18:51       ` Bruce Momjian <bruce@momjian.us>
2012-04-09 19:07         ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-08-29 21:04           ` Bruce Momjian <bruce@momjian.us>
2012-09-04 17:11             ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-09-04 17:38               ` Bruce Momjian <bruce@momjian.us>
2012-09-04 17:49                 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-09-04 18:01                   ` Bruce Momjian <bruce@momjian.us>
2013-01-24 22:21                     ` Bruce Momjian <bruce@momjian.us>
2013-01-24 23:43                       ` Alvaro Herrera <alvherre@2ndquadrant.com>
2013-01-24 23:45                         ` Bruce Momjian <bruce@momjian.us>
2013-06-28 23:22                           ` Bruce Momjian <bruce@momjian.us>
2013-01-25 00:01       ` Andres Freund <andres@2ndquadrant.com>
2013-01-25 06:35 Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support Kevin Grittner <kgrittn@mail.com>
2013-01-25 22:01 ` Peter Eisentraut <peter_e@gmx.net>
2013-01-25 22:23   ` Jeff Janes <jeff.janes@gmail.com>
2013-01-26 13:18     ` Euler Taveira <euler@timbira.com>

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