On Wed, Jan 22, 2020 at 11:23 AM Mladen Marinović <mladen.marinovic@xxxxxxxx> wrote: > > Hi, > > Does anybody know how much RAM does pg_basebackup use and if it depends on the size of the database that the backup is being created? pg_basebackup uses very little RAM, as the data received is written to disk immediately. If you are doing compression it uses a little more, but still within the "you don't really need to care" range. The RAM usage is not dependent on the size of the database, it is always that small. -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/