Feature #5295
Implementation of multi-threaded rsync for base backups
Added by Joshua A. Drake about 10 years ago.
Updated almost 10 years ago.
Description
Due to the single-threaded nature of pg_basebackup, performing a base backup can be a rather slow process.
Multi-threading the interface in Python would resolve this.
Files
On 04/17/2014 09:08 AM, pitrtools-tickets@lists.commandprompt.com wrote:
----------------------------------------
Due to the single-threaded nature of pg_basebackup, performing a base backup can be a rather slow process.
Multi-threading the interface in Python would resolve this.
Here is the code to implement.
--
Command Prompt, Inc. - http://www.commandprompt.com/ 509-416-6579
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC, @cmdpromptinc
Political Correctness is for cowards.
{{attachment(204)}}
Development plan:
- Add value rsync_threads (int) to cmd_standby.ini; Default 1
- Corresponds to --num_threads options passed to threaded_rsync.py. Defines amount of threads used in parallel rsync for base backups.
- Update doc/cmd_standby.README accordingly
- In cmd_standby: CMDStandby.base_backup_func, insert threaded_rsync.py with appropriate options
- Status changed from New to Resolved
Also available in: Atom
PDF