1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-04 03:49:14 +02:00
pgbackrest/test/expect
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
..
mock-all-001.log Add job-retry and job-retry-interval options. 2021-01-11 15:15:25 -05:00
mock-all-002.log Add job-retry and job-retry-interval options. 2021-01-11 15:15:25 -05:00
mock-archive-001.log Improve archive-get performance. 2021-01-15 10:15:52 -05:00
mock-archive-002.log Improve archive-get performance. 2021-01-15 10:15:52 -05:00
mock-archive-stop-001.log Allow multiple remote locks from the same main process. 2020-11-23 12:41:54 -05:00
mock-archive-stop-002.log Allow multiple remote locks from the same main process. 2020-11-23 12:41:54 -05:00
mock-expire-001.log Audit options valid for expire command. 2020-12-31 12:13:20 -05:00
mock-expire-002.log Audit options valid for expire command. 2020-12-31 12:13:20 -05:00
mock-stanza-001.log Improve archive-get performance. 2021-01-15 10:15:52 -05:00
mock-stanza-002.log Improve archive-get performance. 2021-01-15 10:15:52 -05:00
real-all-001.log Add job-retry and job-retry-interval options. 2021-01-11 15:15:25 -05:00