MySQL Forums
Forum List  »  memcached

How to append block data into demo_large_table
Posted by: paulo lellis
Date: June 06, 2012 03:19PM

Hello all,

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.

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.

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.

The append method from libmemcache method or even the protocol seems to not be working.

Does anyone knows how this append/prepend data could be done?

Best regards,
Paulo Lellis

Edited 1 time(s). Last edit at 07/13/2012 07:59PM by paulo lellis.

Options: ReplyQuote

Written By
How to append block data into demo_large_table
June 06, 2012 03:19PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.