<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - memcached</title>
        <description>Forum for memchached as a cache and storage engine for MySQL.</description>
        <link>http://forums.mysql.com/list.php?150</link>
        <lastBuildDate>Wed, 19 Jun 2013 04:22:43 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?150,586268,586268#msg-586268</guid>
            <title>NDB Memcache caching policy + external values problems (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,586268,586268#msg-586268</link>
            <description><![CDATA[ I'm attempting to use ndb memcache through a PHP API, and am having real problems doing so.<br />
<br />
Can anyone confirm whether these are general issues, or whether it might be my setup (which only uses the config generator on severalnines).<br />
<br />
In 7.2.7, using the caching policy crashes memcached when trying to get a value that is in the table, but not the local cache.<br />
<br />
In 7.3.1 (latest RC), I no longer have the above problem, but I do have the following problems:<br />
1) Caching policy works, but will return inconsistent data:<br />
    string(10) &quot;blablablal&quot;<br />
    string(14) &quot;blablablal\r\n\000\000&quot;<br />
    string(14) &quot;blablablal\r\n\000\000&quot;<br />
    string(10) &quot;blablablal&quot;<br />
2) External Values are generated correctly, but when I try to read them all I get is an empty string<br />
3) Any sort of compression that uses the ndb storage doesn't work. I can see the flags column being set correctly. (Using default demo_table_large).<br />
<br />
<br />
Regarding no. 2, this is the output I see in memcached (-vvv with debug=true)<br />
<br />
Write:<br />
<br />
52 - Running task: (conn_listening)<br />
&lt;56 new auto-negotiating client connection<br />
56 - Running task: (conn_new_cmd)<br />
56: going from conn_new_cmd to conn_waiting<br />
56 - Running task: (conn_waiting)<br />
56: going from conn_waiting to conn_read<br />
56 - Running task: (conn_read)<br />
56: going from conn_read to conn_parse_cmd<br />
56 - Running task: (conn_parse_cmd)<br />
56: Client using the ascii protocol<br />
&lt;56 set b:largeValueAt1368531790 0 0 5000<br />
56: going from conn_parse_cmd to conn_nread<br />
56 - Running task: (conn_nread)<br />
56 - Running task: (conn_nread)<br />
Got notify from 56, status 0<br />
&gt;56 STORED<br />
56: going from conn_nread to conn_write<br />
56: going from conn_write to conn_swallow<br />
56: going from conn_swallow to conn_new_cmd<br />
56: going from conn_new_cmd to conn_waiting<br />
56: going from conn_waiting to conn_read<br />
<br />
<br />
<br />
<br />
Read:<br />
<br />
<br />
56 - Running task: (conn_read)<br />
56: going from conn_read to conn_parse_cmd<br />
56 - Running task: (conn_parse_cmd)<br />
&lt;56 get b:largeValueAt1368531790<br />
Got notify from 56, status 0<br />
&lt;56 get b:largeValueAt1368531790<br />
&gt;56 sending key b:largeValueAt1368531790<br />
<br />
&gt;56 END<br />
56: going from conn_parse_cmd to conn_mwrite<br />
56: going from conn_mwrite to conn_new_cmd<br />
56: going from conn_new_cmd to conn_waiting<br />
56: going from conn_waiting to conn_read<br />
56 - Running task: (conn_read)<br />
56: going from conn_read to conn_closing<br />
56 - Running task: (conn_closing)<br />
-1: going from conn_closing to conn_immediate_close<br />
-1 - Running task: (conn_immediate_close)<br />
Immediate close of 0x7fc57c0010d0]]></description>
            <dc:creator>Joshua Gigg</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 14 May 2013 11:44:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,574182,574182#msg-574182</guid>
            <title>restrict memcache to 2 different IP (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,574182,574182#msg-574182</link>
            <description><![CDATA[ Hi guys,<br />
<br />
i have a memcache server up and running but i want to restrict the access to it by IP.<br />
<br />
i know that i can use the memcached.conf file and set OPTIONS='-l 127.0.0.1'. but i have an other server that needs to connect to memcache on a different IP.<br />
<br />
is there a way to do this?]]></description>
            <dc:creator>tng -</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 20 Nov 2012 10:19:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,573163,573163#msg-573163</guid>
            <title>SELECT DATA INTO OUTMCACHED.. LOAD DATA INMCACHE (1 reply)</title>
            <link>http://forums.mysql.com/read.php?150,573163,573163#msg-573163</link>
            <description><![CDATA[ To enhance performance of some sites which depend heavily on select into outfile and load data infile, i would like to create the following feature:<br />
<br />
SELECT INTO OUTMCACHED(mckey) select * from etc ....<br />
LOAD DATA INMCACHED(mckey) into table....<br />
<br />
Benefit of this is that i can specify expiry times and i do not need cache disks anymore which over time, when no of files is getting large, become slow.<br />
<br />
I have been out of developing something for mysql for quite some time now but i want to pick it up again and this seems like a nice feature.<br />
<br />
Or is there already an feature similar to this( which i missed )?]]></description>
            <dc:creator>Ueberbach JP</dc:creator>
            <category>memcached</category>
            <pubDate>Sat, 17 Nov 2012 07:33:30 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,572708,572708#msg-572708</guid>
            <title>Bulk memcache reads causing WRITE ERRORs? (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,572708,572708#msg-572708</link>
            <description><![CDATA[ Hello folks,<br />
<br />
I'm in PHP doing a memcached-&gt;getMulti() of about 5000 keys. The read succeeds, but subsequent writes with memcached-&gt;set() of 1 key fails with:<br />
<br />
error_code 47 (SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY)<br />
<br />
When I remove the getMulti() calls altogether then I get no write errors. I've tried chunking the reads (read 100x @ 50 keys each) but to no avail. However if I introduce a sleep factor between chunk reads then the write errors do go away, but running this way is too slow for our required service level.<br />
<br />
It almost appears like ndbcluster is being inundated by the bulk reads and actually isn't &quot;done&quot; when getMulti() returns? When I turn on debugging in memcache I see screens and screens of trace data spewing way long after getMulti() has returned. But this may just be due to I/O delay?<br />
<br />
Is there a practical limit on max no. of keys to read with getMulti()? Is it non-blocking by default? How can I get more specific cause info for error 47?<br />
<br />
I can certainly come up with more techniques to mitigate large bulk reads, but I'm afraid I may be treating the sympton and not the root problem. By the way I never had this write issue before - code was running reliably for days with getMulti() retrieving 6000 keys at a time with no write errors, and the MySQL Cluster setup has not changed!<br />
<br />
Thanks in advance for ANY help!<br />
Peter]]></description>
            <dc:creator>Peter Go</dc:creator>
            <category>memcached</category>
            <pubDate>Thu, 01 Nov 2012 17:02:58 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,570166,570166#msg-570166</guid>
            <title>Problem with memcached on MySQL Cluster (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,570166,570166#msg-570166</link>
            <description><![CDATA[ Hello,<br />
<br />
I try to configure memcached on my mysql cluster but i have an error.<br />
<br />
Result of ndb_mgm -e show :<br />
ndb_mgm -e show<br />
Connected to Management Server at: 3.3.3.3:1186<br />
Cluster Configuration<br />
---------------------<br />
[ndbd(NDB)]     2 node(s)<br />
id=3    @1.1.1.1  (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0)<br />
id=4    @2.2.2.2  (mysql-5.5.22 ndb-7.2.6, Nodegroup: 0, Master)<br />
<br />
[ndb_mgmd(MGM)] 2 node(s)<br />
id=1    @3.3.3.3  (mysql-5.5.22 ndb-7.2.6)<br />
id=2    @4.4.4.4  (mysql-5.5.22 ndb-7.2.6)<br />
<br />
[mysqld(API)]   14 node(s)<br />
id=5    @2.2.2.2  (mysql-5.5.22 ndb-7.2.6)<br />
id=6    @1.1.1.1  (mysql-5.5.22 ndb-7.2.6)<br />
id=7 (not connected, accepting connect from any host)<br />
id=8 (not connected, accepting connect from any host)<br />
id=9 (not connected, accepting connect from any host)<br />
id=10 (not connected, accepting connect from any host)<br />
id=11 (not connected, accepting connect from any host)<br />
id=12 (not connected, accepting connect from any host)<br />
id=13 (not connected, accepting connect from any host)<br />
id=14 (not connected, accepting connect from any host)<br />
id=15 (not connected, accepting connect from any host)<br />
id=16 (not connected, accepting connect from any host)<br />
id=17 (not connected, accepting connect from any host)<br />
id=18 (not connected, accepting connect from any host)<br />
<br />
But when i execute the command from 1.1.1.1 (api node) :<br />
memcached -E /usr/local/mysql/lib/ndb_engine.so -u mysql -e &quot;connectstring=3.3.3.3:1186;role=db-only;debug=true&quot; -vv -c 20<br />
(3.3.3.3 is the manager)<br />
<br />
The result is :<br />
<br />
main --&gt; ndb_initialize()<br />
main --&gt; connect_to_primary_cluster()<br />
04-Oct-2012 10:54:42 CEST NDB Memcache 5.5.22-ndb-7.2.6 started [NDB 7.2.6; MySQL 5.5.22]<br />
Contacting primary management server (3.3.3.3:1186) ...<br />
main --&gt; ClusterConnectionPool::connect()<br />
FAILED.<br />
Could not connect to NDB.  Shutting down.<br />
main --&gt; ndb_destroy()<br />
Failed to initialize instance. Error code: 255<br />
<br />
I try with localhost, without connectstring...<br />
<br />
Can you help me?<br />
<br />
Many thanks!]]></description>
            <dc:creator>Maxime Thébault</dc:creator>
            <category>memcached</category>
            <pubDate>Thu, 04 Oct 2012 10:49:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,563662,563662#msg-563662</guid>
            <title>MySQL Error log configuration (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,563662,563662#msg-563662</link>
            <description><![CDATA[ Hi guys,<br />
<br />
I am running MySQL 5.5.21 (64 bit) in a production server. I can notice that MySQL error logs (/var/lib/mysq/hostname.err) grows in GBs. I have some EVENTs scheduled and MySQL error log file also shows following entry.<br />
<br />
<br />
&quot;120801 16:29:00 [ERROR] Event Scheduler: [zaeeem@%][advoss.EVT_CalculateProfit] No data - zero rows fetched, selected, or processed&quot;<br />
<br />
As you can see this is not the ERROR actually. How to configure MySQL only to write geniune errors into log file. Any help will be appreciated on this.]]></description>
            <dc:creator>Asad Raza</dc:creator>
            <category>memcached</category>
            <pubDate>Thu, 02 Aug 2012 07:03:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,563613,563613#msg-563613</guid>
            <title>Extraneous characters returned when reading date field (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,563613,563613#msg-563613</link>
            <description><![CDATA[ I'm *very* new to mysql cluster ndb-memcache so please bear with me. I have a table (engine=ndbcluster) with a datetime column and I successfully insert data into it via ndb-memcache. I can query the data thru SQL and everything looks good, including the date field data. But if I query using memcached I get extraneous characters in the date returned. Commands below show the problem - notice the &quot;u&quot; character strewn about in the returned date string:<br />
<br />
[08:25 PM] ~ &gt; telnet localhost 11212<br />
Trying 127.0.0.1...<br />
Connected to localhost.<br />
Escape character is '^]'.<br />
get r:70ba3154a0255c34b4ce<br />
VALUE r:70ba3154a0255c34b4ce 0 74<br />
Streaming &amp; Downloadable Video  Unmoderated-UGC 0       2012u-07u-08u 02u:30u:00u<br />
END<br />
<br />
<br />
Thanks in advance for any help!<br />
Peter]]></description>
            <dc:creator>Peter Go</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 01 Aug 2012 22:06:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,561147,561147#msg-561147</guid>
            <title>Demo tabs: how to change the default char separator (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,561147,561147#msg-561147</link>
            <description><![CDATA[ Does anyone knows if it's possible to change the default column separators in memcached?<br />
<br />
Up to the 7.2.6 release, it was only possible using the '\t' char.<br />
<br />
How can I use my own charsep/csv event?<br />
<br />
Thanks in advance,<br />
  Paulo]]></description>
            <dc:creator>paulo lellis</dc:creator>
            <category>memcached</category>
            <pubDate>Sat, 14 Jul 2012 01:22:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,561145,561145#msg-561145</guid>
            <title>Maximum columns exceeded (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,561145,561145#msg-561145</link>
            <description><![CDATA[ Hello to all.<br />
<br />
I am trying to adapt my application to the ndbmemcluster and so far everything went just perfect and beyond dreams.<br />
<br />
However, I was playing around Today and got the following issue starting the memcached daemon for a new server role:<br />
<br />
root@/root/work/bin$ memcached -E /usr/local/mysql/lib/ndb_engine.so -e &quot;connectstring=localhost:1186;role=teste;&quot; -u mysql -d  -vvv -p 11212<br />
<br />
root@/root/work/bin$ 13-Jul-2012 21:46:43 BRT NDB Memcache 5.5.22-ndb-7.2.6 started [NDB 7.2.6; MySQL 5.5.22]<br />
Contacting primary management server (localhost:1186) ... <br />
Connected to &quot;localhost:1186&quot; as node id 7.<br />
Retrieved 3 key prefixes for server role &quot;teste&quot;.<br />
The default behavior is that: <br />
    GET uses NDB with local cache<br />
    SET uses NDB with local cache<br />
    DELETE uses NDB with local cache.<br />
The 2 explicitly defined key prefixes are &quot;GPLAN.AVERAGEN.&quot; (atlan_averagen_table) and &quot;GPLAN.GCANDLE.&quot; (atlan_gbolsa_table)<br />
Server started with 4 threads.<br />
Priming the pump ... <br />
memcached: /pb2/build/sb_0-5685222-1336648962.68/mysql-cluster-gpl-7.2.6/storage/ndb/memcache/src/Record.cc:69: void Record::addColumn(short int, const NdbDictionary::Column*): Assertion `nvalues &lt;= 16' failed.<br />
<br />
The table with the error's ddl:<br />
DROP TABLE atlan_bigd.atlan_averagen_table;<br />
CREATE TABLE atlan_bigd.atlan_averagen_table (<br />
mkey varchar(64) not null default '',<br />
plan_name varchar(8) default null,<br />
element varchar(32) default null,<br />
atribute varchar(32) default null,<br />
period varchar(8) default null,<br />
stock varchar(32) default null,<br />
refdate varchar(14) default null,<br />
quanta varchar(14) default null,<br />
count int default 0,<br />
cls float default null,<br />
var float default 1.0,<br />
sum float default null,<br />
avg float default null,<br />
ema1 float default null,<br />
ema2 float default null,<br />
ema3 float default null,<br />
ema4 float default null,<br />
ema5 float default null,<br />
ema6 float default null,<br />
PRIMARY KEY (`mkey`)) ENGINE=ndbcluster DEFAULT CHARSET=latin1;<br />
<br />
Does anyone knows how to increase the number of columns a given event must have? I mean, I'm pretty sure I could patch the Record.cc file, but does it bring any downsizes/ issues?<br />
<br />
Thanks in advance,<br />
   Paulo Lellis]]></description>
            <dc:creator>paulo lellis</dc:creator>
            <category>memcached</category>
            <pubDate>Sat, 14 Jul 2012 01:20:17 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,560606,560606#msg-560606</guid>
            <title>ConcurrentModificationException using spymemcached with spring integration (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,560606,560606#msg-560606</link>
            <description><![CDATA[ hi, I use mecached and java spymemcached client version2.8.1<br />
when i use the spymemcached integerated with Spring<br />
I get:<br />
java.util.ConcurrentModificationException<br />
in the AbstractLog:<br />
java.util.ConcurrentModificationException<br />
	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)<br />
	at java.util.HashMap$KeyIterator.next(HashMap.java:828)<br />
	at net.spy.memcached.util.StringUtils.join(StringUtils.java:41)<br />
	at net.spy.memcached.protocol.ascii.BaseGetOpImpl.toString(BaseGetOpImpl.java:227)<br />
	at java.lang.String.valueOf(String.java:2826)<br />
	at java.lang.StringBuilder.append(StringBuilder.java:115)<br />
	at net.spy.memcached.protocol.TCPMemcachedNodeImpl.toString(TCPMemcachedNodeImpl.java:469)<br />
	at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2794)<br />
	at java.util.Formatter$FormatSpecifier.print(Formatter.java:2677)<br />
	at java.util.Formatter.format(Formatter.java:2433)<br />
	at java.util.Formatter.format(Formatter.java:2367)<br />
	at java.lang.String.format(String.java:2769)<br />
	at net.spy.memcached.compat.log.AbstractLogger.debug(AbstractLogger.java:98)<br />
<br />
<br />
I checked this using spymemcached without spring integration and it worked fine.<br />
I used the same code the spring wrapper for MemcachedClient uses and it worked.<br />
Any ideas whyt this happends, are there any known issues with this integeration?<br />
thnks]]></description>
            <dc:creator>michal singer</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 10 Jul 2012 07:07:39 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,558815,558815#msg-558815</guid>
            <title>Different clients don't see the same data (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,558815,558815#msg-558815</link>
            <description><![CDATA[ Hi.<br />
I have 2 clients and 2 memcached instances (though the same problem exists with one).<br />
When i add data from 1 client, the other client does not see the data.<br />
When i attempt adding from the other client, it fails since the data exists but get fails.<br />
<br />
Any idea why this happens?<br />
thanks]]></description>
            <dc:creator>michal singer</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 26 Jun 2012 07:21:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,551888,551888#msg-551888</guid>
            <title>How to append block data into demo_large_table (1 reply)</title>
            <link>http://forums.mysql.com/read.php?150,551888,551888#msg-551888</link>
            <description><![CDATA[ Hello all,<br />
<br />
 I'm using the large role, its 'demo_table_large' and 'external_values' for storaging, as shipped with the 7.2.6 release mysql cluster with memcached. I have my own configured prefixes/ containers as well.<br />
<br />
  Does anyone knows how to append data to a given key? I though something like a new 'append'/'prepend' policy, would be great. I mean, really at the column 'set_policy' under the 'cache_policies' table. Everytime I set a given key, the data is automatically prepend or appended. It's an user duty to clean the mess or use the libevent expiration flag.<br />
<br />
  So far, I have to 'get' the block via libmemcache, append the data in-app-memory and only then (re) set the block, with the new data prepended.<br />
<br />
   The append method from libmemcache method or even the protocol seems to not be working.<br />
<br />
  Does anyone knows how this append/prepend data could be done?<br />
<br />
  Best regards,<br />
     Paulo Lellis]]></description>
            <dc:creator>paulo lellis</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 06 Jun 2012 21:21:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,530565,530565#msg-530565</guid>
            <title>Can't get data using memcached with multi-part key? (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,530565,530565#msg-530565</link>
            <description><![CDATA[ Hi:<br />
I'm using memcached to read data from a table with two primary key.<br />
<br />
The table is created by:<br />
create table clusterdb.test_table (<br />
  key1 int not null,<br />
  key2 int not null,<br />
  val varchar(64) not null,<br />
  cas_v bigint unsigned,<br />
  primary key(key1, key2)<br />
) engine=ndbcluster;<br />
<br />
mysql&gt; select * from clusterdb.test_table;<br />
+------+------+------+-------+<br />
| key1 | key2 | val  | cas_v |<br />
+------+------+------+-------+<br />
|    1 |    2 | orz  |  NULL |<br />
+------+------+------+-------+<br />
<br />
and the ndbmemcache.containers/key_prefixes are configured like this:<br />
<br />
mysql&gt; select * from containers where name='test_mul_key';<br />
+--------------+-----------+------------+-------------+---------------+-------+------------------+------------+--------------------+--------------------+<br />
| name         | db_schema | db_table   | key_columns | value_columns | flags | increment_column | cas_column | expire_time_column | large_values_table |<br />
+--------------+-----------+------------+-------------+---------------+-------+------------------+------------+--------------------+--------------------+<br />
| test_mul_key | clusterdb | test_table | key1,key2   | val           | 0     | NULL             | cas_v      | NULL               | NULL               |<br />
+--------------+-----------+------------+-------------+---------------+-------+------------------+------------+--------------------+--------------------+<br />
<br />
mysql&gt; select * from key_prefixes where container='test_mul_key';<br />
+----------------+------------+------------+----------+--------------+<br />
| server_role_id | key_prefix | cluster_id | policy   | container    |<br />
+----------------+------------+------------+----------+--------------+<br />
|              3 | mk:        |          0 | caching  | test_mul_key |<br />
+----------------+------------+------------+----------+--------------+<br />
<br />
Then I run GET from telnet, but got no value.<br />
get mk:1	2      &lt;----1 and 2 seperated by a tab<br />
END<br />
<br />
The debug output is:<br />
&lt;63 get mk:1	2<br />
worker.0 ndb_get(): cache miss<br />
worker.0 ndb_get():creating workitem 0.2<br />
worker.0 schedule():SchedulerWorker / config gen. 1<br />
worker.0 worker_set_ext_flag(): 0.2: F<br />
worker.0 --&gt; do_read()<br />
worker.0 --&gt; setKeyForReading()<br />
worker.0 workitem_allocate_rowbuffer_1(): 148 [cls 8]<br />
worker.0 schedule():0.2 placed on send queue.<br />
cl0.conn0.send run_ndb_send_thread():Sent 0.2<br />
cl0.conn0.poll run_ndb_poll_thread(): ** adding 0.2 to wait group ** <br />
cl0.conn0.poll run_ndb_poll_thread():Polling 0.2<br />
cl0.conn0.poll callback_main():NoDataFound [626].<br />
cl0.conn0.poll worker_close():0.2<br />
Got notify from 63, status 0<br />
&lt;63 get mk:1	2<br />
worker.0 ndb_get():Got read callback on workitem 0.2: Item Not Found<br />
worker.0 release_and_free():Releasing workitem 0.2.<br />
worker.0 --&gt; release()<br />
worker.0 release():Returned NdbInstance to freelist.<br />
&gt;63 END<br />
<br />
Also tried:<br />
get mk:1,2<br />
get mk:1 2<br />
get mk:1:2<br />
but none of these works.<br />
<br />
If I run SET, it will say failure:<br />
set mk:1	2 0 0 1<br />
a<br />
SERVER_ERROR failure<br />
<br />
Why I can't read the data? Have I got any step wrong?<br />
<br />
Thanks.]]></description>
            <dc:creator>Peng Shu</dc:creator>
            <category>memcached</category>
            <pubDate>Fri, 04 May 2012 07:48:13 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,528557,528557#msg-528557</guid>
            <title>The expire time of the cached data (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,528557,528557#msg-528557</link>
            <description><![CDATA[ Hi<br />
<br />
I'm using memcached, with caching policy on GET.<br />
I see the ndb engine will load the data into cache if the data is only in ndb, but the lifetime is only 5s, which is hard-coded in ExpireTime.cc<br />
Will this value be configurable in the future releases? e.g. put it somewhere in ndb.<br />
<br />
Thanks.<br />
Peng Shu]]></description>
            <dc:creator>Peng Shu</dc:creator>
            <category>memcached</category>
            <pubDate>Fri, 27 Apr 2012 10:10:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,522135,522135#msg-522135</guid>
            <title>memcached-tool with dump not working properly with memcached 1.6 (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,522135,522135#msg-522135</link>
            <description><![CDATA[ hi <br />
<br />
i am working on mysql cluster 7.2 with memcached 1.6 <br />
<br />
in the previous version of memcached memcached tool is working fine with dump <br />
but in this version i am faceing problem with dump. <br />
<br />
please correct me if i am wrong <br />
<br />
i started with memcached service with command <br />
<br />
[root@cent2 ~]# memcached -E /usr/local/mysql/lib/ndb_engine.so -e &quot;connectstring=10.12.200.117:1186;role=mc-only;debug=true&quot; -vv -c 20 -u root<br />
 <br />
and using telnet i inserted a key with values <br />
<br />
telnet localhost 11211 <br />
<br />
Escape character is '^]'. <br />
set new 0 0 1 <br />
a <br />
STORED <br />
get new <br />
VALUE new 0 1 <br />
a <br />
END <br />
<br />
but while using memcached tool its just telling how many records there in cache...it is not dumping the key with values...<br />
 <br />
like <br />
[root@cent2 ~]# /usr/local/memcached-1.6.0_beta1/scripts/memcached-tool localhost:11211 dump<br />
 Dumping memcache contents <br />
Number of buckets: 1 <br />
Number of items : 1 <br />
Dumping bucket 1 - 1 total items <br />
<br />
is this problem with version or i am wrong anywhere <br />
<br />
thanks in advance <br />
<br />
Deepak M]]></description>
            <dc:creator>deepak m</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 28 Mar 2012 05:31:53 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,522132,522132#msg-522132</guid>
            <title>memcached service stoped unexpectedly (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,522132,522132#msg-522132</link>
            <description><![CDATA[ hi<br />
<br />
i am working with mysql cluster 7.2.4 with memcached 1.6<br />
<br />
i started memcached service with ndb-caching option as shown below<br />
memcached -E /usr/local/mysql/lib/ndb_engine.so -e &quot;connectstring=10.12.200.117:1186;role=ndb-caching;debug=true&quot; -vv -c 20 -u root<br />
<br />
<br />
mysql&gt; SELECT * FROM memcache_server_roles where role_name='ndb-caching';<br />
+-------------+---------+---------+---------------------+<br />
| role_name   | role_id | max_tps | update_timestamp    |<br />
+-------------+---------+---------+---------------------+<br />
| ndb-caching |       3 |  100000 | 2012-03-21 17:53:45 |<br />
+-------------+---------+---------+---------------------+<br />
<br />
with role id 3 <br />
<br />
mysql&gt; SELECT * FROM key_prefixes where server_role_id=3;<br />
+----------------+------------+------------+---------+-------------+<br />
| server_role_id | key_prefix | cluster_id | policy  | container   |<br />
+----------------+------------+------------+---------+-------------+<br />
|              3 | b:         |          0 | caching | demo_ext    |<br />
|              3 | t:         |          0 | caching | demo_tabs   |<br />
|              3 |            |          0 | caching | demo_table  |<br />
|              3 | d:         |          0 | caching | deepak_new  |<br />
|              3 | dee:       |          0 | caching | deepak_new1 |<br />
+----------------+------------+------------+---------+-------------+<br />
<br />
i just looked into demo_tabs container<br />
<br />
mysql&gt; SELECT * FROM containers where name='demo_tabs';<br />
+-----------+-------------+-----------------+-------------+----------------+-------+------------------+------------+--------------------+--------------------+<br />
| name      | db_schema   | db_table        | key_columns | value_columns  | flags | increment_column | cas_column | expire_time_column | large_values_table |<br />
+-----------+-------------+-----------------+-------------+----------------+-------+------------------+------------+--------------------+--------------------+<br />
| demo_tabs | ndbmemcache | demo_table_tabs | mkey        | val1,val2,val3 | flags | NULL             | NULL       | expire_time        | NULL               |<br />
+-----------+-------------+-----------------+-------------+----------------+-------+------------------+------------+--------------------+--------------------+<br />
<br />
now i saw the contents in the ndbmemcache.demo_table_tabs table<br />
<br />
select * from ndbmemcache.demo_table_tabs;<br />
<br />
mysql&gt; select * from ndbmemcache.demo_table_tabs;<br />
+------+--------------+------+------+-------+-------------+<br />
| mkey | val1         | val2 | val3 | flags | expire_time |<br />
+------+--------------+------+------+-------+-------------+<br />
|    2 | abcdefghijlk | NULL | NULL |  NULL | NULL        |<br />
+------+--------------+------+------+-------+-------------+<br />
<br />
i expect for the key t:2 values abcdefghijlk <br />
but this value is not there in cache its there only in database<br />
<br />
but still i run get t:2 in telnet the connection closes unexpectedly<br />
<br />
like<br />
<br />
[root@cent2 ~]# telnet localhost 11211<br />
Trying 127.0.0.1...<br />
Connected to localhost.localdomain (127.0.0.1).<br />
Escape character is '^]'.<br />
get t:2<br />
Connection closed by foreign host.<br />
[root@cent2 ~]#<br />
<br />
in memcached service stoped with error message<br />
<br />
<br />
[root@cent2 ~]#memcached -E /usr/local/mysql/lib/ndb_engine.so -e &quot;connectstring=10.12.200.117:1186;role=ndb-caching;debug=true&quot; -vv -c 20 -u root<br />
..........................<br />
..........................<br />
worker.1 schedule():1.0 placed on send queue.<br />
cl0.conn1.send run_ndb_send_thread():Sent 1.0<br />
cl0.conn1.poll run_ndb_poll_thread(): ** adding 1.0 to wait group **<br />
cl0.conn1.poll run_ndb_poll_thread():Polling 1.0<br />
cl0.conn1.poll callback_main():Success.<br />
cl0.conn1.poll worker_finalize_read():1.0<br />
cl0.conn1.poll --&gt; build_hash_item()<br />
cl0.conn1.poll build_hash_item():nbytes: 21   ncopied: 16<br />
Segmentation fault<br />
[root@cent2 ~]#<br />
<br />
<br />
can any one tell me why this service closeing unexpectedly<br />
<br />
<br />
thanks in adv<br />
<br />
Deepak M]]></description>
            <dc:creator>deepak m</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 28 Mar 2012 04:56:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,521964,521964#msg-521964</guid>
            <title>how to load data from table to memcached cache (2 replies)</title>
            <link>http://forums.mysql.com/read.php?150,521964,521964#msg-521964</link>
            <description><![CDATA[ hi<br />
<br />
i am using memcached 1.6 ,i have started service using -E option to load ndb engine<br />
<br />
when working with caching policy from ndbmemcache database will write to the database as well as cache<br />
i have exicuted flush_all command from telnet , now there is no data in memcache, <br />
How do i reload the data from table back to cache<br />
<br />
thanks in advance<br />
<br />
Regards<br />
Deepak M]]></description>
            <dc:creator>deepak m</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 28 Mar 2012 06:30:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,519241,519241#msg-519241</guid>
            <title>need memcached example to show its fast compared to other (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,519241,519241#msg-519241</link>
            <description><![CDATA[ hi<br />
     i am working with memcached with mysql cluster 7.2.<br />
     i installed memcached and memcached functions, but while working with memcached its giving result same time as the usual case. can any one having good example for memcahed to prove its fast<br />
<br />
thanks in advance]]></description>
            <dc:creator>deepak m</dc:creator>
            <category>memcached</category>
            <pubDate>Fri, 09 Mar 2012 08:08:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,517777,517777#msg-517777</guid>
            <title>memcached parameter to access engine (1 reply)</title>
            <link>http://forums.mysql.com/read.php?150,517777,517777#msg-517777</link>
            <description><![CDATA[ hi<br />
<br />
i am working on memcached implementation with mysql cluster 7.2<br />
i have installed memcached and configured with following parameters<br />
<br />
PORT=&quot;11211&quot;<br />
USER=&quot;mysql&quot;<br />
MAXCONN=&quot;1024&quot;<br />
CACHESIZE=&quot;1024&quot;<br />
OPTIONS=&quot;&quot;<br />
<br />
but memcached is worked irrespective to the mysql engine<br />
<br />
can any one help me out giving parameter so that it will access the ndb engine and store the values in both memcache and also in database.]]></description>
            <dc:creator>deepak m</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 20 Mar 2012 09:07:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,516995,516995#msg-516995</guid>
            <title>memcached error Could not connect to NDB (8 replies)</title>
            <link>http://forums.mysql.com/read.php?150,516995,516995#msg-516995</link>
            <description><![CDATA[ hi<br />
     i am installed memcached library by following the steps in the internet.<br />
     now there is a binary file created in bin folder of mysql<br />
<br />
now i exicuting the command memcached i am getting error like this<br />
<br />
[root@centos1 ~]# /usr/local/mysql/bin/memcached E /usr/local/mysql/lib/ndb_engine.so -e &quot;connectstring=10.10.111.111:1186;role=db_only&quot; -vv -c 20 -u root<br />
24-Feb-2012 15:21:06 IST NDB Memcache 5.5.19-ndb-7.2.4 started [NDB 7.2.4; MySQL 5.5.19]<br />
Contacting primary management server (10.10.111.111:1186) ...<br />
FAILED.<br />
Could not connect to NDB.  Shutting down.<br />
Segmentation fault<br />
<br />
<br />
please help me to resolve this problem]]></description>
            <dc:creator>deepak m</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 27 Mar 2012 09:25:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,513178,513178#msg-513178</guid>
            <title>Error installing: memcached_functions_mysql-1.1 (3 replies)</title>
            <link>http://forums.mysql.com/read.php?150,513178,513178#msg-513178</link>
            <description><![CDATA[ I installed: libmemcached-1.0.3<br />
<br />
And then tryied to installed: memcached_functions_mysql-1.1<br />
<br />
While &quot;configure&quot; run fine, the make failed with:<br />
<br />
make[2]: Entering directory `/root/Install/mysql_memcach/memcached_functions_mysql-1.1/src'<br />
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I/opt/mysql/mysql/include  -g -DUNIV_LINUX -DUNIV_LINUX    -g -O2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c<br />
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include -I/opt/mysql/mysql/include -g -DUNIV_LINUX -DUNIV_LINUX -g -O2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fPIC -DPIC -o .libs/util.o<br />
util.c: In function 'string_create':<br />
util.c:172: error: invalid application of 'sizeof' to incomplete type 'my_string_st'<br />
util.c:173: error: dereferencing pointer to incomplete type<br />
util.c:174: error: dereferencing pointer to incomplete type<br />
util.c:175: error: dereferencing pointer to incomplete type<br />
util.c:176: error: dereferencing pointer to incomplete type<br />
util.c:177: error: dereferencing pointer to incomplete type<br />
util.c:178: error: dereferencing pointer to incomplete type<br />
util.c:178: error: dereferencing pointer to incomplete type<br />
util.c: In function 'string_append':<br />
util.c:185: error: dereferencing pointer to incomplete type<br />
util.c:185: error: dereferencing pointer to incomplete type<br />
util.c:188: error: dereferencing pointer to incomplete type<br />
util.c:190: error: dereferencing pointer to incomplete type<br />
util.c:197: error: dereferencing pointer to incomplete type<br />
util.c:202: error: dereferencing pointer to incomplete type<br />
util.c:202: error: dereferencing pointer to incomplete type<br />
util.c:202: error: dereferencing pointer to incomplete type<br />
util.c:204: error: dereferencing pointer to incomplete type<br />
util.c:207: error: dereferencing pointer to incomplete type<br />
util.c:208: error: dereferencing pointer to incomplete type<br />
util.c:209: error: dereferencing pointer to incomplete type<br />
util.c: In function 'free_string':<br />
util.c:216: error: dereferencing pointer to incomplete type<br />
util.c: In function 'string_reset':<br />
util.c:222: error: dereferencing pointer to incomplete type<br />
util.c:222: error: dereferencing pointer to incomplete type<br />
util.c:223: error: dereferencing pointer to incomplete type<br />
util.c:224: error: dereferencing pointer to incomplete type<br />
util.c:224: error: dereferencing pointer to incomplete type<br />
make[2]: *** [util.lo] Error 1<br />
make[2]: Leaving directory `/root/Install/mysql_memcach/memcached_functions_mysql-1.1/src'<br />
make[1]: *** [all] Error 2<br />
make[1]: Leaving directory `/root/Install/mysql_memcach/memcached_functions_mysql-1.1/src'<br />
make: *** [all-recursive] Error 1]]></description>
            <dc:creator>Roni Alboim</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 20 Mar 2012 09:20:02 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,506527,506527#msg-506527</guid>
            <title>Memcached Error in &quot;Make&quot; (2 replies)</title>
            <link>http://forums.mysql.com/read.php?150,506527,506527#msg-506527</link>
            <description><![CDATA[ Hello,<br />
<br />
When i try &quot;make&quot; i get this error:<br />
servers.c:263:28: error: 'memcached_st' has no member named 'hosts'<br />
<br />
Can you help me?<br />
<br />
Thanks.]]></description>
            <dc:creator>Stelios Doulakis</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 20 Mar 2012 09:15:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,504942,504942#msg-504942</guid>
            <title>spymemcached (java) and libmemcached (c/c++) clients compatibility (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,504942,504942#msg-504942</link>
            <description><![CDATA[ I have an environment in which a libmemcached (c/c++ client) has to read cached items from spymemcached client. <br />
<br />
It seems not to work. One client can not find the items written by the other clients. I tried different settings for the hashing algorithms - with no success. <br />
<br />
Anyone has experiences with such a scenario? What kind of configuration can be used to make libmemcached to worked with spymemcached?]]></description>
            <dc:creator>tianning zhang</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 07 Dec 2011 15:50:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,396811,396811#msg-396811</guid>
            <title>Error using memcached (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,396811,396811#msg-396811</link>
            <description><![CDATA[ Hello,<br />
I'm retreivig errors when trying to install memcached_functions:<br />
<br />
Output from SQL commands in file /tmp/memcached_functions_mysql-1.1/sql/install_functions.sql ..<br />
<br />
ERROR 1126 (HY000) at line 38: Can't open shared library 'libmemcached_functions_mysql.so' (errno: 0 /usr/local/mysql/lib/plugin/libmemcached_functions_mysql.so: undefined symbol: memcached_string_append)<br />
<br />
MySQL Version: 5.5.7<br />
libmemcached: 0.44<br />
memcached functions: 1.1<br />
<br />
Regards<br />
Sven]]></description>
            <dc:creator>Sven Rissmann</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 30 Nov 2010 11:34:48 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,389822,389822#msg-389822</guid>
            <title>Monitoring Memcached w/ Evident ClearStone (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,389822,389822#msg-389822</link>
            <description><![CDATA[ To Fellow Memcached Users,<br />
<br />
Evident Software would like to invite you to the following webinar.<br />
Date/Time: October 21, 2010 (Thursday) – 2pm EST<br />
<br />
Duration: 45 minutes<br />
<br />
Webinar Topic<br />
<br />
Attendees will learn how Evident ClearStone can be used to monitor and manage your Cassandra, Memcached, or Oracle Coherence application environments.<br />
<br />
Who should attend?<br />
Anyone who is responsible for developing, testing, or supporting applications that use NoSQL products like Cassandra or distributed caching technologies like Oracle Coherence, Memcached.<br />
<br />
Sign-up<br />
Go to <a href="http://www.evidentsoftware.com/category/news-events/events"  rel="nofollow">http://www.evidentsoftware.com/category/news-events/events</a> and sign up today.<br />
Inform your colleagues about this event.<br />
<br />
Website: www.evidentsoftware.com<br />
Email: <a href="mailto:&#105;&#110;&#102;&#111;&#64;&#101;&#118;&#105;&#100;&#101;&#110;&#116;&#115;&#111;&#102;&#116;&#119;&#97;&#114;&#101;&#46;&#99;&#111;&#109;">&#105;&#110;&#102;&#111;&#64;&#101;&#118;&#105;&#100;&#101;&#110;&#116;&#115;&#111;&#102;&#116;&#119;&#97;&#114;&#101;&#46;&#99;&#111;&#109;</a><br />
Twitter: @evidentsoftware]]></description>
            <dc:creator>Tim Sneed</dc:creator>
            <category>memcached</category>
            <pubDate>Wed, 13 Oct 2010 14:12:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,368860,368860#msg-368860</guid>
            <title>Scaling Web Services with MySQL Cluster: An Alternative Approach to MySQL &amp; memcached (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,368860,368860#msg-368860</link>
            <description><![CDATA[ Scaling Web Services with MySQL Cluster: An Alternative Approach to MySQL &amp; memcached <br />
<a href="http://www.clusterdb.com/mysql-cluster/scaling-web-services-with-mysql-cluster-an-alternative-approach-to-mysql-memcached/"  rel="nofollow">http://www.clusterdb.com/mysql-cluster/scaling-web-services-with-mysql-cluster-an-alternative-approach-to-mysql-memcached/</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>memcached</category>
            <pubDate>Mon, 24 May 2010 15:12:52 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,356295,356295#msg-356295</guid>
            <title>MySQL, Memcached, NoSQL (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,356295,356295#msg-356295</link>
            <description><![CDATA[ MySQL, Memcached, NoSQL<br />
<a href="http://mysqlha.blogspot.com/2010/03/plays-well-with-others.html"  rel="nofollow">http://mysqlha.blogspot.com/2010/03/plays-well-with-others.html</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>memcached</category>
            <pubDate>Mon, 01 Mar 2010 18:19:10 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,291308,291308#msg-291308</guid>
            <title>Memcached UDFs for MySQL: Verson 1.1 available! (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,291308,291308#msg-291308</link>
            <description><![CDATA[ Memcached UDFs for MySQL: <br />
<a href="https://launchpad.net/memcached-udfs"  rel="nofollow">https://launchpad.net/memcached-udfs</a> <br />
<br />
Memcached UDFs for MySQL: Verson 1.1 available! <br />
<a href="http://capttofu.livejournal.com/25044.html"  rel="nofollow">http://capttofu.livejournal.com/25044.html</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>memcached</category>
            <pubDate>Sun, 15 Nov 2009 22:48:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,287958,287958#msg-287958</guid>
            <title>caching query results (1 reply)</title>
            <link>http://forums.mysql.com/read.php?150,287958,287958#msg-287958</link>
            <description><![CDATA[ I would like to start using the memcached MySQL UDFs, but I am having trouble getting past the very simple tutorial cases. <br />
<br />
How does one cache the results of a complicated query where the key of the results are not known in advance? Would you just use the text of the query as the key?<br />
<br />
If so, how does one invalidate the cached results when there is no obvious binding between the query text and the tables involved in the query?  <br />
<br />
Also, can anyone comment on whether or not or how the memcached can be used for quereis that may return a very large result set.]]></description>
            <dc:creator>Robin Hughes</dc:creator>
            <category>memcached</category>
            <pubDate>Tue, 22 Dec 2009 03:13:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?150,286399,286399#msg-286399</guid>
            <title>libmemcached, protocol handlers, rolling your own server! (no replies)</title>
            <link>http://forums.mysql.com/read.php?150,286399,286399#msg-286399</link>
            <description><![CDATA[ libmemcached, protocol handlers, rolling your own server!<br />
<a href="http://krow.livejournal.com/672179.html"  rel="nofollow">http://krow.livejournal.com/672179.html</a>]]></description>
            <dc:creator>Edwin DeSouza</dc:creator>
            <category>memcached</category>
            <pubDate>Thu, 15 Oct 2009 18:58:46 +0000</pubDate>
        </item>
    </channel>
</rss>
