Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Got error 4008 'Receive from NDB failed' (no replies)

$
0
0
Hello,

When I launch the query:

> select * from extra_data where data_payload LIKE '%Simbar%' OR data_payload LIKE '%53696D626172%';

I get the following error after several minutes:

ERROR 1296 (HY000): Got error 4008 'Receive from NDB failed' from NDBCLUSTER
mysql

What could be the problem?

The schema:

CREATE TABLE `extra_data` (
`sid` bigint(20) NOT NULL,
`cid` bigint(20) NOT NULL,
`data_payload` varchar(2500) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`username` varchar(512) DEFAULT NULL,
PRIMARY KEY (`sid`,`cid`),
KEY `payload` (`data_payload`)
) /*!50100 TABLESPACE ts_1 STORAGE DISK */ ENGINE=ndbcluster DEFAULT CHARSET=latin1


As far as I know, although no index cannot be used because the wildcard (%), the Engine Condition Pushdown Optimization should works fine:

mysql> explain select * from extra_data where data_payload LIKE '%Simbar%' OR data_payload LIKE '%53696D626172%'\G
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table:
type: ALL
possible_keys: NULL
key: NULL
key_len: NULL
ref: NULL
rows: 6897834
Extra: Using where with pushed condition
1 row in set (0.00 sec)

I am using Mysql Cluster 7.2.5 with one node group and two nodes. Is there any parameter should be changed?


Thanks in advanced,

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>