# Xtrabackup : best options for performance

**URL:** <https://forums.percona.com/t/xtrabackup-best-options-for-performance/37187>\
**Category:** Percona XtraBackup\
**Created:** [March 14, 2025, 10:28am UTC](https://forums.percona.com/t/xtrabackup-best-options-for-performance/37187 "2025-03-14T10:28:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dba\_S4dscjz](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@dba\_S4dscjz](https://forums.percona.com/u/dba_S4dscjz)\
**Post date:** [March 14, 2025, 10:28am UTC](https://forums.percona.com/t/xtrabackup-best-options-for-performance/37187/1 "2025-03-14T10:28:09Z")

</div>

Hello everyone,

For our needs we realize daily backups of our database and each backup piece is sent to a block storage object in cloud provider. So the executed command looks like :

```auto
xtrabackup --stream=xbstream | xbcloud put target/dir/

```

(we also use `compress` options with `xtrabackup` command)

To speed up the process, we’re thinking of using parallelism. With the help of documentation we found 2 ways for enabling it :

- `--parallel` option:  
In this case the command will be :

```auto
xtrabackup --parallel=N --stream=xbstream | xbcloud put --parallel=N target/dir/

```

- `--fifo-streams` option:  
In this case there will be 2 commands :

```auto
xtrabackup --fifo-streams=N --fifo-dir=/tmp/fifo --stream=xbstream &
xbcloud put --fifo-streams=N --fifo-dir=/tmp/fifo target/dir/

```

Does anyone has experience with this and know which option is best in terms of performance ?

Thanks.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [March 20, 2025, 1:13pm UTC](https://forums.percona.com/t/xtrabackup-best-options-for-performance/37187/2 "2025-03-20T13:13:44Z")

</div>

Hello @dba_S4dscjz,  
Please read over this blog post, explaining FIFO streams.

> **[Faster Streaming Backups - Introducing Percona XtraBackup FIFO Parallel Stream](https://www.percona.com/blog/faster-streaming-backups-introducing-percona-xtrabackup-fifo-parallel-stream/)**
>
> Percona XtraBackup 8.0.33-28 introduces a new datasink for true parallel streaming utilizing FIFO for faster streaming backups.

---

<div class="post-metadata">

**Author:** ![dba\_S4dscjz](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@dba\_S4dscjz](https://forums.percona.com/u/dba_S4dscjz)\
**Post date:** [March 21, 2025, 4:36pm UTC](https://forums.percona.com/t/xtrabackup-best-options-for-performance/37187/3 "2025-03-21T16:36:37Z")

</div>

Thank you very much @matthewb !
