Which formats does pg_dump support?
pg_dump
supports various formats. plain is simple a text stream. custom format is
basically a compressed text stream including a TOC (= table of contents). It
supports parallel backup replay.
Finally, there is a directory format that breaks up the backup into multiple files. It
supports parallel dumps as well as a parallel replay.
How long does it take to replay a backup?
That depends on many factors. Hardware, network bandwidth (in case the
backup has to be fetched from somewhere). In the case of a logical backup, the
biggest limiting factor is often indexing. All indexes have to be rebuilt which
takes a lot of time and usually also I/O capacity.
Assessment
Do'stlaringiz bilan baham: |