1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-16 10:20:02 +02:00
pgbackrest/src
David Steele a8fb285756
Improve archive-get performance.
Check that archive files exist in the main process instead of the local process. This means that the archive.info file only needs to be loaded once per execution rather than once per file to get.

Stop looking when a file is missing or in error. PostgreSQL will never request anything past the missing file so there is no point in getting them. This also reduces "unable to find" logging in the async process.

Cache results of storageList() when looking for multiple files to reduce storage I/O.

Look for all requested archive files in the archive-id where the first file is found. They may not all be there, but this reduces the number of list calls. If subsequent files are in another archive id they will be found on the next archive-get call.
2021-01-15 10:15:52 -05:00
..
build Update install-sh, config.guess, and config.sub to latest versions. 2020-12-07 11:26:34 -05:00
command Improve archive-get performance. 2021-01-15 10:15:52 -05:00
common Add FUNCTION_LOG_RETURN_STRUCT() and update where appropriate. 2021-01-13 07:49:47 -05:00
config Add cfgOptionValid() check to assert in cfgOptionIdxTest(). 2021-01-15 08:59:16 -05:00
db Add FUNCTION_LOG_RETURN_STRUCT() and update where appropriate. 2021-01-13 07:49:47 -05:00
info Fix spacing and typos in backup/manifest modules. 2020-11-09 16:26:43 -05:00
postgres Update LICENSE.txt and PostgreSQL copyright for 2020. 2021-01-03 13:56:37 -05:00
protocol Remove option exclusions now handled by command role validity. 2020-12-31 10:22:09 -05:00
storage Fix inverted cfgOption*() calls. 2021-01-15 08:30:56 -05:00
.gitignore Use a checksum to build configure.ac more efficiently. 2020-03-14 12:39:29 -04:00
build.auto.h.in Add Zstandard compression support. 2020-05-04 15:25:27 -04:00
configure Begin v2.32 development. 2020-12-07 11:13:45 -05:00
main.c Add internal verify command. 2020-09-22 11:57:38 -04:00
Makefile.in Move all parse-related rules to parse module. 2020-12-17 09:32:31 -05:00
version.h Begin v2.32 development. 2020-12-07 11:13:45 -05:00