ledisdb/tools/redis_import
holys 3b5c7466a9 update readme 2014-08-08 18:37:23 +08:00
..
README.md update readme 2014-08-08 18:37:23 +08:00
redis_import.py convert set to zset; ttl 2014-08-08 18:33:45 +08:00
test.py convert set to zset; ttl 2014-08-08 18:33:45 +08:00

README.md

Notice

  1. We don't support set data type.
  2. Our zset use integer instead of double, so the zset float score in Redis will be converted to integer.
  3. Only Support Redis version greater than 2.8.0, because we use scan command to scan data. Also, you need redis-py greater than 2.9.0

Usage

   $ python redis_import.py redis_host redis_port redis_db ledis_host ledis_port [True]