Reputation: 5843
Basically what I want to do is see the raw data of memcache so that I can see how my data are being stored.
Upvotes: 1
Views: 522
Reputation: 7054
What's wrong with the memcache viewer in the admin console?
Upvotes: 0
Reputation: 1003
No, for largely the same reasons that memcached does not support enumerating or dumping the cache. In order to support such a feature safely, all other cache operations would have to block, which would be unacceptable in a shared environment.
For your purpose of occasionally examining some portion of data in the cache, there is a reasonable alternative. Instrument your (and/or your colleagues) use of the memcache client in order to log which keys are frequently used, then periodically sample those keys' values.
Upvotes: 3