1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/doc/xml
Stephen Frost 4498f726a5 Improve asynchronous archive-get/archive-push performance by directly checking status files.
Prior to this commit, an expression was used to search the spool directory for ok/error files for a specific WAL segment. This involved setting up a regular expression and using opendir/readdir.

Instead, directly probe for the status files, checking directly if a '.ok' or '.error' file exists, avoiding the regular expression and eliminating the directory scan.

Only the two files now probed for could have ever matched the regular expression which had been provided and it's unlikely that many more additional files will be added, so this is a good improvement, and optimization, with little downside.

Contributed by Stephen Frost.
2018-08-28 16:04:53 -04:00
..
dtd Allow containers to be defined in a document. 2018-07-23 07:49:15 -04:00
coding.xml Storage object improvements. 2018-04-03 12:25:21 -04:00
index.xml v2.02: Parallel Asynchronous Archive Get and Configuration Includes 2018-05-06 19:53:42 -04:00
reference.xml Allow arbitrary directories and/or files to be excluded from a backup. 2018-08-27 15:51:05 -04:00
release.xml Improve asynchronous archive-get/archive-push performance by directly checking status files. 2018-08-28 16:04:53 -04:00
test.xml Rename db-* options to pg-* and backup-* options to repo-* to improve consistency. 2018-02-03 18:27:38 -05:00
user-guide.xml Allow any option to be set in an environment variable. 2018-08-15 10:52:53 -04:00