tag:github.com,2008:https://github.com/postgrespro/ptrack/releasesRelease notes from ptrack2023-04-24T15:35:43Ztag:github.com,2008:Repository/233435914/2.4.32023-04-24T15:35:43Z2.4.3: Merge pull request #37 from postgrespro/PBCKP-544-link<p>PBCKP-544 remove crc32c source patch for windows</p>funny-falcontag:github.com,2008:Repository/233435914/2.4.22023-03-31T09:46:23Z2.4.2: Merge pull request #36 from postgrespro/PBCKP-564<p>[PBCKP-564] Don't spam with "skip empty file" message</p>funny-falcontag:github.com,2008:Repository/233435914/2.4.12023-02-21T09:04:56Z2.4.1: [PBKP-531] hotfix (#33)<p>[PBKP-531] hotfix</p>
<p>PGPROEE11 now supports ptrack for CFS</p>
<hr>
<p>Co-authored-by: Daniel Shelepanov <a href="mailto:[email protected]">[email protected]</a></p>daniel-95tag:github.com,2008:Repository/233435914/2.4.02023-01-16T08:08:47Z2.4.0<p>Version upgrade to 2.4</p>funny-falcontag:github.com,2008:Repository/233435914/2.3.02022-02-28T08:40:05Z2.3.0<p>[PGPRO-5691] move mmapped ptrack map into shared postgres memory (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1126916399" data-permission-text="Title is private" data-url="https://github.com/postgrespro/ptrack/issues/19" data-hovercard-type="pull_request" data-hovercard-url="/postgrespro/ptrack/pull/19/hovercard" href="https://github.com/postgrespro/ptrack/pull/19">#19</a>)</p>kulaginmtag:github.com,2008:Repository/233435914/2.2.02021-06-15T20:55:12ZRelease 2.2.0<p><strong>Important</strong> Since version 2.2 we use a different algorithm for tracking changed pages. Thus, data recorded in the <code>ptrack.map</code> using pre 2.2 versions of <code>ptrack</code> is incompatible with newer versions. After extension upgrade and server restart old <code>ptrack.map</code> will be discarded with <code>WARNING</code> and initialized from the scratch.</p>
<ul>
<li><code>ptrack</code> now uses two slots to record page change information. It<br>
helps significantly reduce number of false positives with the same<br>
<code>ptrack.map_size</code>. See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="864048377" data-permission-text="Title is private" data-url="https://github.com/postgrespro/ptrack/issues/5" data-hovercard-type="issue" data-hovercard-url="/postgrespro/ptrack/issues/5/hovercard" href="https://github.com/postgrespro/ptrack/issues/5">#5</a> for details. Many thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/funny-falcon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/funny-falcon">@funny-falcon</a> for<br>
ideas, theory and review!</li>
<li><code>ptrack_get_pagemapset()</code> now also displays a number of changed blocks<br>
per file.</li>
<li>Added <code>ptrack_get_change_stat(start_lsn pg_lsn)</code> that can desplay statistic<br>
of changes (number of files, pages and size in MB) since specified <code>start_lsn</code>.</li>
</ul>ololobustag:github.com,2008:Repository/233435914/2.1.22021-03-31T11:17:43ZRelease 2.1.2<ul>
<li>Fix int32 overflow when doing a <code>ptrack</code> checkpoint with<br>
<code>ptrack.map_size</code> > 16 GB.</li>
<li>Adjust <code>ptrack</code> checkpoint buffer for a ~20% better performance.</li>
</ul>ololobustag:github.com,2008:Repository/233435914/2.1.12021-01-19T15:28:42ZRelease 2.1.1<ul>
<li>PostgreSQL 11 and 13 support. Thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alubennikova/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alubennikova">@alubennikova</a>.</li>
<li>Fixed an int32 overflow issue, when one was unable to set<br>
ptrack.map_size to 2 GB and above. New limit is 32 GB.</li>
</ul>ololobustag:github.com,2008:Repository/233435914/2.1.02020-06-06T11:13:48ZRelease 2.1.0<p>Both <code>ptrack</code> engine and public SQL API are now inside extension. Only<br>
certain required hooks have been left as a PostgreSQL core patch.</p>
<p>Also many things have changed since 2.0.0:</p>
<ul>
<li>Fixed many compatibility bugs: alignment issues with atomics usage on Win32,<br>
with atomics simulation via spinlocks.</li>
<li>Added versioning into the <code>ptrack</code> map.</li>
<li>Added automated standalone testing with <code>pg_probackup</code> via travis-ci in<br>
different modes, including a 'legacy' mode, i.e. with <code>EXEC_BACKEND</code><br>
and <code>--disable-atomics</code>.</li>
<li>Removed <code>pg_ptrack_get_block</code>.</li>
</ul>
<p>Upgrading from 2.0.0:</p>
<ul>
<li>Put <code>shared_preload_libraries = 'ptrack'</code> into <code>postgresql.conf</code>.</li>
<li>Rename <code>ptrack_map_size</code> to <code>ptrack.map_size</code>.</li>
<li>Do <code>ALTER EXTENSION 'ptrack' UPDATE;</code>.</li>
<li>Restart server.</li>
</ul>ololobustag:github.com,2008:Repository/233435914/2.0.02020-05-26T15:26:05ZRelease 2.0.0<p>Ptrack is a fast block-level incremental backup engine for PostgreSQL.<br>
Currently <code>ptrack</code> codebase is split approximately 50%/50% between<br>
PostgreSQL core patch and extension. All public SQL API methods are<br>
placed in the <code>ptrack</code> extension, while the main engine is still in core.</p>
<p>Credits to:</p>
<ul>
<li>Konstantin Knizhnik</li>
<li>Anastasia Lubennikova</li>
<li>Alexey Kondratov</li>
</ul>ololobus