File: README.md

package info (click to toggle)
golang-github-lunny-nodb 0.0~git20160621.0.fc1ef06-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 424 kB
  • sloc: python: 259; sh: 50; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Notice

1. The tool doesn't support `set` data type.
2. The tool doesn't support `bitmap` 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


We will use the same db index as redis. That's to say, data in redis[0] will be transfer to ledisdb[0]. But if redis db `index >= 16`, we will refuse to transfer, because ledisdb only support db `index < 16`.