Skip to end of metadata
Go to start of metadata

In order to use mc-loader you must first make sure that you have the software packages that mc-laoder runs on. These packages are below.

  • libevent
  • memcached
  • libmemcached
  • cyrus-sasl

Installing mc-loader

If you don't already have these software packages you can execute the following commands in order to get them.

To install libevent do the following:
tar zxpfv libevent*
cd libevent*
make install

To install memcached do the following:
(Note: check for the latest version of memcached)
tar zxpfv memcached*
cd memcached*
make install

To install libmemcached do the following:
tar xzf libmemcached-0.43.tar.gz
cd libmemcached-0.43
make install

To install cyrus-sasl:
yum install cyrus-sasl-devel

Running mc-loader

mc-loader <server>:<port> <keyset> [check] [binary] [valuesize size] [sasl username:password]

To load a key set into memcached or membase with 1024 byte keys:
mc-loader <server>:<port> <keyset file path> binary 1024

To check a key set that has already been loaded:
mc-loader <server>:<port> <keyset file path> check binary 1024

Generating key sets

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.