memcache dump and load
Paul Lindner
lindner at inuus.com
Thu Apr 12 22:47:02 UTC 2007
On Thu, Apr 12, 2007 at 10:40:43PM +0000, Brad Fitzpatrick wrote:
> This won't work.
>
> cachedump is just for visual inspection... it has a very small buffer. It
> won't include everything.
I know that. The max buffer value is a fixed string. Next steps
would be to iterate over the total number of items in chunks.
> I have some local patches to add a command to shut down the server
> while dumping the cache (in a child process) to a binary file on disk,
> which then can be parsed (in Perl), and async "add"'d later to the newly
> running memcached. I should post those.
That would be very useful. I was going to go down that route myself
until I discovered the API calls.
--
Paul Lindner ||||| | | | | | | | | |
lindner at inuus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20070412/b0147349/attachment.pgp
More information about the memcached
mailing list