Hi, Philip,
Thanks for you advice. I added a second node to the cluster and there is not improvement to the galera performance. I also found that by default wsrep_causal_reads is 0.
Here is the output of the wsrep_% of my cluster.
+------------------------------+---------------------------------------+
| Variable_name | Value |
+------------------------------+---------------------------------------+
| wsrep_local_state_uuid | 2ac06f0b-04ab-11e5-9b60-a3023f0a5818 |
| wsrep_protocol_version | 7 |
| wsrep_last_committed | 9353 |
| wsrep_replicated | 9351 |
| wsrep_replicated_bytes | 15974939 |
| wsrep_repl_keys | 41048 |
| wsrep_repl_keys_bytes | 543457 |
| wsrep_repl_data_bytes | 14833018 |
| wsrep_repl_other_bytes | 0 |
| wsrep_received | 38 |
| wsrep_received_bytes | 668 |
| wsrep_local_commits | 9197 |
| wsrep_local_cert_failures | 0 |
| wsrep_local_replays | 0 |
| wsrep_local_send_queue | 0 |
| wsrep_local_send_queue_max | 35 |
| wsrep_local_send_queue_min | 0 |
| wsrep_local_send_queue_avg | 13.975008 |
| wsrep_local_recv_queue | 0 |
| wsrep_local_recv_queue_max | 2 |
| wsrep_local_recv_queue_min | 0 |
| wsrep_local_recv_queue_avg | 0.026316 |
| wsrep_local_cached_downto | 3 |
| wsrep_flow_control_paused_ns | 1762872223008 |
| wsrep_flow_control_paused | 0.243444 |
| wsrep_flow_control_sent | 0 |
| wsrep_flow_control_recv | 532 |
| wsrep_cert_deps_distance | 418.409261 |
| wsrep_apply_oooe | 0.942145 |
| wsrep_apply_oool | 0.000000 |
| wsrep_apply_window | 14.055823 |
| wsrep_commit_oooe | 0.000000 |
| wsrep_commit_oool | 0.000000 |
| wsrep_commit_window | 13.113571 |
| wsrep_local_state | 4 |
| wsrep_local_state_comment | Synced |
| wsrep_cert_index_size | 1377 |
| wsrep_causal_reads | 0 |
| wsrep_cert_interval | 27.058603 |
| wsrep_incoming_addresses |
158.85.113.73:3306,
158.85.113.72:3306 |
| wsrep_evs_delayed | |
| wsrep_evs_evict_list | |
| wsrep_evs_repl_latency | 0/0/0/0/0 |
| wsrep_evs_state | OPERATIONAL |
| wsrep_gcomm_uuid | 3522d994-04ab-11e5-9141-ba8937ba94de |
| wsrep_cluster_conf_id | 2 |
| wsrep_cluster_size | 2 |
| wsrep_cluster_state_uuid | 2ac06f0b-04ab-11e5-9b60-a3023f0a5818 |
| wsrep_cluster_status | Primary |
| wsrep_connected | ON |
| wsrep_local_bf_aborts | 0 |
| wsrep_local_index | 0 |
| wsrep_provider_name | Galera |
| wsrep_provider_vendor | Codership Oy <
in...@codership.com> |
| wsrep_provider_version | 3.9(r93aca2d) |
| wsrep_ready | ON |
+------------------------------+---------------------------------------+