MySQL Cluster data nodes - slow SELECTs

Posted by Boyan Georgiev on Stack Overflow See other posts from Stack Overflow or by Boyan Georgiev
Published on 2010-05-21T21:53:59Z Indexed on 2010/05/22 13:20 UTC
Read the original article Hit count: 240

Filed under:
|
|

Hi to all. First off, I'm new to MySQL Cluster. This is my pain: I've managed to setup a MySQL Cluster with two data nodes, two SQL nodes and one management server. Everything works pretty well, except the following: my data nodes are spread across an intranet link which incurs latency into communications between the data nodes. Apparently, due to MySQL Cluster's internal partitioning schemes, when my PHP application pulls data from the cluster via SELECT queries, parts of the data are pulled from both data nodes. This makes the page appear onscreen REALLY slowly. If I bring one data node offline, the data can only be pulled from that single remaining data node, and thus, the final result (HTML output) appears on the screen in a very timely fashion. So, my question is this: can the data nodes/cluster be told to pull data from partitions stored only on a particular data node?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql