02:39:20 GMT ? 06:20:11 GMT how to save selected database to dump file? 07:26:21 GMT sagax: you can only save all databases to dump.rdb afaik 07:31:53 GMT sagax: this node tool allows to export single db..so it must be possible somehow i guess: https://github.com/jeremyfa/node-redis-dump 07:37:49 GMT well, that too connects to redis and pulls the data; it doesn't use rdbs 07:38:07 GMT of course there's tools that parse rdbs and possibly can extract a single database 07:38:53 GMT cheapest way is probably to fire up a new redis instance, slaveof it, de-slaveof it, wipe other databases and then write a dump 07:39:07 GMT assuming all databases are reasonably sized 07:39:15 GMT ^ sagax 07:39:49 GMT oh, thanks! 07:40:05 GMT it's help me 08:00:48 GMT Good morning, just a quick question regarding the maxclients setting. Is there something like an overhead per client connection (e.g. 1 connection == ~0,5MB RAM)? Just trying to figure out a good default setting for our setups which won't harm the server/redis 08:21:12 GMT I want to expire some keys and get back the data for those keys at expiry. I got a similar question on SO: http://stackoverflow.com/questions/11810020/how-to-handle-session-expire-basing-redis/11815594#11815594 08:21:21 GMT For the solution 2 in the accepted answer 08:21:40 GMT I want to know why we are using MULTI/EXEC? 08:32:40 GMT seems unnecessary 11:11:14 GMT > set val 1 11:11:20 GMT > bitcount val 11:11:26 GMT (integer) 3 11:11:34 GMT why 3, not 1? 11:16:58 GMT Because the string "1" is the decimal 49 is the binary 110001 11:17:03 GMT jk34: 11:17:30 GMT Redis (more or less) only knows binary blobs 11:18:11 GMT badboy_: thanks 11:37:26 GMT so, every time I call "> incr val 1", the `val` is converted to long long from string (string2ll) and then back to string 11:37:39 GMT seems inefficient 11:44:10 GMT actually, internally it is stored as an integer, so it only does a simple +1 addition on that value and than converts that back to a string 11:44:16 GMT so only half as inefficent 11:44:32 GMT I never seen _that_ being the bottleneck though 11:58:23 GMT badboy_: thanks, got it 16:11:05 GMT afternoon all