Hi Oleksandr,
*As long as you have more than one node* in the cluster running, it
certainly is safe, and is one of synchronous replication selling points:
with rotational disk drives it is faster to send data to another node
than to flush it to disk, perhaps even in WAN case.
Moreover, using innodb_flush_log_at_trx_commit=1 is totally pointless
in Galera cluster because recovery happens from another node. Missing a
few transactions in this case makes no difference and in case of SST
will be completely ignored.
However, innodb_doublewrite should be on at all times!
Regards,
Alex
On 2013-01-25 15:26, Oleksandr Drach wrote:
> Hello!
>
> I am wondering how setting "innodb_flush_log_at_trx_commit=0" value
> may
> increase MySQL performance. But on single MySQL-server instance it
> may
> lead some data loss (hey, only 1 last second, it's almost nothing
> :)).
>
> But as I have *wsrep-cluser of 4 or 5 servers, is not it absolutely
> safe to
> set "innodb_flush_log_at_trx_commit=0" in order to increase
> performance*?
> Reliability here will be guaranteed by another wsrep nodes as I
> suppose.
> What are your opinions?
>
> Thanks!
--
Alexey Yurchenko,
Codership Oy,
www.codership.com
Skype: alexey.yurchenko, Phone: +358-400-516-011