Created
August 6, 2012 23:03
-
-
Save mmcdaris/3279299 to your computer and use it in GitHub Desktop.
appendonly concat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*2 | |
$6 | |
SELECT | |
$1 | |
0 | |
*3 | |
$3 | |
SET | |
$5 | |
three | |
$1 | |
3 | |
*3 | |
$3 | |
SET | |
$3 | |
two | |
$1 | |
2 | |
*3 | |
$3 | |
SET | |
$3 | |
one | |
$1 | |
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*2 | |
$6 | |
SELECT | |
$1 | |
0 | |
*3 | |
$3 | |
SET | |
$3 | |
six | |
$1 | |
6 | |
*3 | |
$3 | |
SET | |
$4 | |
four | |
$1 | |
4 | |
*3 | |
$3 | |
SET | |
$4 | |
five | |
$1 | |
5 | |
*3 | |
$3 | |
SET | |
$3 | |
two | |
$1 | |
2 | |
*3 | |
$3 | |
SET | |
$3 | |
one | |
$1 | |
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*2 | |
$6 | |
SELECT | |
$1 | |
0 | |
*3 | |
$3 | |
SET | |
$5 | |
three | |
$1 | |
7 | |
*3 | |
$3 | |
SET | |
$3 | |
two | |
$1 | |
2 | |
*3 | |
$3 | |
SET | |
$3 | |
one | |
$1 | |
1 | |
*2 | |
$6 | |
SELECT | |
$1 | |
0 | |
*3 | |
$3 | |
SET | |
$3 | |
six | |
$1 | |
6 | |
*3 | |
$3 | |
SET | |
$4 | |
four | |
$1 | |
4 | |
*3 | |
$3 | |
SET | |
$4 | |
five | |
$1 | |
5 | |
*3 | |
$3 | |
SET | |
$3 | |
two | |
$1 | |
2 | |
*3 | |
$3 | |
SET | |
$3 | |
one | |
$1 | |
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
when I uploaded the appendolny to my redis to go instance and asked for the following: | |
redis lab.redistogo.com:9012> keys * | |
1) "six" | |
2) "four" | |
3) "three" | |
4) "five" | |
5) "two" | |
6) "one" | |
redis lab.redistogo.com:9012> GET three | |
"7" | |
three is set to 7 higher up in the appendonly.aof file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment